Add Homepage link in header

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
sora12
Registered User
Posts: 2
Joined: Sun Jan 03, 2010 6:23 am

Re: Add Homepage link in header

Post 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?
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: Add Homepage link in header

Post by ihab »

thx man

id it work on 3.0.6 ?

:mrgreen:
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post 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
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
sora12
Registered User
Posts: 2
Joined: Sun Jan 03, 2010 6:23 am

Re: Add Homepage link in header

Post by sora12 »

Thx! It works!
Stack
Registered User
Posts: 2
Joined: Sun Jan 17, 2010 6:59 am

Re: Add Homepage link in header

Post 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!!
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

You will need to provide some more information on this..
What is the error that you are getting?
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
newn
Registered User
Posts: 98
Joined: Fri Apr 25, 2008 6:06 pm

Re: Add Homepage link in header

Post by newn »

Hi. How can i make this work with 1Game template? I mean it's not in right place...
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post 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...
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
newn
Registered User
Posts: 98
Joined: Fri Apr 25, 2008 6:06 pm

Re: Add Homepage link in header

Post by newn »

Yea, i did like in subsilver2 style... That's why i'v asked.

And Thanks! It works perfectly! Great mod.
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

Cool..
I'll add the instructions in the 3rd post... :)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
okeespec
Registered User
Posts: 2
Joined: Thu Apr 15, 2010 3:39 am

Need help with { } surrounding the HOMEPAGE link

Post 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
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post 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',
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
okeespec
Registered User
Posts: 2
Joined: Thu Apr 15, 2010 3:39 am

Re: Add Homepage link in header

Post by okeespec »

Thank you that fixed that problem. I appreciate the help.

Craig
kepico
Registered User
Posts: 14
Joined: Fri Apr 23, 2010 12:02 am

Re: Add Homepage link in header

Post 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
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Add Homepage link in header

Post by ChriZathens »

My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
Locked

Return to “[3.0.x] MOD Database Releases”