config_load - can't get it to work

From: Date: Wed, 12 Feb 2003 16:09:16 +0000
Subject: config_load - can't get it to work
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7683@lists.php.net to get a copy of this message
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

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