Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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 smile

Best regards
Mads

madseman
Beginner Modder
ranks
useravatar
Offline
5 Posts
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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: com_profiler

Hi metamodguy,

Thank you very much!

Both for the solution and for the debug advise smile

Best regards
Mads

madseman
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1684
Total Polls:
6
Total Posts:
5940
Posts this week:
1
User Info:
 
Total Users:
5174
Newest User:
frashaomran
Members Online:
0
Guests Online:
180

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