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.

Change the titles in the notificationsbox

3 posters

Go down

In progress Change the titles in the notificationsbox

Post by Scatterbrain 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
Scatterbrain
Forumember

Female Posts : 82
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

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



Change the titles in the notificationsbox Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by Scatterbrain 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
Scatterbrain
Forumember

Female Posts : 82
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

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

Bumpi!
Scatterbrain
Scatterbrain
Forumember

Female Posts : 82
Reputation : 2
Language : swedish

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by E-Mark 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
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Change the titles in the notificationsbox

Post by Scatterbrain 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
Scatterbrain
Forumember

Female Posts : 82
Reputation : 2
Language : swedish

Back to top Go down

Back to top


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