Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Help! Virtuemart cart and checkout pages

Help! Virtuemart cart and checkout pages

I'm brand new to metamod pro.  I have a module published to the right module position to show on all Virtuemart pages, but I would like to have it show on everything but the cart and checkout pages.  I have the module active in the right module position and I have created a metamodule with the following code:

Code:

$vm = JomGenius("virtuemart"); // need this at the start of every rule 

if ( $vm->check( "pagetype != shop.cart" ) ) return 139;
if ( $vm->check( "pagetype != shop.savedcart" ) ) return 139;
if ( $vm->check( "pagetype != checkout.index#1" ) ) return 139;
if ( $vm->check( "pagetype != checkout.index#2" ) ) return 139;
if ( $vm->check( "pagetype != checkout.index#3" ) ) return 139;
if ( $vm->check( "pagetype != checkout.index#4" ) ) return 139;
/* replace XXX with the module id or  position you want
* to display <em>except</em> on the front page of VirtueMart
*/

It doesn't seem to be working and would appreciate any help.  I have Joomla SEF enabled if that makes a difference.

This is a test site at:
http://www.harvestmooned.com/production

dirtybird3g
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

Re: Help! Virtuemart cart and checkout pages

Answered this one over here: http://www.metamodpro.com/forums/topic?id=550

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5914
Total Posts Today:
1
User Info:
 
Total Users:
10816
Newest User:
sakmy567q
Members Online:
0
Guests Online:
147

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