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.

 

Rule -- ChronoForm

Rule -- ChronoForm

I may be missing something, or it just isn't possible with Chameleon. I have a custom form that I created. Basically, what is being requested is that if someone goes to {myform}/sitea, a rule such as {myemail} for find, and with This e-mail address is being protected from spambots. You need JavaScript enabled to view it for the replace, that the rule find tag would be seen in the form, and replaced with the value.

Chameleon should be able to do this shouldn't it?

omcreations
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Rule -- ChronoForm

Hi, sorry for the delayed reply. Yes, Chameleon can do this.
In the Conditions for the rule, in the Environment tab, detect the URL "contains" your_url/sitea
In the Succeed Action for that rule, do the HTML find/replace using the token as you suggested.
You might want to do an alternative find/replace in the Fail Action, to replace the token with a different email address, or remove the link entirely.

Best regards
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
3319 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1674
Total Polls:
6
Total Posts:
5917
Total Posts Today:
5
User Info:
 
Total Users:
11541
Newest User:
kajha63864
Members Online:
1
Guests Online:
227

Online: 
kajha63864

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked