Changing Forum Title

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!

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

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
(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

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

Back to top Go down

Back to top

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