|
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 |
Erik Smarty n00b
Joined: 26 Jul 2005 Posts: 2
|
Posted: Tue Jul 26, 2005 11:17 am Post subject: Smarty and constants |
|
|
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 |
|
|
|
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
|