concat 2 variable
| From: | adwinwijaya | Date: | Thu, 05 Feb 2004 02:13:58 +0000 |
| Subject: | concat 2 variable | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10926@lists.php.net to get a copy of this message | ||
Hello smarty-general,
I have a directory structure like this
root:
- templates
- header.tpl
- footer.tpl
- navigation.tpl
- templates_c
--SubFolder
- configs
- config.conf
- templates
- content.tpl
- templates_c
my config.conf contain:
root_directory = "../"
my question is:
how to concate 2 variable in smarty ?
I want to put
{include file=#root_directory#.'templates/header.tpl'}
inside my content.tpl
I have already tried it ... and it produce error.
thanks
--
Best regards,
adwinwijaya mailto:adwinwijaya@yahoo.com.au