Multiple directories for templates.

From: Date: Tue, 13 Aug 2002 14:30:07 +0000
Subject: Multiple directories for templates.
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5671@lists.php.net to get a copy of this message
Hi all, Is there any way to make smarty look up for templates in more than one directory? I have some templates generic to several applications and then application specific templates the directory tree is like this: /foo/Smarty /templates /app1 /app1/templates /app2 /app2/templates I need to instantiate an smarty object in app1 and make it use templates from /app1/templates or ../templates do you know if this can be done? Thanks! Garland.

« previous php.smarty.general (#5671) next »