Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Globals in the admin templates

Quote Reply
Globals in the admin templates
Hello everyone,



I was wondering if there is some way for me to use globals in the 'browser' templates in the admin set?

I would like to use some of the same globals that I haven't had any trouble using in the editors 'browser' templates. How to "allow" certain gloabals in the admin templates?



Thank you
Quote Reply
Re: [nt6] Globals in the admin templates In reply to
I am also interterting in it.

by the way NT6. did you got any solutions?



Thanks
Quote Reply
Re: [courierb] Globals in the admin templates In reply to
Nope! Frown It would be nice if someone could reply to us...
Quote Reply
Re: [courierb] Globals in the admin templates In reply to
Mm I'm assuming the admin template set has a globals.txt file so just add your globals into it. If you want to do it via the admin panel then you'll need to open up admin/Links/Tools.pm and on line 406 change:

next if ($file eq 'admin' or $file eq 'help');

to

next if ($file eq 'help');
Quote Reply
Re: [Paul] Globals in the admin templates In reply to
Thanks

i am going to have a try later today.
Quote Reply
Re: [courierb] Globals in the admin templates In reply to
it seems it did not work. it show me unknow tag error.
Quote Reply
Re: [courierb] Globals in the admin templates In reply to
Yeah I just looked, the admin template set doesn't have a globals file.