smarty3 - smarty concatanate a var from a file and a normal smarty one in the smarty include section -


hi trying evaluate variable file , normal 1 seems harder looks :

this works:

{config_load file="archive_page.conf" section="profile"} {include file="header.tpl" title=#pagetitle# keywords=#keywords# description=#description#} 

i use var , concatenate text below doesn't work have tried variations '', "" leads either error message or 1 of variables display text...

{config_load file="archive_page.conf" section="profile"} {include file="header.tpl" title=#pagetitle#$myvarhere keywords=#keywords# description=#description#} 

i tried various things can't work, appreciated.

use cat variable modifier:

title=#pagetitle#|cat:$myvarhere 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -