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.

Changing Forum Title

View previous topic View next topic Go down

In progress Changing Forum Title

Post by FineryWorkshop on March 13th 2015, 3:33 am

Hey! So I have the portal page as the homepage, but in the title it says "Finery Workshop - Portal" while in the forum it says "Finery Workshop" How do I change it to where in the portal it says "Finery Workshop" and when you're in the forum it says "Finery Workshop - Forum" I tried changing it within the templates and it didn't work :/

Thank you so much if you can help!

FineryWorkshop
Forumember

Female Posts : 48
Reputation : 1
Language : English
Location : USA

http://NOTREADY.forumotion.com

Back to top Go down

In progress Re: Changing Forum Title

Post by Ange Tuteur on March 13th 2015, 5:01 am

Hello @FineryWorkshop,

You can remove the portal title in portal management, but it causes problems with the button text. We can make some modifications with a bit of JavaScript though. Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Placement : In all the pages
Code:
(function() {
  var p = window.location.pathname;
  p == '/' && (document.title = 'Finery Workshop');
  p == '/forum' && (document.title = 'Finery Workshop - Forum');
})();

Submit, and it should automatically change the titles when you're on the forum and homepage.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

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