Re: [SMARTY] Unable to Read Template

From: Date: Wed, 16 Apr 2003 18:26:05 +0000
Subject: Re: [SMARTY] Unable to Read Template
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9283@lists.php.net to get a copy of this message
Try this: $Template->display("file:zonixnuke/Admon/template.tpl"); cheers, Travis Pablo Fischer wrote:
Hi all; Im in the final steps of a project using Smarty, also I haven 'administration' section (the directory of this section is Admon/).. So how can I display a template? My directories are. Admon/php_files.php templates/zonixnuke/templates.tpl templates/zonixnuke/Admon/templatesadmon.tpl (templates for Admon section). In one of my php_Files (in Admon) Im calling the template, like this: $Template->display("zonixnuke/Admon/template.tpl"); But it tolds me.. Warning: Smarty error: unable to read template resource: "zonixnuke/Admon/admon_mostrartopics" in /home/unmada/Proyectos/zonixnuke/include/Smarty.class.php on line 999So what could be the correct path to show my templates located in templates/zonixnuke/Admon/tpltemplates.tpl ?? Thanks!
-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>

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