How do I add 2 new links?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Locked
fordy181
Registered User
Posts: 137
Joined: Tue Apr 24, 2007 11:57 am

How do I add 2 new links?

Post by fordy181 »

Hi,

Can someone tell me how I add 2 new links to where it says

FAQ Search Members User Control Panel

http://www.goonersworld.co.uk/forum

Which file is it I need to edit?

Thanks
Last edited by stickerboy on Wed Apr 16, 2008 10:28 am, edited 1 time in total.
Reason: Moved to Styles
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: How do I add 2 new links?

Post by *Christian* »

It will be in /style/template/Overall_header.html :)
Proud owner of Bertie 3.0
:: No support via PM or IM ::
atrhick
Registered User
Posts: 18
Joined: Fri Apr 11, 2008 4:38 pm

Re: How do I add 2 new links?

Post by atrhick »

find this code and your set

Code: Select all

{L_FAQ}</a></li>
                <li class="icon-faq"><a href="http://www.amazingsigns.org/ASForum/chat" title="Chat Room" target="_blank">Chat Room</a></li>
	    <!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}
noitce i addes a chat room link or myself
fordy181
Registered User
Posts: 137
Joined: Tue Apr 24, 2007 11:57 am

Re: How do I add 2 new links?

Post by fordy181 »

Thanks for that, it's just what I wanted.

Is there a way to space the website,blog and FAQ wording out a bit though? Looks a bit too close together

Thanks
User avatar
echo2k5
Registered User
Posts: 197
Joined: Sun May 21, 2006 6:09 pm
Location: 3 paces to the west.
Contact:

Re: How do I add 2 new links?

Post by echo2k5 »

Just add a space like so: &nbsp;

Code: Select all

Chat Room</a>&nbsp;</li>
to each link you want spaced.
fordy181
Registered User
Posts: 137
Joined: Tue Apr 24, 2007 11:57 am

Re: How do I add 2 new links?

Post by fordy181 »

Perfect! Thank you very much :)
Captain Don
Registered User
Posts: 88
Joined: Wed Jan 17, 2007 4:46 am
Location: Michigan
Contact:

Re: How do I add 2 new links?

Post by Captain Don »

Ok I just updated to phpBB3 and my style is a little different.

I need to add my photo gallery to the top links:
User Control Panel • 0 new messages • FAQ • Search • Members • Logout [ Captain Don ]
Here's the forum link what folder is this script in to add the photo link?

MichiganOutdoorsman Forum
User avatar
echo2k5
Registered User
Posts: 197
Joined: Sun May 21, 2006 6:09 pm
Location: 3 paces to the west.
Contact:

Re: How do I add 2 new links?

Post by echo2k5 »

Captain Don wrote:Ok I just updated to phpBB3 and my style is a little different.

I need to add my photo gallery to the top links:
User Control Panel • 0 new messages • FAQ • Search • Members • Logout [ Captain Don ]
Here's the forum link what folder is this script in to add the photo link?

MichiganOutdoorsman Forum
Open the overall_header.html file and find:
<td class="navrow">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
<a href="{U_FAQ}">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
</td>
Add your link like:

Code: Select all

&#8226; <a href="http://www.YOURGALLERYLINK.com">Gallery</a>
before the:</td>



If you only want the link visable to logged in members:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->&#8226; <a href="http://www.YOURGALLERYLINK.com">Gallery</a><!-- ENDIF -->
Captain Don
Registered User
Posts: 88
Joined: Wed Jan 17, 2007 4:46 am
Location: Michigan
Contact:

Re: How do I add 2 new links?

Post by Captain Don »

Thank you so much I will mess with it tomorrow!
Captain Don
Registered User
Posts: 88
Joined: Wed Jan 17, 2007 4:46 am
Location: Michigan
Contact:

Re: How do I add 2 new links?

Post by Captain Don »

Ok I added it and it didn't show up...does it take awhile to go from my host?
Captain Don
Registered User
Posts: 88
Joined: Wed Jan 17, 2007 4:46 am
Location: Michigan
Contact:

Re: How do I add 2 new links?

Post by Captain Don »

Thanks alot I got it working!
Locked

Return to “[3.0.x] Styles Support & Discussion”