The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Renameing Navigation Links

View previous topic View next topic Go down

Solved Renameing Navigation Links

Post by SummerRed on June 18th 2013, 12:26 am

I was  trying to rename the 'Home' button in the Navigation bar. I know how to create a new link and how to hide certain parts of the Navigation. That is not what I want. I just want to rename 'Home' to Index.

Forum URL: http://forum.sims-pets.com/

Thanks in advance!
-SummerRed


Last edited by SummerRed on June 22nd 2013, 12:15 am; edited 1 time in total

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SLGray on June 18th 2013, 1:04 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 4:16 am

That is what I want. and I followed what he said to do and it doesnt work.
Did I do it correctly:
Code:
$(function() {
document.getElementById('i_icon_mini_home').nextSibling.nodeValue='Index';
});

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SLGray on June 18th 2013, 4:31 am

It looks correct. Did it work?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 4:58 am

No... it still says Home

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Mati on June 18th 2013, 11:35 am

This shell work.


Code:
$(function() {
document.getElementById('i_icon_mini_index').nextSibling.nodeValue='Index';
});

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 3:28 pm

Nope... Do I need to post it anywhere else besides a Java script?

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Ultron's Vision on June 18th 2013, 4:36 pm

You should be able to do this with CSS.

Add this to your CSS Stylesheet (found under Admin Panel -> Display -> Pictures and Colors -> Colors -> CSS Stylesheet).

Code:
a.mainmenu[href="/"] {
content: "Index";
}

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 4:44 pm

Nope... Id don't understand what I am doing wrong.

I don't understand why you can't just modify the grayed out text. This is ridiculous. I am not illiterate in this sort of thing so I know I am doing it correctly.

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Mati on June 18th 2013, 5:07 pm

@SummerRed wrote:Nope... Do I need to post it anywhere else besides a Java script?

What you mean i test it and it works....What a Face

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Ultron's Vision on June 18th 2013, 5:15 pm

Might be because he has no images set for the navigation bar...

Can you provide us access to a test account so I can have a look at what the forum looks like for a registered user, please, SummerRed?

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 5:17 pm

Username: Test Account
Password: testing123



SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Mati on June 18th 2013, 5:21 pm

You don't use the default nav bar so why don't you change home to index via Templates overall_header Very Happy

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 5:25 pm

I do use the default nav bar. I just have stuff hidden? I shall try that though forgot about those templates haha

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Ultron's Vision on June 18th 2013, 5:29 pm

As I thought, you haven't set any images for the navbar so the codes we provided did not work.

If you are using phpBB 2, you can edit templates and - assuming that you would be ready to do so - I could edit them for you if you don't know how to do so. That would require me to have access to the founder account, so if you really feel that you cannot do it alone, PM me the account details. Otherwise, if you know how to edit the templates, I can give you the necessary instructions, as second option.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed on June 18th 2013, 5:30 pm

I know how to edit the templates I just need to know what to look for

SummerRed
New Member

Female Posts : 21
Reputation : 1
Language : English
Location : Nebraska

http://mysticfallsrpg.rpgboard.net/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Ultron's Vision on June 18th 2013, 6:34 pm

Code:
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>

This line is what you need to replace.

If you don't know what to modify for your script to work, tell me.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Richard. on June 18th 2013, 6:59 pm

Code:
a[href="/"] {
display: none;
line-height: normal !important;
}
a[href="/"]:after {
content: "Index" !important;
}

Richard.
Forumember

Male Posts : 248
Reputation : 12
Language : English,Romanian
Location : Durham, NC - USA.

http://forum.phpbbonline.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Jophy on June 22nd 2013, 10:46 am

Since this thread was marked solved, I'll move this thread now.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


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