The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Changing the name of 'home'?

3 posters

Go down

Changing the name of 'home'? Empty Changing the name of 'home'?

Post by JDC October 25th 2011, 11:19 pm

In the navigation bar, there is text saying various things. I want to change the text for 'Home' to 'Forum' but the Administration panel will not let me. Is there a way to do this?
avatar
JDC
Forumember

Posts : 46
Reputation : 0
Language : English

Back to top Go down

Changing the name of 'home'? Empty Re: Changing the name of 'home'?

Post by Mike October 25th 2011, 11:37 pm

I don't think it's possible unless you're using Forum Templates.
Mike
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Changing the name of 'home'? Empty Re: Changing the name of 'home'?

Post by LGforum October 25th 2011, 11:38 pm

Yes it is possible through Javascript.
What is your forum version?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Changing the name of 'home'? Empty Re: Changing the name of 'home'?

Post by JDC October 25th 2011, 11:40 pm

My forum version is PHBB2, I believe.
avatar
JDC
Forumember

Posts : 46
Reputation : 0
Language : English

Back to top Go down

Changing the name of 'home'? Empty Re: Changing the name of 'home'?

Post by Mike October 25th 2011, 11:41 pm

Then you should be able to do it, however I do not know the javascript to.
Mike
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Changing the name of 'home'? Empty Re: Changing the name of 'home'?

Post by LGforum October 26th 2011, 12:05 am

if you have a javascript function running in all pages already add this to it:
Code:

var x=$('a.mainmenu').get();
$(x[0]).text('Forum');

if not add this to a new javascript file
Code:

$(function() {
var x=$('a.mainmenu').get();
$(x[0]).text('Forum');
});

The bit where it says 'x[0]' you will need to change accordingly.
If Home is the first in your navbar then leave it as 0, if it is second then change it to 1, if it is third then change it to 2, and so on...
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum