Report inadequate content

Smarty: Concatenation of variables inside block parameters

133 people liked this post

In Smarty sometimes you need to concatenate 2 variables and pass it as a single variable inside a block. But the placeholder won't allow any expected PHP syntax You want to accomplish something like: {assign var="MYVAR" value=$variable1.$variable2} But, the dot in smarty is for array access, so, what about... {assign... read complete post

« Back to post