by
KK » Thu Jun 23, 2016 1:36 pm
I suppose the problem is that the <cms:cloak_email /> statement is not cloaking the email address as fetched from the database - rather it is cloaking the '<cms:show contact_email />' string verbatim.
That would be because of the use of single-quotes around <cms:show /> -
<cms:cloak_email '<cms:show contact_email />' />
The correct syntax would be as follows (please notice we are now using 'double-quotes) -
- Code: Select all
<cms:cloak_email "<cms:show contact_email />" />
or simply this -
- Code: Select all
<cms:cloak_email contact_email />
Hope it helps.
P.S. if the use of single/double quote is unclear to you, please see
http://docs.couchcms.com/concepts/setti ... eters.html