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.

Renameing Navigation Links

+2
SLGray
SummerRed
6 posters

Go down

Solved Renameing Navigation Links

Post by SummerRed Mon Jun 17, 2013 5:26 pm

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 Fri Jun 21, 2013 5:15 pm; edited 1 time in total
SummerRed
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 Mon Jun 17, 2013 6:04 pm



Renameing Navigation Links Slgray10

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

Male Posts : 51575
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed Mon Jun 17, 2013 9:16 pm

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
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 Mon Jun 17, 2013 9:31 pm

It looks correct. Did it work?


Renameing Navigation Links Slgray10

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

Male Posts : 51575
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed Mon Jun 17, 2013 9:58 pm

No... it still says Home
SummerRed
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 Tue Jun 18, 2013 4:35 am

This shell work.


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

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed Tue Jun 18, 2013 8:28 am

Nope... Do I need to post it anywhere else besides a Java script?
SummerRed
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 Tue Jun 18, 2013 9:36 am

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
Ultron's Vision
Forumember

Male Posts : 631
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 Tue Jun 18, 2013 9:44 am

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
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 Tue Jun 18, 2013 10:07 am

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
Mati
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by Ultron's Vision Tue Jun 18, 2013 10:15 am

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
Ultron's Vision
Forumember

Male Posts : 631
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 Tue Jun 18, 2013 10:17 am

Username: Test Account
Password: testing123


SummerRed
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 Tue Jun 18, 2013 10:21 am

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

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Renameing Navigation Links

Post by SummerRed Tue Jun 18, 2013 10:25 am

I do use the default nav bar. I just have stuff hidden? I shall try that though forgot about those templates haha
SummerRed
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 Tue Jun 18, 2013 10:29 am

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
Ultron's Vision
Forumember

Male Posts : 631
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 Tue Jun 18, 2013 10:30 am

I know how to edit the templates I just need to know what to look for
SummerRed
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 Tue Jun 18, 2013 11:34 am

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
Ultron's Vision
Forumember

Male Posts : 631
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. Tue Jun 18, 2013 11:59 am

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

Male Posts : 249
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 Sat Jun 22, 2013 3:46 am

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

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

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