Re: [SMARTY] Problem with ConfigFiles (scope global)
| From: | Monte Ohrt | Date: | Wed, 15 May 2002 13:27:26 +0000 |
| Subject: | Re: [SMARTY] Problem with ConfigFiles (scope global) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4201@lists.php.net to get a copy of this message | ||
Can you give an example how you are "fetching" the template?
Norbert Röcher wrote:
I use a main template to insert several sub-templates. All templates should use of the same config-file, loaded by the main template (scope=global). An insert-Function gets the sub-templates be fetching them, but the config-vars from the main template are not available in the fetched sub-templates. $smarty contains all values, but these don't have any effect on the fetched templates. Caching is OFF!Any ideas? Norbert-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.