Support the VirtueMart project and become a member

Main Menu

VM2 search options

Started by cyberx, January 27, 2012, 14:54:11 PM

Previous topic - Next topic


if i search in the search modul, the results page i can see the categories and after the results.

how can i turn off the categories in the result page?
i don't want see the categories just the results



does nobody know a solution to this?

help me pls!


This was bothering us, too.
All we did, was to put the display of the categories in our default category-template inside an if-statement, which checked if an actual search was committed.
For example:

<?php if ($this->search ==null ) { ?>
[The usual stuff to display the categories]
<?php ?>

The file is located in /components/com_virtuemart/views/category/tmpl/default.php, if no override is set.