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

array of template directories in smarty 3

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
rudder
Smarty Rookie


Joined: 20 Oct 2009
Posts: 12

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: 7367
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:   
Post new topic   Reply to topic    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