Link to home page

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Ideas Centre
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Link to home page

Post by MPG187 » Fri Jan 15, 2010 8:14 pm

On my forum (http://operation420.net/forum) I want a link to my home page (http://operation420.net/) to appear. How do I do this?
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

MetalRush
Registered User
Posts: 17
Joined: Thu Jan 16, 2003 10:58 pm
Location: The Netherlands
Contact:

Re: Link to home page

Post by MetalRush » Fri Jan 15, 2010 9:05 pm

May I be so frank to tag along and ask for the same?
I hope MPG187 also want this link in the breadcrum bar (left of the 'Board index' -link).

Sorry to butt in, like this MPG187 :roll:

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Link to home page

Post by MPG187 » Fri Jan 15, 2010 10:55 pm

Left of "Index" something saying "Operation420.net" would be nice...

I am sure this wouldn't be hard to do...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Link to home page

Post by HGN » Fri Jan 15, 2010 11:03 pm

For prosilver based styles you can follow Knowledge Base - Adding a new link and icon to your header to get a link with icon in your header.

MetalRush
Registered User
Posts: 17
Joined: Thu Jan 16, 2003 10:58 pm
Location: The Netherlands
Contact:

Re: Link to home page

Post by MetalRush » Fri Jan 15, 2010 11:55 pm

Thanx Alfred,

I implemented this solution and it works, but...
The link is on the wrong spot :P

This is how I would like it to be:
Image

Any thoughts?

User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Link to home page

Post by HGN » Sat Jan 16, 2010 12:31 am

The knowledgebase article says:
Open: styles/prosilver/template/overall_header.html, find:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
After, add:

Code: Select all

<li class="icon-name"><a href="{U_NAME}" title="{L_NAME_EXPLAIN}">{L_NAME}</a></li>
Instead do:

Find:

Code: Select all

<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
Before, add:

Code: Select all

<li class="icon-name"><a href="{U_NAME}" title="{L_NAME_EXPLAIN}">{L_NAME}</a></li>

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Link to home page

Post by MPG187 » Sat Jan 16, 2010 1:43 am

I applied the edits and it only seems to appear on the prosilver theme, how do you make it appear on all the themes>
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Link to home page

Post by HGN » Sat Jan 16, 2010 2:06 am

Most of it is a per style modification.
Everywhere it reads "prosilver" in the path, you should replace that for every style you are using on your board. Note though that the contents of the files might be different, so exact matches may not be found.

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Link to home page

Post by MPG187 » Sat Jan 16, 2010 2:19 am

How do I do it with one edit? I have 20 styles and am not doing this 20 times...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

User avatar
sunsop
Registered User
Posts: 671
Joined: Sat Sep 05, 2009 6:36 am

Re: Link to home page

Post by sunsop » Sat Jan 16, 2010 3:36 am

MPG187 wrote:How do I do it with one edit? I have 20 styles and am not doing this 20 times...
You can't.

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Link to home page

Post by MPG187 » Sat Jan 16, 2010 4:24 am

sunsop wrote:
MPG187 wrote:How do I do it with one edit? I have 20 styles and am not doing this 20 times...
You can't.
That's gay. I need to do this and don't wanna do it for every theme...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

User avatar
calebrw
Registered User
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota
Contact:

Re: Link to home page

Post by calebrw » Sat Jan 16, 2010 4:49 am

There is no way to do what you want. You have to do it manually.
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: Link to home page

Post by stickerboy » Sat Jan 16, 2010 4:50 am

There's not easy way of doing it, other than editing each style
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

MetalRush
Registered User
Posts: 17
Joined: Thu Jan 16, 2003 10:58 pm
Location: The Netherlands
Contact:

Re: Link to home page

Post by MetalRush » Sun Jan 17, 2010 1:00 am

HGN wrote:The knowledgebase article says:
Open: styles/prosilver/template/overall_header.html, find:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
After, add:

Code: Select all

<li class="icon-name"><a href="{U_NAME}" title="{L_NAME_EXPLAIN}">{L_NAME}</a></li>
Instead do:

Find:

Code: Select all

<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
Before, add:

Code: Select all

<li class="icon-name"><a href="{U_NAME}" title="{L_NAME_EXPLAIN}">{L_NAME}</a></li>
And thanks again, Alfred.
Works like a charm.
I hope our usergroup will enjoy it as much as I enjoyed it, putting it in :lol:
Kudo's to you, my friend :mrgreen:

User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Link to home page

Post by MPG187 » Sun Jan 17, 2010 6:16 pm

cherokee red wrote:There's not easy way of doing it, other than editing each style
That's not very practical. that needs to be changed. Mods too, I have mods on my forum that are only installed on few themes. Mods that add things that should be in the software anyways...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14

Post Reply

Return to “phpBB Discussion”