TinyPortal

Development => Support => Topic started by: rockskullz on November 06, 2007, 12:56:53 AM

Title: Removing the header links?
Post by: rockskullz on November 06, 2007, 12:56:53 AM
How can I remove the header links on my TP? I just want to use the side menu i made. Link to my site: www.offroad-review.com Thanks!
Title: Re: Removing the header links?
Post by: IchBin on November 06, 2007, 01:48:19 AM
You're going to have to be more specific than "header links". Especially since we don't even know what theme you're referring to, or what the "header links" are to you.
Title: Re: Removing the header links?
Post by: rockskullz on November 06, 2007, 06:23:25 PM
on my header is the following links below the header image.
| Home | Forum | Help | Calendar | Login | Register |

Id actually like to just hide the header links to guests if thats easier.

As for theme, im using TP_day-of-defeat

Thanks
Title: Re: Removing the header links?
Post by: IchBin on November 06, 2007, 06:33:10 PM
You can open the index.template.php file and remove the first instance of template_menu() you see. That will make the menu go away. If you want to only show them to logged in members that a bit more difficult but doable.

Will need to see your function template_menu() code at the bottom of that file if you want to do the latter.
Title: Re: Removing the header links?
Post by: rockskullz on November 06, 2007, 07:17:43 PM
thanks IchBin!