Jump to content

Admin HTML title to include domain


Soma
 Share

Recommended Posts

I think it would be good thing to add domain to html title in admin default theme. I added a long time ago to my admin theme.

Instead of

Pages • ProcessWire

make it

mydomain.com • Pages • ProcessWire 

or

Pages • ProcessWire • mydomain.com

This would help a lot with seeing in windows list and bookmarks, what site it is from. I can't stand seeing my co-worker looking for the correct window for hours :)

Thanks

  • Like 7
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Yep, same with me. In addition, I usually set up a website on a subdomain (like dev.mysite.com), and then switch it over to the main domain once everything is finished... but the subdomain is still displayed in the title in the admin area.

I think this can be edited by overwriting

$browserTitle in /wire/templates-admin/default.php

Or is there another place where this can be done?

Link to comment
Share on other sites

@choppingblock

You surely don't want to modify anything in there. :)

I'm not sure where the subdomain is coming from.

Do you have a $config->httpHosts with the subdomain in your config.php?

Also not sure what you want to modify? It's all there

[domain - Edit Page : pagetitle]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...