Gossamer Forum
Quote Reply
Using less globals
I habe lots of globals used in my version 2.12 and I have lots of modifications.

Now I want to reduce my globals, and here is my question?

How can I use funtions or values like globals, but only in specified scirpts or pages ?

I do not know anything about plugins, but I hope taht there is a way to have some funktions grouped for special needs in special scripts, for example:

- all search related globals are only used in search, search_error and search_results
- all user related globals are only used in user.cgi, login, add and modify
- lastlink is only used in build

Would be glad for any hint...

Thanks, Christian
Subject Author Views Date
Thread Using less globals cwschroeder 4589 Feb 16, 2007, 7:16 AM
Post Re: [cwschroeder] Using less globals
brewt 4334 Feb 21, 2007, 1:59 PM
Post Re: [cwschroeder] Using less globals
SaraBem 4313 Mar 17, 2007, 3:06 AM
Thread Re: [cwschroeder] Using less globals
afinlr 4271 Mar 26, 2007, 5:20 PM
Post Re: [afinlr] Using less globals
Andy 4238 Mar 27, 2007, 2:41 AM