Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 04:11 pm EST
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
Thanks in advance,
Joel
6
6
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.
Yes I am mental.
5
5
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
7
7
Quote
All times are EST. The time is now 04:11 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