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.

edit nav links

5 posters

Go down

edit nav links Empty edit nav links

Post by shawn.m June 1st 2011, 5:48 pm

how can i edit the nav links and change the name of the link, I DONT WANT IMAGES!!! Thanks. bwi
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by Rac June 1st 2011, 5:51 pm

Acp > display > headers and navigation > nav links

Never mind, it won't let you change the name.


Last edited by Rac on June 1st 2011, 6:03 pm; edited 1 time in total
avatar
Rac
Forumember

Male Posts : 39
Reputation : 1
Language : English, French, German
Location : England

http://jhgamesforums.forumotion.co.uk

Back to top Go down

edit nav links Empty Re: edit nav links

Post by Base June 1st 2011, 5:52 pm

As far as I know, it's not possible to change the name of the links... scratch
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 1st 2011, 5:54 pm

omg Why ? this would be a great mod beacuse i don't understand why it's called a PORTAL lol what the hell is a portal lol i just want "HOME" "FORUM" and not portal home lol
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by Guest June 1st 2011, 9:49 pm

ACP>Modules>Portal Management.

Find the page you want to modify, then click Structure. Change the page name to what you want, and that name will show up in the navbar when it is the active portal page.

This will work too: Very Happy

Code:
$(function() {
document.getElementById('i_icon_mini_portal').parentNode.innerHTML='Forum';
});
avatar
Guest
Guest


Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 2nd 2011, 10:24 am

i can not find that anywere :/
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by E-Mark June 2nd 2011, 11:18 am

Change it with jQuery .
Code:
jQuery("#pun-navlinks li a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');jQuery("#pun-navlinks li a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');

Example :
Code:
jQuery("#pun-navlinks li a[href^='/profile?mode=editprofile']").html('UCP');jQuery("#pun-navlinks li a[href^='/privmsg']").html('Mailbox');
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by LGforum June 2nd 2011, 12:16 pm

oooorrr and easier method would be...

too just make a new navbar link, call it what you want and then link it to ehat you want.

For example, i wanted to call my faq, 'FAQ/Help' instead of 'FAQ' so i made a new navbar link and called FAQ/Help, and linked it to the FAQ. I then got rid of the old FAQ link. So just my new one was their. easy.
LGforum
LGforum
Hyperactive

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

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 2nd 2011, 12:40 pm

mark1111 wrote:Change it with jQuery .
Code:
jQuery("#pun-navlinks li a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');jQuery("#pun-navlinks li a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');

Example :
Code:
jQuery("#pun-navlinks li a[href^='/profile?mode=editprofile']").html('UCP');jQuery("#pun-navlinks li a[href^='/privmsg']").html('Mailbox');

This don't work Sad
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by E-Mark June 2nd 2011, 12:46 pm

Ofcourse you need too wrap it with :
Code:
<script type="text/javascript"></script>

Razz

Try this : (Put them in overall_footer before the </body>)
Code:
<script type="text/javascript">
jQuery("#pun-navlinks li a[href^='/profile?mode=editprofile']").html('UCP');jQuery("#pun-navlinks li a[href^='/privmsg']").html('Mailbox');
</script>
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 2nd 2011, 2:23 pm

that dont work Sad
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by E-Mark June 2nd 2011, 2:30 pm

Oh sorry, its for punbb . What's your forum version ?
If Phpbb2 then use this :
Code:
<script type="text/javascript">jQuery("a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');jQuery("a[href^='THE LINK YOU WANT TO CHANGE WITH TEXT']").html('NAME YOU WANT TO CHANGE WITH');</script>

Example :
Code:
<script type="text/javascript">
jQuery("a[href^='/profile?mode=editprofile']").html('UCP');jQuery("a[href^='/privmsg']").html('Mailbox');
</script>
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 2nd 2011, 2:42 pm

<script type="text/javascript">
jQuery("a[href^='/profile?mode=editprofile']").html('UCP');jQuery("a[href^='/privmsg']").html('Mailbox');
</script>

this works but it also changes the links on the pages :/
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 2nd 2011, 7:17 pm

Update the logo is not showing now ?
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 4th 2011, 6:51 pm

Bump it works but it hides my logo ??
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

edit nav links Empty Re: edit nav links

Post by shawn.m June 6th 2011, 12:27 pm

bump Smile
shawn.m
shawn.m
Forumember

Male Posts : 365
Reputation : 1
Language : English

http://modifiedcarroom.com/

Back to top Go down

Back to top

- Similar topics

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