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.

how can i edit the name of the nav links on top

+2
petros_7
Mr DarkHaxers2
6 posters

Go down

how can i edit the name of the nav links on top Empty how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 January 16th 2012, 5:20 am

I was wondering how can i edit the name of the nav links cause i really want to know how please tell me

Forum Version: PunBB
Mr DarkHaxers2
Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by petros_7 January 19th 2012, 10:35 pm

this can not be
petros_7
petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 January 24th 2012, 6:00 am

BUMB
Mr DarkHaxers2
Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by Mati January 24th 2012, 8:39 am

No need to bump cuz petros_7, give you the answer. Cool so you can't edit the current text.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by LGforum January 24th 2012, 3:36 pm

Here's a script that allow you to change the text of the navlinks:
Stick it in an announcement or widget.
Code:

<script>
(function (){
var n="i_icon_mini_";

if(document.getElementById(n+'search')){
  document.getElementById(n+'search').parentNode.innerHTML="New Text"; }

})();
</script>

To use, it all you must do is simple replicate the middle two lines.
Each time replacing where it says 'search' for something else and of course replacing the new text.

For the Home link change 'search' to 'index'
For the Portal Link, change 'search' to 'portal'
for the memberlist link, change 'search' to 'members'

Feel free to ask for any more links if your not sure.
LGforum
LGforum
Hyperactive

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

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by The Lone Ranger January 24th 2012, 5:46 pm

Or you could replace the text with a picture (button), and put your own text on it.
The Lone Ranger
The Lone Ranger
Forumember

Male Posts : 443
Reputation : 37
Language : English
Location : Scotland

http://www.tenerifesforumoffun.com

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by betistapir January 27th 2012, 1:29 am

mermaid wrote:Or you could replace the text with a picture (button), and put your own text on it.
top answer of the month huhohi
avatar
betistapir
New Member

Male Posts : 20
Reputation : 1
Language : indonesia

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 January 27th 2012, 2:40 am

LGForum Wut Is The Variables For the name for the links
Mr DarkHaxers2
Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by LGforum January 27th 2012, 1:45 pm

What ones are you wanting to change?
LGforum
LGforum
Hyperactive

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

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by Mr DarkHaxers2 January 27th 2012, 5:01 pm

You Have no messages that one and memberlist to members and log out username to Log Out
Mr DarkHaxers2
Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

how can i edit the name of the nav links on top Empty Re: how can i edit the name of the nav links on top

Post by LGforum January 27th 2012, 8:12 pm

As i say all that needs changing in the script is the word 'search'. So change the both words 'search' to whatever, and duplicate the middle two lines.

For the memberlist link change 'search' to 'members'
For the logout its 'logout'
and for the private message its 'message'
LGforum
LGforum
Hyperactive

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

Back to top Go down

Back to top

- Similar topics

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