how to set up a smarty site, directories, and structure

From: Date: Fri, 29 Aug 2003 21:23:39 +0000
Subject: how to set up a smarty site, directories, and structure
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10157@lists.php.net to get a copy of this message
Please CC me, I'm on digest. could someone please post a sample directory structure? I'm not terribly happy about mine, (on a hosted site)> I basically am reproducting the same directory structure I have under my document root, in the templates directory. Here is how mine goes, (hum in A-flat): /home/sitename/www/index.php (contains instantiation of Smarty ) /home/sitename/www/fiile1.php (contains instantiation of Smarty ) /home/sitename/www/fiile2.php (contains instantiation of Smarty ) /home/sitename/www/fiile3.php (contains instantiation of Smarty ) (below are not in document root for security reasons) --------------------------------------------------------- /home/sitename/obfuscated/php/libs/others/smarty/templates/header.tpl /home/sitename/obfuscated/php/libs/others/smarty/templates/footer.tpl /home/sitename/obfuscated/php/libs/others/smarty/templates/index.tpl /home/sitename/obfuscated/php/libs/others/smarty/templates/file1.tpl /home/sitename/obfuscated/php/libs/others/smarty/templates/file2.tpl /home/sitename/obfuscated/php/libs/others/smarty/templates/file3.tpl

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