Mutt
Well-known member
I would like to call a phrase using a variable like this
the var will always be an integer so I have phrases names smiliecat_0, smiliecat_1, smiliecat_2 that i'd like to grab.
but it's not seeing the value of the var. I tried wrapping $smilie.category w/ curly brackets or xen:raw curly brackets but neither worked.
anyone have a suggestion?
Code:
{xen:phrase smiliecat_$smilie.category}
the var will always be an integer so I have phrases names smiliecat_0, smiliecat_1, smiliecat_2 that i'd like to grab.
but it's not seeing the value of the var. I tried wrapping $smilie.category w/ curly brackets or xen:raw curly brackets but neither worked.
anyone have a suggestion?