Tuesday 19 October 2004 9:41:35 am
Although I'm not from the ez crew The bottom line: there is no difference in handling between single or double quotes. Did you try this in some scenario? I can come up with two "places" {let} {set} {default} constructs: you cannot put variables in a string, it won't be parsed. Eg
<!--
{let registration_count=12
string_single = 'single $registration_count'
string_double = "double $registration_count" }
{$string_single} and {$string_double}
{/let}
-->
Will output the verbatim strings:
<!--
single $registration_count and double $registration_count
-->
Second scenario: when you put variables inside strings like in
<!--
{let registration_count=12}
<p>'Hi there {$registration_count}'</p>
<p>"Hi there {$registration_count}"</p>
-->
{/let}
Will output
<!--
<p>'Hi there 12'</p>
<p>"Hi there 12"</p>
-->
And you cannot nest {}, for example {'Hi there, we've got {$registration_count} registrations'} is illegal (you really do not get what you may think. hth -paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|