edit nav links
5 posters
Page 1 of 1
edit nav links
how can i edit the nav links and change the name of the link, I DONT WANT IMAGES!!! Thanks.
Re: edit 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
Re: edit nav links
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
Re: edit nav links
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:
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:
- Code:
$(function() {
document.getElementById('i_icon_mini_portal').parentNode.innerHTML='Forum';
});
Guest- Guest
Re: edit nav links
Change it with jQuery .
Example :
- 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');
Re: edit nav links
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.
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
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: edit nav links
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
Re: edit nav links
Ofcourse you need too wrap it with :
Try this : (Put them in overall_footer before the </body>)
- Code:
<script type="text/javascript"></script>
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>
Re: edit nav links
Oh sorry, its for punbb . What's your forum version ?
If Phpbb2 then use this :
Example :
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>
Re: edit nav links
<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
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
Similar topics
» how can i edit the name of the nav links on top
» I cannot edit the nav links
» Can I edit Nav Links?
» Can't edit Nav Links
» Edit links in footer
» I cannot edit the nav links
» Can I edit Nav Links?
» Can't edit Nav Links
» Edit links in footer
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum