2 of 3
2
Extension: Add Site Name (to Control Panel header) The original! ;-)
Posted: 08 July 2007 10:46 PM   [ Ignore ]   [ # 19 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006
Gabriel - 08 July 2007 05:15 PM

mdesign: yeah, either works fine. Great job!

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 10 July 2007 10:09 AM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  463
Joined  04-23-2006
mdesign - 08 July 2007 10:46 PM

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).

smile

GREAT extension BTW!

 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 10 July 2007 05:26 PM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  4
Joined  06-14-2007

Nice one. Works like a charm in v1.6. Will make this a must have in any new install.

Profile
 
 
Posted: 13 July 2007 09:45 AM   [ Ignore ]   [ # 22 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

Image Attachments
override.png
Click thumbnail to see full-size image
 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 13 July 2007 12:34 PM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  463
Joined  04-23-2006

Excellent!
Thank you so much for this.

Perhaps next time, you could allow a small graphical icon? smile
Nothing bigger than 16x16 or 32x32.

 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 13 July 2007 01:11 PM   [ Ignore ]   [ # 24 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  290
Joined  01-20-2006

Or better yet, have it just try to find the favicon on your site.

www.domain.com/favicon.ico

 Signature 

AJ Penninga
Pretty Squares, LLC - http://www.prettysquares.com

Profile
 
 
Posted: 13 July 2007 01:17 PM   [ Ignore ]   [ # 25 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006
AJP - 13 July 2007 01:11 PM

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.

What do you think, jammo?

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 13 July 2007 01:46 PM   [ Ignore ]   [ # 26 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  463
Joined  04-23-2006
mdesign - 13 July 2007 01:17 PM
AJP - 13 July 2007 01:11 PM

... have it just try to find the favicon on your site.

... What do you think, jammo?

abso-freaking-lutely.
I’d love it eeven more!

 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 13 July 2007 02:13 PM   [ Ignore ]   [ # 27 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 13 July 2007 02:22 PM   [ Ignore ]   [ # 28 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  463
Joined  04-23-2006

Take your time.
Enjoy your business/pleasure trip.

 Signature 

OLD username was jammo, NEW username is OrganizedFellow

It’s a struggle even to keep focused. This is the best of my AD/HD & GTD.
The exceptionally slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

Profile
 
 
Posted: 15 July 2007 09:36 PM   [ Ignore ]   [ # 29 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 15 July 2007 11:40 PM   [ Ignore ]   [ # 30 ]  
Summer Student
Avatar
Total Posts:  21
Joined  06-25-2007

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 Masuga!

Profile
 
 
Posted: 16 July 2007 07:36 AM   [ Ignore ]   [ # 31 ]  
Summer Student
Avatar
Total Posts:  6
Joined  04-17-2007

Thanks Masuga.  A great extension, easy to install on v1.6.0 and best of all it looks really impressive when seen by the client.

Great work.

Profile
 
 
Posted: 16 July 2007 08:05 AM   [ Ignore ]   [ # 32 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 26 July 2007 10:40 AM   [ Ignore ]   [ # 33 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  208
Joined  01-18-2006

Hi Ryan,

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.

 Signature 

Eric Barstad
Shadow Box Creative Media Ltd.

EE Pro Network

Profile
 
 
Posted: 31 July 2007 02:20 PM   [ Ignore ]   [ # 34 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

Eric -

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 31 July 2007 02:27 PM   [ Ignore ]   [ # 35 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  208
Joined  01-18-2006

Ok, that worked (er, removing index.php). Thanks, Ryan!

 Signature 

Eric Barstad
Shadow Box Creative Media Ltd.

EE Pro Network

Profile
 
 
Posted: 13 September 2007 07:58 AM   [ Ignore ]   [ # 36 ]  
Grad Student
Rank
Total Posts:  91
Joined  07-25-2007

Figured it out

Profile
 
 
   
2 of 3
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61054 Total Logged-in Users: 18
Total Topics: 73860 Total Anonymous Users: 8
Total Replies: 398392 Total Guests: 430
Total Posts: 472252    
Members ( View Memberlist )