Problem with ConfigFiles (scope global)
| From: | Norbert Röcher | Date: | Wed, 15 May 2002 01:45:28 +0000 |
| Subject: | Problem with ConfigFiles (scope global) | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4194@lists.php.net to get a copy of this message | ||
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