Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

array of template directories in smarty 3

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
rudder
Smarty Rookie


Joined: 20 Oct 2009
Posts: 14

PostPosted: Fri Nov 13, 2009 6:27 pm    Post subject: array of template directories in smarty 3 Reply with quote

U.Tews wrote:
There is an undocumented feature of Smarty. If you assign an array of folders to $smarty->template_dir it will seach the folders in the order of the array until it finds the template.


Since the above is undocumented I'm not sure what the official position is, I was just wondering if smarty 3 supports the array of template_dirs, and if it doesn't currently, are there plans to do so?

I'm starting to make use of this and I want to make sure when we switch to Smarty 3 we'll be ok.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Fri Nov 13, 2009 6:44 pm    Post subject: Reply with quote

Yes this works in Smarty 3.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 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