Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » disable auto publish for a specific...
Page:
1
disable auto publish for a specific module
disable auto publish for a specific module
Hi
im using this rule
Code:
if ( $option == 'com_virtuemart' and $view == 'category' and $jinput->get('virtuemart_category_id') == '1'
) return "100,101";
is it possible to return modules 100 or 101 only if they are published ? if so, can this be done for this specific module so that other keep using the auto-publish configuration ?
Thanks
Administrator has disabled public posting
Re: disable auto publish for a specific module
Hi,
If you set the "Auto-enable included modules" to "None" then they will only be included if they are returned in the PHP code AND are published.
This is set on a per-MetaMod basis. So you can have it set this way in one MetaMod, but set up another MetaMod that has a different setting (e.g. "all included modules") which will display them whether they are published or not.
Best regards,
Stephen
Administrator has disabled public posting
Page:
1
- Index
- » MetaMod
- » MetaMod General Support
- » disable auto publish for a specific...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5965
- Posts this week:
- 3
- User Info:
- Total Users:
- 8012
- Newest User:
- grant1ab
- Members Online:
- 0
- Guests Online:
- 175
- 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