Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Same Templatename, different Templatedirs

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
Cedric_
Smarty n00b


Joined: 25 Jul 2003
Posts: 1

PostPosted: Fri Jul 25, 2003 8:56 am    Post subject: Same Templatename, different Templatedirs Reply with quote

Hi,

just for the files:

if you create templates with the same names in different dirs, the compiler (and the cache) will handle them as one file. So, what became compiled first will be shown. This results in a totally corrupted webpage. Not that good, especially when you work with themes in different dirs, but with the same templatename.

regards

Cedric_
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Fri Jul 25, 2003 9:13 am    Post subject: Reply with quote

you have to use a different compile-dir and a different cache-dir for each distinct template_dir. this is documented somewhere in the manual or the faq AFAIR.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP