Re: [SMARTY] Re: Arrays in config files

From: Date: Fri, 20 Jun 2003 15:12:13 +0000
Subject: Re: [SMARTY] Re: Arrays in config files
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9744@lists.php.net to get a copy of this message
Well, I suppose it is possible, since I've been using this for ages even on sites where I donot use smarty (admin console of a CMS for example). You have to make use of the ConfigFile.class which is distributed with smarty. Read in the smarty WiKi how: http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions#config-1 best regards, alex kulikov messju mohr wrote:
see http://smarty.php.net/manual/en/variable.config.overwrite.php no associative arrays, though, i'm afraid. On Fri, Jun 20, 2003 at 12:41:44PM +0400, Konstantin A. Pelepelin wrote:
On Tue, 13 May 2003 11:15:54 +0100, Pete Morganic <pete@daffodil.uk.com> wrote:
How do I load an "array" of variables from a config file ?
I wanted to know this, too. I afraid, this is not supported, nor assigning an associative array from templates. For simple arrays there is a custom function function.assign_array.php at http://smarty.php.net/contribs/plugins/ Konstantin A. Pelepelin -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- .::....::.:...::...:..:.:::..:..::..::.::..:.:. Kulikov Alexey - E-Com Development Consultant +43 699 1 9228792 | alex@inses.biz

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