Re: [Phpslash-devel] Re: mailinglist status
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-05-07 14:38:00
|
On Fri, May 02, 2003 at 07:55:42PM -0400, Luis M wrote: > >How about this? > > > >$extra_ary = ''; > >// Are there extra tags/variables to pass to slashHead.tpl? > >if(is_array($_PSL['extra_ary'])) { > > $extra_ary = $_PSL['extra_ary']; > >} > > > >$header = getHeader($pagetitle,$_PSL['metatags'], $extra_ary); > > > >Then it could be defined in config.ini, config.php, or in the > >script. But couldn't come from the url. > > > That sounds perfect. But how would the "extra_ary" be defined in the .ini ? > This way: > > extra_ary = KEY=>'value', KEY2=>'value2', ..., KEYn=>'valuen' > > ?? just curious... Sorry, forgot about this. This would create the array - at the END of the ini file: [extra_ary] key1 = value1 key2 = value2 key3 = value3 However, I'm not sure why you wouldn't just put the values in the template file. Joe |