Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Disable module code in MetaMod Pro
Page:
1
Disable module code in MetaMod Pro
Re: Disable module code in MetaMod Pro
Yes that should work in MetaMod Pro. (Pro only).
If you are checking for a particular component it might be better to do a check for $option instead, so it does not depend on the URL.
e.g.
if ($option == "com_akeebasubs") {
$changes->mod( 16 )->disable();
}
(I am assuming that akeebasubs has a component name of com_akeebasubs which is pretty likely).
Cheers,
Stephen
Administrator has disabled public posting
Page:
1
- Index
- » MetaMod
- » MetaMod General Support
- » Disable module code in MetaMod Pro
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:
- 96
- 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