- Posts: 4
- Thank you received: 0
How to change virtuemart results layout?
10 years 2 months ago #7986
by tarab bas
How to change virtuemart results layout? was created by tarab bas
Hello,
I wish know how to change virtuemart search layout in results page.
I would like to assign the module search to the class custom_search such as the right-corner search module and to remove VirtueMart Category View (test) as you can see in the attached image
Thanks
I wish know how to change virtuemart search layout in results page.
I would like to assign the module search to the class custom_search such as the right-corner search module and to remove VirtueMart Category View (test) as you can see in the attached image
Attachment screen_search.jpg not found
Thanks
Attachments:
Please Log in or Create an account to join the conversation.
10 years 2 months ago - 10 years 2 months ago #7987
by tarab bas
Replied by tarab bas on topic How to change virtuemart results layout?
I solved the first issue (about "Virtuemart Category View") reading a similar issue on this board.
So, I still have the problem of search module show in results page:
In /template/html/com_virtuemart/category/default.php I have
but in the html code of my VM search page I have
I tried to manually change the search div class in cuustom_search instead of virtuemat_search but the result is the same.
Must I set a particular css class in others site parts?
Thanks
So, I still have the problem of search module show in results page:
In /template/html/com_virtuemart/category/default.php I have
Code:
<form action="<?php echo JRoute::_ ('index.php?option=com_virtuemart&view=category&limitstart=0&virtuemart_category_id=' . $this->category->virtuemart_category_id); ?>" method="get">
<!--BEGIN Search Box -->
<div class="virtuemart_search">
<?php echo $this->searchcustom ?>
<br/>
<?php echo $this->searchcustomvalues ?>
<input name="keyword" class="inputbox" type="text" size="20" value="<?php echo $this->keyword ?>"/>
<input type="submit" value="<?php echo JText::_ ('COM_VIRTUEMART_SEARCH') ?>" class="button" onclick="this.form.keyword.focus();"/>
</div>
<input type="hidden" name="search" value="true"/>
<input type="hidden" name="view" value="category"/>
</form>
<!-- End Search Box -->
but in the html code of my VM search page I have
Code:
<form action="/index.php?option=com_virtuemart&view=category&limitstart=0&virtuemart_category_id=0" method="get">
<!--BEGIN Search Box -->
<div class="virtuemart_search">
<br/>
<input name="keyword" class="inputbox" type="text" size="20" value="test"/>
<input type="submit" value="Search" class="button" onclick="this.form.keyword.focus();"/>
</div>
<input type="hidden" name="search" value="true"/>
<input type="hidden" name="view" value="category"/>
</form>
<!-- End Search Box -->
I tried to manually change the search div class in cuustom_search instead of virtuemat_search but the result is the same.
Must I set a particular css class in others site parts?
Thanks
Last edit: 10 years 2 months ago by tarab bas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.185 seconds