Add A Header Tab

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
vicpylon
Posts: 1
Joined: Sun Jun 28, 2009 5:14 am

Add A Header Tab

Post by vicpylon »

Hello,

I would like to add a new button to the top of the front page, next to "add content" and "advanced search." I am having difficulty finding the correct file to edit. I looked in the index.tpl and found the area to add a new entry, but I would like to use the existing css setup and when I add a new entry, it does not inherit the css like the other entries. Could someone point me to where I need to enter the new button's info to be properly displayed? I just want to make the button a hyperlink to another site.

Thank you,

Vic, the rookie
johanna
Posts: 23
Joined: Mon Jun 08, 2009 1:09 pm
Location: Finland

Re: Add A Header Tab

Post by johanna »

Hi!

index.tpl is the right file. There is block between <!-- start headers --> and <!-- end headers --> and there is list of links inside of <ul> element. You just need to add there something like this:

Code: Select all

<li><a href="http://google.com">Link to Google</a></li>
Post Reply