Re: Global template variables

Daniel Bondurant <[email protected]> Mon, 30 May 2005 13:22:44 -0700
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
($smarty.const.foo} should work
http://smarty.php.net/manual/en/language.variables.smarty.const.php


On Mon, 2005-05-30 at 05:25 -0700, subs-9vHHI2gO/[email protected] wrote:
> Hi,
> 
> I have a couple of template variables which need to be available by
> default in all templates. I was expecting the "globals" section in
> smarty.conf.xml to be made available to each template as e.g.
> {$binarycloud.globals.foo}. I've had a look in Node.php and
> TemplateManager.php but can't figure out whether this feature used to be
> available or whether it's something broken after phing removal. I'm sure
> the issue was raised on the list a while back but I can't find the thread. 
> 
> Any ideas?
> 
> Cheers!
> Ben
> _______________________________________________
> dev mailing list
> dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
> http://lists.binarycloud.com/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev