How can define variable inside smarty template file? [closed]
How can i define variable not in PHP
but in .TPL
? (smarty template file)
{assign var=foo value=Test}
or some more complicated example:
{assign var=foo value={cycle values="first,second"}}
is assign what you are looking for?
精彩评论