Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: comment contain several {literal} does not work in {literal}
guanhuan

Replies: 2
Views: 8103

PostForum: Bugs   Posted: Wed Jul 09, 2014 4:07 pm   Subject: comment contain several {literal} does not work in {literal}
{literal} does by definition turn of the interpretation of all Smarty tags including the {* the *} comment tags.

So within {literal}{/literal} you can't comment {literal} tags out.

Thanks! That ...
  Topic: comment contain several {literal} does not work in {literal}
guanhuan

Replies: 2
Views: 8103

PostForum: Bugs   Posted: Fri Jun 27, 2014 3:10 pm   Subject: comment contain several {literal} does not work in {literal}
I am using the syntax in CiviCRM 4.4.

if({/literal}{$calls->getContact(2)}{literal}==1){
cj("[id='a']"). ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP