Page 11 of 12

Re: Add Homepage link in header

Posted: Sun Jan 03, 2010 6:27 am
by sora12
Hey there, I have a question. How would to change the link text from "Homepage" to what ever I desired it to be?

Re: Add Homepage link in header

Posted: Sun Jan 03, 2010 4:02 pm
by ihab
thx man

id it work on 3.0.6 ?

:mrgreen:

Re: Add Homepage link in header

Posted: Mon Jan 04, 2010 8:41 am
by ChriZathens
sora12 wrote:Hey there, I have a question. How would to change the link text from "Homepage" to what ever I desired it to be?
In language/en/common.php the instructions tell you to find

Code: Select all

	'HOME'							=> 'Home',

and after, add

Code: Select all

	'HOMEPAGE'						=> 'Homepage',
Change Homepage to whatever you like (not the one with the capital letters, that one leave it as is)
ihab wrote:thx man

id it work on 3.0.6 ?

:mrgreen:
It should, yes

Re: Add Homepage link in header

Posted: Thu Jan 07, 2010 12:13 am
by sora12
Thx! It works!

Re: Add Homepage link in header

Posted: Sun Jan 17, 2010 7:06 am
by Stack
Ok...So Chris,.... I've downloaded you mod for putting a homepage link in the header for phpbb3.xx all is well when i goto the acp but i'm getting an error when i insert the SQL code and the forum will not boot... if I take the code out the forum boots and i can enter settings in the ACP but no link appears... Any help is appreciated.. since this is ALL NEW to me and i'm in HTML overload!! ;-) thanx in advance!!

Re: Add Homepage link in header

Posted: Sun Jan 17, 2010 10:36 pm
by ChriZathens
You will need to provide some more information on this..
What is the error that you are getting?

Re: Add Homepage link in header

Posted: Wed Feb 17, 2010 12:37 am
by newn
Hi. How can i make this work with 1Game template? I mean it's not in right place...

Re: Add Homepage link in header

Posted: Wed Feb 17, 2010 8:52 am
by ChriZathens
You must use the instructions for subsilver2.
If you need further help, give me a link to download this style and I'll perhaps be able to help.. :)

EDIT: Oh, I found 1Game template...
To install open styles/1Game/template/overall_header.html
Find

Code: Select all

<div class="left"><a href="{U_INDEX}">{L_INDEX}</a></div>
Add before

Code: Select all

<div class="left"><!-- IF S_SHOW_HOMEPAGE and U_HOMEPAGE --><a href="{U_HOMEPAGE}" <!-- IF U_HOMEPAGE_TITLE -->title="{U_HOMEPAGE_TITLE}"<!-- ENDIF --><!-- IF S_SHOW_HOMEPAGE_IN_NEW -->onclick="window.open(this.href); return false;"<!-- ENDIF -->>{L_HOMEPAGE}</a><!-- ENDIF --></div>	
Let me know if it is OK...

Re: Add Homepage link in header

Posted: Wed Feb 17, 2010 1:26 pm
by newn
Yea, i did like in subsilver2 style... That's why i'v asked.

And Thanks! It works perfectly! Great mod.

Re: Add Homepage link in header

Posted: Wed Feb 17, 2010 3:24 pm
by ChriZathens
Cool..
I'll add the instructions in the 3rd post... :)

Need help with { } surrounding the HOMEPAGE link

Posted: Thu Apr 15, 2010 3:44 am
by okeespec
I feel like I followed the instructinos but I'm getting brackets around the word HOMEPAGE. It looks like this: { HOMEPAGE }

Can someone please tell me how to get rid of those brackets? I appreciate the help. You can see it at http://www.ahfgrant.org/forum/

Thanks for the help.

Craig

Re: Add Homepage link in header

Posted: Thu Apr 15, 2010 10:38 am
by ChriZathens
You forgot a step in language/en/common.php and/or language/your_language/common.php
Find

Code: Select all

	'HOME'							=> 'Home',
Add after

Code: Select all

	'HOMEPAGE'						=> 'Homepage',

Re: Add Homepage link in header

Posted: Thu Apr 15, 2010 4:34 pm
by okeespec
Thank you that fixed that problem. I appreciate the help.

Craig

Re: Add Homepage link in header

Posted: Fri Apr 23, 2010 10:11 pm
by kepico
Don't want to seem like a newbie here - but how exactly do I install this? I extracted to my computer but do I install like any other style (to the styles folder?) or do I need to select each file separate and upload them to specific folders? - I am using prosilver

Re: Add Homepage link in header

Posted: Mon Apr 26, 2010 8:30 am
by ChriZathens