|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mojo777 Smarty n00b
Joined: 18 Mar 2008 Posts: 2
|
Posted: Tue Mar 18, 2008 9:33 pm Post subject: Smarty with Spry. Syntax overload. Solution=? |
|
|
Hey folks,
I am developing a framework which is using smarty and the Spry-Framework (by adobe).
When I create templates for Smarty containing code for Spry, Smartycompiler sees them as a smarty-code.
e.g.:
Code: | <div id="dataDiv" spry:region="spryDataSource">
<table>
<tr>
<td>
Price-Field: {spryDataSource.PriceFieldName]
</td>
</tr>
</table>
</div> |
can I deactivate the "{" brackets for the smarty endgine??
by now I am using a solution without smarty, but I downt want to miss it!
Thanks for all suggestions!
greetings! |
|
Back to top |
|
Celeb Administrator
Joined: 17 Apr 2007 Posts: 1025 Location: Vienna
|
Posted: Tue Mar 18, 2008 9:45 pm Post subject: |
|
|
Change your Smarty delimiters, use {ldelim}/{rdelim}, or use {literal}. _________________ Darn computers always do what I tell them to instead of what I want them to do. |
|
Back to top |
|
mojo777 Smarty n00b
Joined: 18 Mar 2008 Posts: 2
|
Posted: Tue Mar 18, 2008 11:08 pm Post subject: |
|
|
uuhh... !
nice, nice!
thank you very much! |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|