Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Virtuemart category description...
Virtuemart category description breaks rule
Virtuemart category description breaks rule
Hi,
I have a metamod rule to show a search box for search in this category only on category pages in Virtuemart. All works fine until I add a description on the category page. This causes the search to fail and just show all products.
Am I missing something simple?
Thanks
Ray
Re: Virtuemart category description breaks rule
code is:
$vm = JomGenius("virtuemart"); // need this at the start of every rule
if ( $vm->check("pagetype = category") ) {
$category_id = $vm->info( "category_id" );
if ($category_id == "74") return 150;
if ($category_id == "77") return 150;
if ($category_id == "1162") return 150;
}
Re: Virtuemart category description breaks rule
Hi Ray,
just cleaned up all the idiot spam and found your post - sorry for the delay.
I just want to check what you are saying is happening...
So on the category page, the MetaMod shows the search module correctly?
But are you saying that if there's a description on the category page, then the search itself does not work correctly?
e.g. when there is no description on the category page, if you use the Search module that the MetaMod displays, then it works perfectly.
However if there was a description on the category page, then if you use the Search module that the MetaMod displays, then the search returns ALL items instead of using the search term you specified?
Can you please confirm that?
Also, are you using the free or the Pro version of MetaMod?
Cheers
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Virtuemart category description...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7642
- Newest User:
- mary26
- Members Online:
- 0
- Guests Online:
- 166
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked