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 and constants

 
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 -> Feature Requests
View previous topic :: View next topic  
Author Message
Erik
Smarty n00b


Joined: 26 Jul 2005
Posts: 2

PostPosted: Tue Jul 26, 2005 11:17 am    Post subject: Smarty and constants Reply with quote

Hello,

in some of my templates a lot of {#bla#} statements will be used and it would be more visually consistent to allow {#$bla#}.
{$smarty.config.$bla} is a bit confusing.

I would appreciate if smarty could evaluate stuff like {#$bla#}.

From my point of view, allowing and evaluating {#$bla#} means not
to invent new syntax but reducing complexity in the templates (hence bugs) and leads to easier maintanance efforts.
(I am aware that of course this would be a new syntactical element,
but I regard it more as a variant of an already existing one.

- Erik
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 -> Feature Requests 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