|
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 |
keys71 Smarty n00b
Joined: 16 Mar 2005 Posts: 2
|
Posted: Wed Mar 16, 2005 3:02 pm Post subject: HowTo calculate with assigned and config-variables |
|
|
Hi Forum,
the forum search did not succed.
My (simple) question.
I want to add a value defined in a config file add to a assigned variable.
Code: |
.php
$smarty->assign('width', $width);
.conf
width_offset = 10
.tpl
{* now i want use the summary of {$width} and {#width_offset#} *}
|
Kind regards,
Robert |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
keys71 Smarty n00b
Joined: 16 Mar 2005 Posts: 2
|
Posted: Wed Mar 16, 2005 8:47 pm Post subject: |
|
|
thx a lot |
|
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
|