Re: [SMARTY] Possible to add to the $smarty template variable?
| From: | Gerard Samuel | Date: | Wed, 13 Nov 2002 06:31:49 +0000 |
| Subject: | Re: [SMARTY] Possible to add to the $smarty template variable? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6405@lists.php.net to get a copy of this message | ||
Im somewhat in the same predicament.
I have a variable that I use in links, and is dynamic. I finally turned on caching tonight,
and my links are messed up. So after a bit of browsing in the manual, I came across $global_assign.
But for the life of me, I don't understand in what format it accepts data. Maybe after some sleep it will hit me.
Eric Coleman wrote:
Wasn't aware of one.. can you enlighten me? Eric "Guido" <sguido@rogers.com> wrote in message news:571760241.20021111095738@rogers.com...-- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/Hello Eric, why not just use the defines.conf file? Saturday, November 9, 2002, 4:29:49 PM, you wrote: EC> I have a variable that I want to be in all templates, no matter what.is itEC> possible to add it to $smarty variable that's in the templates? -- Best regards,guido mailto:sguido@rogers.com