Posted by Cal Henderson on 05/10/05 19:40
dc wrote:
: {assign var='iconId' value=`m_$menuNum_i_$index`}
you could use capture to make it easier to read:
{capture assign='iconId'}m_{$menuNum}_i_{$index}{/capture}
or use backticks around each variable:
{assign var='iconId' value='m_`$menuNum`_i_`$index`'}
though there are probably other ways to accomplish it.
--cal
[Back to original message]
|