Re: concatenation operator...?
| From: | Mike Krus | Date: | Tue, 26 Jun 2001 05:13:16 +0000 |
| Subject: | Re: concatenation operator...? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-979@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Try this: {include file=header.tpl title="Admin - $title"} this doesn't work if you don't want white space:{include file=header.tpl title="$titleAdmin"} would look for variable $titleAdmin rather than append Admin to the content of variable $title Also: you don't seem to be able to put config variables in strings: {include file=header.tpl title="#title# Admin"} #title# doesn't get expanded. You can probably work around it by using {assign var=title value=#title#} first... Mike