Re: [SMARTY] using smarty across many projects

From: Date: Wed, 15 Jan 2003 17:15:35 +0000
Subject: Re: [SMARTY] using smarty across many projects
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7196@lists.php.net to get a copy of this message
Aha! okay... it's making sense now. The docs are pretty good, but for somebody fresh off the turnip cart, it's easy to get lost. Thank you so much to everybody who took the time to respond... the many different ways to view the situation was VERY helpful in understanding whats going on. -- Jeff Eidsness - CIO / Site manager JnJ International Data, LLC - http://www.jnjid.com/ On 15 Jan 2003 08:31:57 -0600, Monte Ohrt wrote: >As a general rule of thumb, for each template_dir use a separate set >of >compile_dir, cache_dir and config_dir. We use a separate set per >hostname. Example: > >/export/httpd/www.domain.dom/docs/ >/export/httpd/www.domain.dom/logs/ >/export/httpd/www.domain.dom/smarty/ >/export/httpd/www.domain.dom/smarty/templates_c/ >/export/httpd/www.domain.dom/smarty/templates/ >/export/httpd/www.domain.dom/smarty/cache/ >/export/httpd/www.domain.dom/smarty/configs/ > >On Tue, 2003-01-14 at 21:44, Jeff Eidsness wrote: >> Hello all. This seems like a dumb question to me, but i can't seem >> >>to find any reference anywhere (docs, faq, mailing list) about it. >>(mailing list took a while over dialup ;) >> >> Anyhow... i have several domains/projects i want to use smarty >>with... and hence my question... >> >> do i need a separate group of dirs (template_c, config, cache etc) >> >>for each site? will it keep all the index.php templates separate >>for >>the different sites? >> >> i'd like to make one dir with a link from each of the domains to >>the >>same smarty/ directory to make things simple. or will this make it >>tougher? >> >> thanks in advance :) >>-- >>Jeff Eidsness - CIO / Site manager >>JnJ International Data, LLC - http://www.jnjid.com/

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