RE: [SMARTY] Template files and their corresponding php files.

From: Date: Sun, 02 Mar 2003 10:32:59 +0000
Subject: RE: [SMARTY] Template files and their corresponding php files.
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8330@lists.php.net to get a copy of this message
I use a MVC type of application structure. My controller is index.php. If it is passed a page value then that template is included in the "content" area of the index.tpl. If not, the default.tpl is in the content area. My directory structure: /index.php /templates/THEME_NAME/*.tpl /inc/lib/pages/*.php /inc/lib/smarty /inc/conf Hope this helps... Steve -----Original Message----- From: Wesley F. Maldonado [mailto:wes.maldonado@azebu.net] Sent: Saturday, March 01, 2003 6:18 PM To: smarty-general@lists.php.net Subject: [SMARTY] Template files and their corresponding php files. I was wondering what the best way is to layout the template files in /TEMPLATE_DIR/ and the corresponding .PHP files in the document root. Just wondering how everyone else handles this and if there is a SmartySmartestPractices describing possible ways to layout the templates. Thanks, Wes Maldonado

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