Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 02:36 am EST

Geeklog Forums

Menu elements


Status: offline

Eddy

Forum User
Newbie
Registered: 10/18/02
Posts: 10
Just wondering how about do I go to have my stuff added into {menu_elements}? I know I can basically take this tag off and put the links manually in there, but just want to know geeklog better as I am pretty much new at it. What do I have to do if I want my page titles to be listed in the menu_elements area? Thx, Ed
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The {menu_elements} variable is just a shortcut for the usual menu elements. It is not meant to be extended or changed in any way (although you could if you'd hack lib-common.php). To get your own entries into the menu, either hard-code them in header.thtml or use a plugin that can add entries to {plg_menu_entries}, e.g. the static pages plugin. bye, Dirk
 Quote

All times are EST. The time is now 02:36 am.

  • 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