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.

edit nav links

View previous topic View next topic Go down

edit nav links

Post by shawn.m on 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
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

Post by Rac on 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

Rac
Forumember

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

http://jhgamesforums.forumotion.co.uk

Back to top Go down

Re: edit nav links

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

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

Base
Forumaster

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

http://forumotionhub.net

Back to top Go down

Re: edit nav links

Post by shawn.m on 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
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

Post by Guest on 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';
});

Guest
Guest


Back to top Go down

Re: edit nav links

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

i can not find that anywere :/

shawn.m
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

Post by E-Mark on 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
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

Re: edit nav links

Post by LGforum on 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
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: edit nav links

Post by shawn.m on 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
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

Post by E-Mark on 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
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

Re: edit nav links

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

that dont work Sad

shawn.m
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

Post by E-Mark on 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
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

Re: edit nav links

Post by shawn.m on 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
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

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

Update the logo is not showing now ?

shawn.m
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

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

Bump it works but it hides my logo ??

shawn.m
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

Back to top Go down

Re: edit nav links

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

bump Smile

shawn.m
Forumember

Male Posts : 365
Reputation : 0
Language : English

http://modifiedcarroom.com/

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