FW: duplicate template name dont reload problem
| From: | Rex Chung | Date: | Sun, 03 Nov 2002 07:14:52 +0000 |
| Subject: | FW: duplicate template name dont reload problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6312@lists.php.net to get a copy of this message | ||
Any ideas?
I have turned caching = false already.
Maybe I should change the template compile directory for each template
that as the same name?
-----Original Message-----
From: Rex Chung [mailto:rex@rexchung.com]
Sent: Friday, 1 November 2002 10:21 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] duplicate template name dont reload problem
Hi guys,
I've recently started using Smarty for a little CMS that I built. I
wrote a module plug-in which calls my module class function and outputs
with either default template or user defined as a param in the plug-in.
I got the problem of templates with the same name does not get reloaded,
(unless the code of the template itself is modified).
Scenario:
Module's default template is called 'A.tpl'.
Page contains that plugin and it gets loaded.
When the use defines another template with the same name 'A.tpl' but
it's from a different directory.
I load the page again, the plugin part doesn't change to the new A.tpl
How can I fix this problem?
Thanks.
Rex.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php