Jump to content

Edit History

overbags

overbags

hi everyone i'm trying to modify a tpl page and i have to insert in a div a text composed of several php variables

the problem is that I can't do the chaining

I post an example of how I would do it in a php file to make you understand but that in tpl it does not work

{$name_lastname = $firstname . " " . $lastname}

<div>

{$name_lastname}

</div>

I need it to result in a single variable ... I know I could do {$firstname} &nbsp; {$lastname}

overbags

overbags

hi everyone i'm trying to modify a tpl page and i have to insert in a div a text composed of several php variables

the problem is that I can't do the chaining

I post an example of how I would do it in a php file to make you understand but that in tpl it does not work

{$name_lastname = $firstname . " " . $lastname}

<div>

{$name_lastname}

</div>

I need it to result in a single variable ... I know I could do {$firstname} &nbsp; {$lastname}

×
×
  • Create New...