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

Smarty with Spry. Syntax overload. Solution=?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Showcase
View previous topic :: View next topic  
Author Message
mojo777
Smarty n00b


Joined: 18 Mar 2008
Posts: 2

PostPosted: Tue Mar 18, 2008 9:33 pm    Post subject: Smarty with Spry. Syntax overload. Solution=? Reply with quote

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
View user's profile Send private message
Celeb
Administrator


Joined: 17 Apr 2007
Posts: 1025
Location: Vienna

PostPosted: Tue Mar 18, 2008 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
mojo777
Smarty n00b


Joined: 18 Mar 2008
Posts: 2

PostPosted: Tue Mar 18, 2008 11:08 pm    Post subject: Reply with quote

uuhh... !

nice, nice!
thank you very much!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Showcase All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP