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.

Navigation Bar - Names?

View previous topic View next topic Go down

Solved Navigation Bar - Names?

Post by Cool-Guy on October 14th 2011, 1:23 pm

Hello,

When you have no new messages, the bar says "You have no new messages". Is it possible to change this to "Messages"?

... And is it possible to change "Log out [ User ]" to "Log out"?

Thanks!

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by Poser on October 14th 2011, 3:31 pm

I tried it in my forum, and it seems like it can't.
But you may put images to it like here in my forum >>> http://sub-audition.forums.cl
To do it, see here >>> http://help.forumotion.com/t97973-urgent-how-to-remove-this-see-inside?highlight=URGENT+++How+to+remove
avatar
Poser
Helper
Helper

Male Posts : 401
Reputation : 40
Language : English, Filipino
Location : Bed

http://maristpress.forumotion.com/

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by Nera. on October 14th 2011, 10:31 pm

Hi,

Add this to AP > Modules > JS managment and mark all pages.

Code:
$(function() {
document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Messages';
document.getElementById('i_icon_mini_logout').nextSibling.nodeValue='Log out';
});
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by LGforum on October 14th 2011, 11:03 pm

With the messages you wanna be careful because Nera's method will replace the whole string with 'Messages'
So even when the user has new messages it won't change.

There is a javascript replace method which only replace single words, or parts of a string.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by Nera. on October 14th 2011, 11:16 pm

It changes fine for me though Confused
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by Cool-Guy on October 14th 2011, 11:37 pm

I tried, and it worked. It also keeps the old message when getting a new message.

Thank you. Locked, and solved! Mr. Green

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by LGforum on October 14th 2011, 11:40 pm

I didn't look right i was under the impression you were changing both the new and old messages. Didnt realise you just wanted the '0 new messages' changed

My bad Embarassed
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Navigation Bar - Names?

Post by Nera. on October 14th 2011, 11:42 pm

No harm done Very good

Lock
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.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