How to change menu name in the navbar

Go down

Tutorial How to change menu name in the navbar

Post by Th1nK on Tue Apr 10, 2012 10:39 am

You try everything and didn't work. Don't worry. Do these steps:
Important:
I'm talking not for image navbar but for text navbar like here in this forum!
1) Navigate to Admin panel->Modules->Javascript codes managment
2) Create New Javascript
3) Give name and mark "In all pages"
3) Place this code:
Code:
$(function() {
document.getElementById('i_icon_mini_menuhere').nextSibling.nodeValue='New name';
});
Where:
menuhere: give the menu name such as portal,calendar,home etc.
New name: give the menu new name.
4) Save
It is very easy and always work!
Credits:
80% Forumotion
20% Me (notes, images, etc.)
avatar
Th1nK
Administrator
Administrator

Posts : 468
Join date : 2012-04-06
Reputation : 43

View user profile http://www.csshelp.net

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Mati™ on Tue Apr 10, 2012 10:47 am

It works perfect but is there any trick for the New PM!

B.T.W Nice tutorial. Smile
avatar
Mati™
Administrator
Administrator

Age : 32
Posts : 2113
Join date : 2011-10-20
Forum Version : PhpBB3
Reputation : 147

View user profile http://fmfocus.forumotion.net/forum

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by L! on Mon Jul 09, 2012 4:32 pm

Nice tutorial. But I'm using jQuery .text() function. Razz

Matti wrote:It works perfect but is there any trick for the New PM!

B.T.W Nice tutorial. Smile
Hmm, like this:
Code:
$(function(){
$('a.mainmenu:contains("You have 1 new private message")').text('Check your PM bro!');
});
avatar
L!
Premium Member


Age : 20
Posts : 105
Join date : 2012-07-05
Reputation : 5

View user profile http://www.ldevelopment.org/

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Pyro on Tue Jul 10, 2012 1:21 am

I don't get this. I need help.
avatar
Pyro
Member
Member

Age : 21
Posts : 11
Join date : 2012-07-10
Reputation : 1

View user profile

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Dusan on Tue Jul 10, 2012 9:23 am

What don't u get?
avatar
Dusan
Member
Member

Age : 23
Posts : 711
Join date : 2012-06-08
Forum Version : PunBB
Reputation : 36

View user profile http://www.csshelp.net

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Pyro on Tue Jul 10, 2012 10:20 pm

what to edit
You think if i give you a admin test account it will help?
avatar
Pyro
Member
Member

Age : 21
Posts : 11
Join date : 2012-07-10
Reputation : 1

View user profile

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Mati™ on Tue Jul 10, 2012 10:22 pm

You can change all your nav bar names for example "Home" to "Forum" and so on...
avatar
Mati™
Administrator
Administrator

Age : 32
Posts : 2113
Join date : 2011-10-20
Forum Version : PhpBB3
Reputation : 147

View user profile http://fmfocus.forumotion.net/forum

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Guest on Tue Jul 10, 2012 10:30 pm

Great Tutorial!

Guest
Guest


Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Pyro on Thu Jul 12, 2012 9:53 pm

Is there a way to change the Log Out one?
avatar
Pyro
Member
Member

Age : 21
Posts : 11
Join date : 2012-07-10
Reputation : 1

View user profile

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Guest on Thu Jul 12, 2012 10:01 pm

Great Tutorial! I love it!

Guest
Guest


Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by tommycoo on Tue Sep 18, 2012 5:57 am

if i used this code
Code:
$(function(){
$('a.mainmenu:contains("You have 1 new private message")').text('Check your PM bro!');
});

for my pun bb but i've my own navbar and used html like
Code:
/privmsg?folder=inbox
how about with new private message html code ?
avatar
tommycoo
Member
Member

Age : 22
Posts : 60
Join date : 2012-08-20
Forum Version : PunBB
Reputation : 1

View user profile

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Th1nK on Tue Sep 18, 2012 4:00 pm

In your own navigation bar this code won't work!
avatar
Th1nK
Administrator
Administrator

Posts : 468
Join date : 2012-04-06
Reputation : 43

View user profile http://www.csshelp.net

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by tommycoo on Wed Sep 19, 2012 10:17 pm

but how do you make if any inbox coming there is a number beside inbox navbar in your forum ?
avatar
tommycoo
Member
Member

Age : 22
Posts : 60
Join date : 2012-08-20
Forum Version : PunBB
Reputation : 1

View user profile

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by vaccam on Mon Mar 03, 2014 11:20 am

Wont work at my forum?
avatar
vaccam
Member
Member

Age : 24
Posts : 40
Join date : 2014-02-23
Forum Version : PunBB
Reputation : 1

View user profile http://www.revengelesspk.com/

Back to top Go down

Tutorial Re: How to change menu name in the navbar

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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