Re: [SMARTY] config_load - can't get it to work

From: Date: Wed, 12 Feb 2003 16:17:48 +0000
Subject: Re: [SMARTY] config_load - can't get it to work
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7685@lists.php.net to get a copy of this message
I think you have to have the config_load declaration in the actual template that needs it rather than in a .css file that is referenced by your template. jon bertsch At 11:09 AM 2/12/2003 -0500, you wrote:
Maybe I am jumping the gun on asking for help on this one. I am loading a config_file, a pretty basic one. It holds some template info such as link, alink, vlink colors, etc. I have tried both methods: in my css.tpl file, i have tried: {config_load file="default.skin"} and {config_load file="default.skin" scope="global"} i have also tried in my php file: $smarty->config_load("default.skin"); In the debug console all i get is:
{#files#}       Array (1)
                default.skin => 1
The problem is that I can get any values from the config file no matter what method I use. I am using the correct syntax of: {#vlink#} Has any one come across this problem? ____________________________________________ Andrew S. Nagy Lead Applications Developer Living SchoolBook Syracuse University (315) 443-3450 http://lsb.syr.edu -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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