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.

Change the titles in the notificationsbox

View previous topic View next topic Go down

In progress Change the titles in the notificationsbox

Post by Scatterbrain on July 31st 2013, 9:32 pm

Hi there

I would like to change the names in the toolbars notificationsbox. The name "Notifications" and the messages like "You have a new private message". Is it possible to do this for the notificationbox?

Scatterbrain
Forumember

Female Posts : 77
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by SLGray on July 31st 2013, 9:41 pm



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by Scatterbrain on July 31st 2013, 10:30 pm

Thank you. That topic shows how too change titels in the toolbar (messages like "my profile, my messages and so on). Im wondering if the same is possible to do for the notificationbox?

Scatterbrain
Forumember

Female Posts : 77
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by Scatterbrain on August 2nd 2013, 2:34 pm

Bumpi!

Scatterbrain
Forumember

Female Posts : 77
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by E-Mark on August 2nd 2013, 5:56 pm

Add this to your Javascript Management (All pages):
Code:
function changeToolbar(word, replacement) {
for (var name in word) {
document.getElementById('fa_notifications').innerHTML = document.getElementById('fa_notifications').innerHTML.replace(RegExp(name, 'g'), word[name]);
}
}

$(window).load(function () {
changeToolbar({
'Notifications': 'Notif.',
});
});

Change the Notif. to your desire title.

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

In progress Re: Change the titles in the notificationsbox

Post by Scatterbrain on August 6th 2013, 2:14 pm

Thank you!

That indeed changed the title of the notification box!

One of two problems solved!

This is the other one:

The name "Notifications" - solved,and the messages like "You have a new private message". - unsolved

Scatterbrain
Forumember

Female Posts : 77
Reputation : 2
Language : swedish

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