Re: [SMARTY] Set config file from php?

From: Date: Thu, 09 May 2002 14:39:45 +0000
Subject: Re: [SMARTY] Set config file from php?
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4123@lists.php.net to get a copy of this message
"Monte Ohrt" <monte@ispi.net> wrote in message news:3CDA83CB.6020607@ispi.net... | Why? I would think that this is a benefit. this lets the template that is exactly what I am trying to avoid! I do not want to load config files from within templates! | control the config variables (the application doesn't need to deal with it.) The web site I need this for is very complex. It consists of numerous "modules" (i think "portlets" would be the current buzzword-name), which are all loaded from a central place (index.php), and each of the modules has its own template(s). All modules must adhere to the configuration/color theme/layout that is decided in that central place, and act accordingly. Config files would be really nice for dealing with color themes. And besides, there are numerous template writers, and I do not want to make them all revise every template on site, and insert that unnecessary[*] line every time they make a new one. [*] because I HAVE managed to do what I want (see original post), I am only searching for a more elegant solution :) -- ---- -------- - Ivan Voras <ivoras @ fer.hr> - - I modem, but they grew back. -

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