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

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
4
User Info:
 
Total Users:
4384
Newest User:
rash39381
Members Online:
0
Guests Online:
204

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