Re: [SMARTY] Problem with ConfigFiles (scope global)
| From: | Norbert Röcher | Date: | Thu, 16 May 2002 22:55:06 +0000 |
| Subject: | Re: [SMARTY] Problem with ConfigFiles (scope global) | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4257@lists.php.net to get a copy of this message | ||
"Monte Ohrt" <monte@ispi.net> schrieb:
>> I think I see what you are trying to do.
Cost me a lot of brain and fantasy... :-) I changed my whole
applications core, to be able to handle blocks like this. The sence is
just to avoid cached subtemplates of the same block, that contain
different cached content.
Manual assign would cause o big amount of config_loads, wouldn't it?
16 blocks means 16 new objects and 16 config_loads. But i don't want
my server to walk on sprags. How about reassigning a config-object to
a new "display" or "fetch"? Any chance to do this from within the
application?
To be honest, i still don't understand, why configs "globals" are not
available as real "globals" within the smarty object. :-(
Regards,
Norbert