Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Module not appearing
Module not appearing
Module not appearing
using joomla 1.5.25 / vm 1.1.19 / mm 2.12
using this logic on my breadcrumb module (module position)
module 19 (breadcrumbs) disabled, none for menus, position (breadcrumbs)
metamodule for breadcrumbs enbaled, all menus, position (breadcrumbs)
$vm = JomGenius("virtuemart");
if ( $vm->check( "pagetype not = shop.cart, shop.index" ) ) return 19;
given this my breadcrumb module 19 should not appear on my VM pages with shop.cart and shop.index but show on all other pages.
However, it does not.....
Module 19 in of itself works by itself
Re: Module not appearing
Yes, it's a boolean logic problem :-)
What you have above equates to "pagetype is not equal to shop.cart, OR pagetype is not equal to shop.index". If you think about it, that means that there's no possible value that will make this succeed.
What you want is this:
$vm = JomGenius("virtuemart");
if ( $vm->check( "pagetype = none of shop.cart, shop.index" ) ) return 19;
Cheers,
Stephen
Re: Module not appearing
If your target module is unpublished, then you need to ensure that "Auto-enable included modules" is set to ALL. Perhaps that's the problem?
- Index
- » MetaMod
- » MetaMod General Support
- » Module not appearing
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7633
- Newest User:
- mingle7855
- Members Online:
- 0
- Guests Online:
- 184
- 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