Trying to add a link button on the BB, back to my website.

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
dziner55
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 10:29 pm

Trying to add a link button on the BB, back to my website.

Post by dziner55 » Wed Feb 04, 2009 10:36 pm

Your board's URL: 7litre.org
Version of phpBB3:3.0.4
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)?upgrade
If update, what package(s) did you use?
Did you use an automated wizard provided by your host to install phpBB?
MODs you have installed:
When the problem started: No problem. Trying to add something
Your level of expertise (be honest): Novice

This may not be the place for this, but since the regular support is down, I figured I would give it a try.

I want to create a URL, back to my website FROM the forum. I figured I would use the logo at the top left for this. It currently leads back to the board index, but there is already a link below it, which does the same thing. Does anyone have the code I would use for this, and know which page to put it on?


Thanks,

Vince

User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Trying to add a link button on the BB, back to my website.

Post by Kevin Clark » Wed Feb 04, 2009 11:00 pm

If you open the template/overall_header.html file and look for this

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
you can change "{U_INDEX}" to "http://www.whatever"

eg

Code: Select all

<a href="http://www.7litre.org" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Then admin panel
styles
template
refresh

That will make the logo go back to the homepage
Image

dziner55
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 10:29 pm

Re: Trying to add a link button on the BB, back to my website.

Post by dziner55 » Wed Feb 04, 2009 11:48 pm

I hate to sound like a dope, but what folder is "template/overall_header.html file " in?

In the forum Folder, I have mostly .php files, and then a bunch of other folders and I can't seem to locate the one called template/overall_header.html

Sorry if this is a lame question.

Pond Life
Registered User
Posts: 11
Joined: Sun Feb 01, 2009 11:48 pm
Location: http://127.0.0.1/
Contact:

Re: Trying to add a link button on the BB, back to my website.

Post by Pond Life » Wed Feb 04, 2009 11:53 pm

styles/thestyleyou'reusing/template/overall_header.html

dziner55
Registered User
Posts: 3
Joined: Wed Feb 04, 2009 10:29 pm

Re: Trying to add a link button on the BB, back to my website.

Post by dziner55 » Thu Feb 05, 2009 12:22 am

You guys are Awesome! Thanks.

This is one of the best Support BB's I have ever been on. Any question I have had has been answered concisely and correctly.



Thanks again.

Vince

ricotroyes
Registered User
Posts: 4
Joined: Thu Feb 05, 2009 10:44 am

Re: Trying to add a link button on the BB, back to my website.

Post by ricotroyes » Thu Feb 05, 2009 11:01 am

error sorry ;(
Last edited by ricotroyes on Thu Feb 05, 2009 12:43 pm, edited 1 time in total.

ricotroyes
Registered User
Posts: 4
Joined: Thu Feb 05, 2009 10:44 am

Re: Trying to add a link button on the BB, back to my website.

Post by ricotroyes » Thu Feb 05, 2009 11:07 am

Hi there :)

I'd like to do the same, but can't find the same line in my "overall_header.html" and for the moment, my logo (spacer.gif) is not a link. i'd like to use it to back to my portal

here is the code in my file :

Code: Select all

<img src="{T_THEME_PATH}/images/spacer.gif" alt="spacer" height="249"></img>
<table width="814" cellspacing="0" cellpadding="0" border="0">
<tr>
		<td class="podkreslenie">
<a href="{U_INDEX}" class="one">{L_INDEX}</a>
Thanks for help =)

User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Trying to add a link button on the BB, back to my website.

Post by Kevin Clark » Thu Feb 05, 2009 12:33 pm

Depends on your style.

It's likely to be this

Code: Select all

<a href="{U_INDEX}" class="one">{L_INDEX}</a>
changed to

Code: Select all

<a href="http://yoursite.com" class="one">{L_INDEX}</a>
Image

ricotroyes
Registered User
Posts: 4
Joined: Thu Feb 05, 2009 10:44 am

Re: Trying to add a link button on the BB, back to my website.

Post by ricotroyes » Thu Feb 05, 2009 12:48 pm

thanks for your reply :)

your exemple is for "forum index" right ? but i'd like to make "spacer.gif" as a link for portal. In phpBB 2.0.x i have done this link, perhaps by admin panel, but now with 3.0.4 cant find it :-(

User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Trying to add a link button on the BB, back to my website.

Post by Kevin Clark » Thu Feb 05, 2009 12:54 pm

It depends entirely what style you have. Without a link it's hard to say.
Probably better to post in the styles forum if you want to edit which image goes to your portal.
Image

Locked