Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Seemingly Simple Recipe...
Seemingly Simple Recipe...
Seemingly Simple Recipe...
This recipe I am looking for seems to be a simple request but I can't seem to find anything for it. It appears that a module of mine that displays recently viewed products from virtuemart conflicts with some of the other components because prior to looking for a metamod recipe, I had it displayed on all menu items and apparently it is calling certain variables from virtuemart on the non-virtuemart component pages thus causing certain conflicts that are preventing those pages from rendering properly. What I need is a recipe that will only display this specific module on ONLY virtuemart pages and nothing else.
Since I don't really care whether it appears on the frontpage or not, I am using this code so far:
$vm = JomGenius("virtuemart"); // need this at the start of every rule
if ( $vm->check( "pagetype != frontpage" ) ) return 448;
I am sure it is clumsy but any help would be appreciated.
Thanks
Re: Seemingly Simple Recipe...
Yes, that could work, but if you want it on only VM pages and nothing else, then this will do it:
if ($option == "com_virtuemart") return 448;
Cheers,
Stephen
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Seemingly Simple Recipe...
Board Info
- Board Stats:
- Total Topics:
- 1700
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 8056
- Newest User:
- no21an
- Members Online:
- 0
- Guests Online:
- 269
- 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