Re: Re: mailinglist status

Joe Stewart <[email protected]> Wed, 7 May 2003 09:49:22 -0500
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
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


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com