thorre Posted July 30, 2010 Share Posted July 30, 2010 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 More sharing options...
thorre Posted July 30, 2010 Author Share Posted July 30, 2010 The answer is found here.http://www.smarty.net/manual/en/language.custom.functions.php#language.function.assign Link to comment Share on other sites More sharing options...
Recommended Posts