processwire / processwire-requests

ProcessWire feature requests.
40 stars 0 forks source link

Allow customisation of admin browser title #451

Open Toutouwai opened 2 years ago

Toutouwai commented 2 years ago

Short description of the enhancement

AdminThemeFramework sets the last segment of the browser title to be $config->httpHost and doesn't provide a way to change this.

2022-08-10_135021

But there are circumstances where it would be nice to be able to change this, for example when the PW admin is the primary interface for site users rather than any frontend.

Maybe AdminThemeFramework::getBrowserTitle() could be made hookable because there are also cases where it would be good to remove the "ProcessWire" segment generally.