Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:02 pm EST

Geeklog Forums

Header Menu Item for logged-in users


Status: offline

muntada

Forum User
Junior
Registered: 02/25/03
Posts: 34
I would like to create a menu item which is really only a link. I want the link to be based upon the permissions. In other words, if the user is an admin, he will see a menu item that is really only a link while a regular member will not see the menu item but perhaps a different menu item.

I can create a static page with a menu item that only certain users sees but that goes to an actual page. In my scenario, I simply want a link rather than a page.
--------------------
MuntadaNet, Inc.
Web Hosting
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
See the function CUSTOM_menuEntries in the lib-custom.php that ships with Geeklog. It contains an example on how to do just that.

bye, Dirk
 Quote

All times are EST. The time is now 08:02 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