Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Show only in articles recipe
Show only in articles recipe
Re: Show only in articles recipe
if ($core_genius->check("pagetype = article") ) return XXX;
// replace XXX with module id to use.
There's a complete list of all the pagetypes you can detect, along with many other factors, at: http://www.metamodpro.com/jomgenius/par … dcheckcore
Re: Show only in articles recipe
Have you gone through the Quick Start Guide? I think it's likely that you haven't disabled the "target" module, either by disabling it, or changing it to another module position, or setting it to display on "none" pages.
Or, perhaps you put the module ID in the "Quick module id include" box - you should remove it from there.
Cheers,
Stephen
Re: Show only in articles recipe
Yes, I am sure that's the code - I just tried it on my test server to be sure.
Can you try something - delete all the PHP code from the PHP box, then save the MetaMod, keeping everything else the same. If the target module still appears in the blog category view then you haven't followed the steps properly. If it disappears, then there's something wrong in MetaMod.
Oh, actually... what version of MetaMod do you have installed? If it's not the most recent version (2.5), then install v2.5 over the top of whatever version you have at the moment. There were some bugfixes related to pagetype, a couple of versions back.
Cheers,
Stephen
Re: Show only in articles recipe
Ah, I see. This is a FAQ: http://www.metamodpro.com/metamod/faq/2 … etamod-was
Cheers,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Show only in articles recipe
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7622
- Newest User:
- boestreecare
- Members Online:
- 2
- Guests Online:
- 137
- Online:
- boestreecare, musser4585
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked