Re: [SMARTY] How can get template_dir in template file

From: Date: Sun, 10 Oct 2004 10:39:13 +0000
Subject: Re: [SMARTY] How can get template_dir in template file
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11870@lists.php.net to get a copy of this message
Hi, $smarty->assign('tpl_dir', $smarty->template_dir); then you can do what you want with {$tpl_dir} If you need something more live, either assign by a reference, or else write a plugin to fetch it. -bok On Sun, 10 Oct 2004 18:11:26 +0800, srni@gzlinux.org <srni@gzlinux.org> wrote: > Hi, > > I want to get the value of $smarty->template_dir in my template > file. But how can I make it? I can not find anything from the manual : > ( > > Is there anybody get it? > > Thanks! > -- > srni@gzlinux.org <srni@gzlinux.org> > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Xnyo - http://xnyo.odynia.org/

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