Re: [SMARTY] $template_dir prob
| From: | Christian Calloway | Date: | Wed, 24 Jul 2002 22:44:46 +0000 |
| Subject: | Re: [SMARTY] $template_dir prob | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5437@lists.php.net to get a copy of this message | ||
Thanks.. Im really stupid. Worked Perfectly. Thanks again
Chris
"Jonathan Chum" <jchum@aismedia.com> wrote in message
news:008f01c23353$ce2e2cf0$cd1b9642@atlp.aismedia.com...
> Try:
>
> $smarty->template_dir = "../templates/admin";
>
> -----Original Message-----
> From: Christian Calloway [mailto:dcminds@yahoo.com]
> Sent: Wednesday, July 24, 2002 4:42 PM
> To: smarty-general@lists.php.net
> Subject: [SMARTY] $template_dir prob
>
>
> Ok ok, I've set $template_dir the beginning of my scripts to say:
>
> $template_dir="../templates/admin";
>
> But smarty keeps attempting to find templates in the default "./templates"
> dir. I've even tried using the GLOBALS array to set the $template_dir
> variable:
>
> $GLOBALS['template_dir']=blahblah;
>
> Nothing's working. Any ideas? Thanks
>
> Chris
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>