What’s about possibility adding the graphic logo of the site before the name or allowing show logo alone?
I thought about the logo, but there seem to be a lot of things to consider with that. The size of the header might change based on the logo height, the logo might look bad on that blue background. Do you upload through the extension’s CP page (and where does that upload to?), or just FTP the logo up to a server and point to it from the CP page? Should there be max widths and heights imposed? Some logos will look horrible with tiny limits in place, while others might be fine. Is there an easier way to do this than through this extension?
I’m sure I could think of a number of other possible issues. Besides, the name of this extension is “Add Site Name”, not “Add Site ID”, although if a logo option were added, I might need to change the name to something more clever and EE-like, like “Site IDee (idEE?)”
It would be nice too if I could get this to work with the CP login page! But I don’t know if there is a hook for that or not.
I thought about the logo, but there seem to be a lot of things to consider with that. The size of the header might change based on the logo height, the logo might look bad on that blue background ...
How bout a limited ability?
16x16?
32x32?
I doubt anyone would want to have an oversized 100px+ logo in their header.
Besides, the intent of this extension (properly used) is to identify/personalize your control panel, right?
As for the colored background, perhaps an option where the user can enter a hexidecimal value that would become the background for the (xLOGOx + SiteName + ExpressionEngine v.xyz).
I just updated this extension to 1.1.1 with a new setting: Text Override. Basically, I have a lot of other work to do, and I’m just procrastinating today.
You can now make the text say whatever you want. Might be handy to designate “development” sites, shorten a real long name, play a prank, or whatever. The field is totally optional and will just default to your site name.
See attached sample pic here, showing a “dev” note - and grab the latest version in the first post of this thread.
Or better yet, have it just try to find the favicon on your site.
I think that’s way to go. I just need to think of the logic:
New setting: “Show favicon?” If that is set to “yes” (it being set to “no” by default), then look for the favicon, and center it to the left of your site name.
Cool. AJP just pointed me to a resource that should help me make this work. I’m out of town this weekend, but I’ll update this when I get a spare moment.
OK, I uploaded v1.1.2 (see first post in the thread) along with a pic of the favicon in action! Let me know if it works as you’d expect. I looked at this in FF/Safari on Mac and things looked as they should. Bug reports welcome.
This was a great mod, I got it up and running + configured the way I wanted it in less than 10 minutes. EE should have this as a standard feature especially for multiple site features.
Thanks, HEX32 and SoftPixel. Glad you are finding this useful. This might also encourage people to make favicons for their site(s), if they haven’t done so already. Here’s one resource I reference every so often for creating them.
I love this extension—makes identifying which cp I’m in so much easier. Only problem I’m having is with the favicon—the generated CSS is ignoring(?) the path I’ve set (or I’ve set it incorrectly). Anyway, it’s coming up as http://www.example.com/index.php/favicon.ico instead of http://www.example.com/favicon.ico. Any suggestions? My favicon path is /var/www/html/favicon.ico but I’ve tried a few different combos.
Are you crazy? Don’t bring up these problems here! You’ll make me look bad! Just kidding…
Are you using the .htaccess file to remove the index.php from the URL? If so, have you removed “index.php” from the field under General Configuration where it says “Name of your site’s index page”? That favicon path you set looks right. I wonder if the index.php is messing it up somehow in the CSS.