Re: [SMARTY] [installation] call to undefined...

From: Date: Sun, 13 Jul 2003 18:51:25 +0000
Subject: Re: [SMARTY] [installation] call to undefined...
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9882@lists.php.net to get a copy of this message
On Sun, Jul 13, 2003 at 01:48:19AM +0200, Harry wrote: > > > *nix servers are case sensative... so if u are calling for > Smarty.class.php > > and the class name is smarty.class.php u get an error > > > > and the other way... try using full path.. > > > > yes, but from this point of view everything is ok > > i have installed plugins, templates and templates_c dirs on root plus the 3 > php smarty file > > by the way i have a dir named layout where there are the templates i call. > For this reason i defined a variable > $path=".:/membri/harry/layout/templates/" > > and i call $smarty->display($path."index.tpl"); > > what's wrong? ".:/membri/harry/layout/templates/index.tpl" is pretty wrong. set ' $smarty->template_dir = "/membri/harry/layout/templates"; ' to initialize the templates-dir. after that call ' $smarty->display("index.tpl"); ' there is no search-path related to templates. greetings messju > thanks again > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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