Jump to content

Add a Home page link to PhpBB2


websiteguy

Recommended Posts

The easiest way would be to just add it to the overall_header.tpl file.   Find the templates/ClanDarkness2/overall_header.tpl file and open it and find this section of code toward the bottom of the file.  It is included in a much longer line, but that is the part you need to find.

[code]<span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">[/code]


Just before that code add this code,of course you will need to change the http://www.yoursite.com to your actual home page link first tho.

[code]<span class="mainmenu"><a href="http://www.yoursite.com" class="mainmenu">Home</a></span>&nbsp;&nbsp;[/code]

After you have added it it should look like this.

[code]<span class="mainmenu"><a href="http://www.yoursite.com" class="mainmenu">Home</a>&nbsp;</span>&nbsp;&nbsp;<span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">[/code]


That will put a link called "Home"  right next to your Register link.




;)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.