different template paths

From: Date: Tue, 17 Jul 2001 13:03:08 +0000
Subject: different template paths
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1175@lists.php.net to get a copy of this message
Hi, i have an application which has several template directories, depending on the area of the application where you are in. thats no problem, because i modify the template path. But i have some templates which are in a general template path, because they will be included in other templates. My problem is the include(). These general templates do not reside in the same directory as the actual content templates, and so smarty will not find them. Here is my tree: application | |--- Module_A | | | |- Templates | | |--- Module_B | | | |- Templates | | |--- General | |- Templates So a template which reside in module_a/templates will include a template which reside in general/templates How can i achieve this? thx for info ----------------------- Marc Logemann Morelogs GmbH & Co. KG Chief Software Architect -----------------------

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