Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » metamod to show on virtuemart Search...
metamod to show on virtuemart Search Results page
metamod to show on virtuemart Search Results page
Hi
I am trying to get a module to show on my VM live product search results pages, not having much luck atm.
The site is http://www.beautylogix.com/ and the search feature is at the top of the site. The Page generated which I would like the module to appear on looks something like this: (using the search keyword "pink" as an example)
http://www.beautylogix.com/?keyword=pin … hop.browse
The debug info looks like this:
MetaMod debug info:
$option: com_virtuemart
$view:
$id:
$Itemid: 2
$timezone: default
$language: en-us
$language_code: en
$language_region: us
Including modules:
Many thanks in advance for any help you can give.
Re: metamod to show on virtuemart Search Results page
Hi Jenlu,
Sorry I seem to have missed this request...
I think you can target the search page like this:
$vm = JomGenius("virtuemart");
if ( $vm->check("pagetype = shop.search") ) return XXX;
replace XXX with the module id that you want to display.
I'm not sure if this will put the module just on the results page, or also on the main search form page (which I can't see there... that's ok). But I think it should do what you want.
Best regards,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » metamod to show on virtuemart Search...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7627
- Newest User:
- rudys68879
- Members Online:
- 0
- Guests Online:
- 156
- 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