Gossamer Forum
Home : Products : Gossamer Links : Discussions :

editor button

Quote Reply
editor button
Hi - is it possible to alter the menu system in the templates so that the editor button will only display if the user accessing the links pages is an editor.

The button is redundant otherwise and may as well not be displayed - anyone done this already and prepared to pass on the 'how to'!

Thanks in advance - Cliff
Quote Reply
Re: [Fazzer] editor button In reply to
I think you can call it via;

Code:
<%if isEditor%>
....
<%endif%>

If that doesn't work, then try using a <%GT::Template::dump%> when logged in as an editor. You should then be able to see the available tags, and work out which one you need to verify in the templates to see if someone is an editor.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!