Jump to content

[SOLVED] Assign your own variable in theme file (.tpl)


Recommended Posts

I'm pulling my hair here.

I'm doing some basic theme modification, and use if-cases like




I want to assign my own variable in a if statement, and then print out the value. It seems impossible.

I have tried

{$x = 'abc'}
{$x}

..

{x = 'abc'}
{$x}



How can i set my own (local) variable???

Link to comment
Share on other sites

×
×
  • Create New...