Re: [SMARTY] Installing Smarty docs

From: Date: Tue, 25 Jun 2002 04:20:25 +0000
Subject: Re: [SMARTY] Installing Smarty docs
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5011@lists.php.net to get a copy of this message
Hi Rob, Rob Schumann wrote:
Hi Monte, On 24-06-2002 Monte Ohrt wrote: I'm re-working the installation portion of the docs, please take a look at this and give me your comments. I hope the HTML attachment makes it. This is good, but I would perhaps add that wherever the templates_dir is located, the debug.tpl file needs to be in that same location of smarty debugging is to work.
That is right, if you do not set the $debug_tpl class variable, it will look in the $template_dir by default. I like to place the debug template directly under the SMARTY_DIR so it is not affected by multiple $template_dir locations across applications, but this is not the default setup.
In fact, with the currently delivered example (distribution version, non-CVS), in order to keep that working following an install where not everything is kept under the Smarty class file directory, ALL contents of the delivered "templates" Directory need to be placed in the target templates location. Same for the "configs" directory. Obvious, perhaps, but for new users setting things up as they wish it can be off-putting when the provided example doesn't work correctly/as expected. For operating systems, YellowDog Linux (some others too, I think) apache runs as apache:apache, and I believe this is another "standard" configuration that might be worth mention.
Or maybe we can mention where to look for the settings for Apache (httpd.conf)
All-in-all though, this is a big improvement over the rather scant installation duide in previous documentation and would go a long way towards faciliating easier installation and setup of a good working environment.
Thank you for your input! Monte

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