Change page title?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
imacleod
Posts: 19
Joined: Tue Jun 24, 2014 5:26 pm

Change page title?

Post by imacleod »

Is there an easy way to change the browser page title used by the Gargoyle tab?

I have multiple routers and it would be nice to see which tab relates to which box.

I searched and found the following post (6123):

I used gargoyle_header_footer -h ... -j "xxx.js" -t "test",why did not work?

Solved, just edit the i18n file: ghf.js
===================

But I'm afraid it mean little to me...

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Change page title?

Post by Lantis »

In /www/i18n/<your language>/ghf.js the page title is defined and you can adjust it there.
This is not exposed in the GUI anywhere, so you must do it this way.

Of course the device name is shown at the top of each page (not on the tab title) and can be modified in the system settings.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Change page title?

Post by ispyisail »

Image

Didn't think of that

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Change page title?

Post by ispyisail »

Image

imacleod
Posts: 19
Joined: Tue Jun 24, 2014 5:26 pm

Re: Change page title?

Post by imacleod »

Cheers for the quick replies guys. I've not looked under the covers on these, but I'm familiar with ssh and vi from other stuff. The boxes are at the other end of a satellite link so I'll have to get Teamviewer started to get access from a local pc...might not be today.

The ID in the top left of the GUI - which I already have set - is not as accessible as the tab title, which is always visible, regardless of where you are on a page.

Post Reply