Welcome to Geeklog, Anonymous Monday, June 17 2024 @ 10:54 pm EDT

Geeklog Forums

How to suppress the "glink" menu bar item?


Status: offline

JoelF

Forum User
Chatty
Registered: 07/18/04
Posts: 39
I have set up glinks 1.3 (which is pretty cool by the way), and have found that it adds a "glinks" menu item to the header area (in the same general place as "Support | Themes | Downloads | Forum" on this site). How can I remove that link? I have added a reference to another part of the site navigation, and having this extra lone link there looks odd and takes up vertical real estate that I'd rather not give up.

Thanks in advance,

Joel
 Quote

Status: offline

drshakagee

Forum User
Full Member
Registered: 10/01/03
Posts: 231
Commenting out the "plugin_getmenuitems_glinks" in the plugins functions.inc file that should work.
Yes I am mental.
 Quote

Status: offline

JoelF

Forum User
Chatty
Registered: 07/18/04
Posts: 39
Quote by drshakagee: Commenting out the "plugin_getmenuitems_glinks" in the plugins functions.inc file that should work.


Thanks. I guess this is one way to start seeing how to build plugins So that's a standard callback... I tried commenting out the whole thing and gl wouldn't start. Then I tried setting it to return an empty string, and that returned a '0' in the menu bar area. What seems to work is to have the callback return null. Thanks for the pointer!

Regards,

Joel
 Quote

Status: offline

Euan

Forum User
Full Member
Registered: 04/22/02
Posts: 292
You can also get rid of the admin menu link there too if you like - same process. Thanks for covering, Doc!

Cheers,

Euan.
-- Heather Engineering
-- No job too small
 Quote

All times are EDT. The time is now 10:54 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content