Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » com_profiler
Page:
1
com_profiler
com_profiler
Hi,
I can't seem to get a module display only when the string is: option=com_comprofiler&task=lostpassword
I have tried:
if ( $option==com_comprofiler & $task==lostpassword ) return 230;
And some similar, but that dont work.
Do you have a solution for my issue?
And thanks for a great extension
Best regards
Mads
Administrator has disabled public posting
Re: com_profiler
Hi Mads,
try turning on MetaMod Advanced Debug mode - that gives you a good starting point for this type of rule. It even gives you some PHP to adapt!
In your case I'd try this syntax:
if ( $option == "com_comprofiler" and JRequest::getVar("task") == "lostpassword" ) return 230;
Cheers,
Stephen
Administrator has disabled public posting
Page:
1
- Index
- » MetaMod
- » MetaMod General Support
- » com_profiler
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5944
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7645
- Newest User:
- foocd90
- Members Online:
- 2
- Guests Online:
- 170
- Online:
- melton7386, foocd90
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked