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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With