https://www.icyphoenix.com/viewtopic.php?f=4&t=3617&p=24326#p24326
-----------------------------------
Vortex
Fri 15 Feb, 2008 14:00

Re: How To Add A New Var For Template
-----------------------------------
Ok just saw you edited the post ^^


In page_header.php I noticed:


[code linenumbers=false]// The following assigns all _common_ variables that may be used at any point in a template.
$template->assign_vars(array([/code]


Amazing, just what I looked for! 



So I suppose my function goes above that, and then I can set any variables I want in the following huge array, right?


Trying and letting you know ;)



Edit: it works perfectly! This is quite a breakthrough for me! Really thanks [b]KasLimon[/b] !!!


