Welcome to Geeklog Sunday, September 20 2020 @ 12:55 am EDT

Geeklog Forums

looking for file to adjust navigation bar


Status: offline

lucasraggers

Forum User
Newbie
Registered: 11/11/03
Posts: 3
I'm looking for the file where I can adjust the navigation bar. I want to get rid of the contribute, web resources, polls links.
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 12/01/03
Posts: 445
It's in your header.thtml (the one that belongs to your theme)
Look for a line containing

{menu_elements}
and/or
{plg_menu_elements}

geKow
 Quote

Status: offline

lucasraggers

Forum User
Newbie
Registered: 11/11/03
Posts: 3
That's also what I thought. But I can't find it. In the header.thtml file of Smooth_Blue I do can find the navigation items.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 16/07/02
Posts: 1232
Location:Canada
The top header menu items that you mention are contained in the template variable {menu_elements} in the template header.thtml file as geKow noted.

You won't be able to selectively remove menu items without editing the COM_siteHeader() function or the simplest approach is to edit the language file and just replace the MenuItem Label with "" so that nothing is displayed for the link.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

lucasraggers

Forum User
Newbie
Registered: 11/11/03
Posts: 3
Quote by Blaine: The top header menu items that you mention are contained in the template variable {menu_elements} in the template header.thtml file as geKow noted.

You won't be able to selectively remove menu items without editing the COM_siteHeader() function or the simplest approach is to edit the language file and just replace the MenuItem Label with "" so that nothing is displayed for the link.


That's a solution, thanks! But now I want to get rid of all the |||| that left behind: my site
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 16/07/02
Posts: 1232
Location:Canada
You can either edit (hack) the COM_siteHeader() in lib-common or since you may only want 1 link, why not just remove the template variable and the link HTML to the header.thtml file. Since it is not a user specific link - just add it to the template file manually.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

All times are EDT. The time is now 12:55 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