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.
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.
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.
Just updated this to version 1.2.0. In this version:
I have to give Leevi Graham big props for showing me how to ‘properly’ do an Extension - and for borrowing liberal amounts of well written cache and update-checking code.
You can download it at: http://www.masugadesign.com/the-lab/scripts/add-sitename/
Just updated this to version 1.2.0. In this version: * fixed a bug where styles could be rendered in head more than once * added documentation URL * added version checking (Thanks Leevi Graham) (see pic) * fixed a default settings problem * added a check to see if Extension info is in session or cache to keep things speedy (again, thanks, Leevi.) I have to give Leevi Graham big props for showing me how to ‘properly’ do an Extension - and for borrowing liberal amounts of well written cache and update-checking code. You can download it at: http://www.masugadesign.com/the-lab/scripts/add-sitename/
Hey Ryan,
Thanks for all the props… I’m just about to release an update to my ‘inspired’ version of LG Sitename. It fixes a couple of issues with checking for updates so you might want to incorporate those into your extension. Also I have added MSM support so I am sure that will be of interest as well.
Good work on the latest release!
I learned a lot by trying to pick apart what you do. There really needs to be a how to on add-on development, like Lisa is doing in the EE Blog with her bug tracker example. Seems like you have to do so much digging to find the most basic things out about how to put together an Extension.
I think I know how to incorporate MSM (loop through for each site id…which I think I saw in another one of your extensions…I had them ALL open, man!) - but I’m not sure I want to spend too much time on it with Add Sitename (EE 2.0 coming up, etc etc).
I also give you some link love on my Add Sitename page. I figure if I’m liberally reusing as much code as I am, the least I can do is point to your stuff everywhere I can.
I really like the addition of checking for updates. I think the next trick will be seeing if I can generate the version-check template dynamically, which I’m not currently doing. I have my add-on versions as their own custom field, so that shouldn’t be too difficult, I don’t think.
Anyway, thank YOU!
I learned a lot by trying to pick apart what you do. There really needs to be a how to on add-on development, like Lisa is doing in the EE Blog with her bug tracker example. Seems like you have to do so much digging to find the most basic things out about how to put together an Extension.
I started writing a tutorial on how I added checking for updates. I think its a bit buggy now but I might revisit it. If you want to check it out it was here: http://leevigraham.com/tutorial.php & source: http://leevigraham.com/tutorial.phps
I think I know how to incorporate MSM (loop through for each site id…which I think I saw in another one of your extensions…I had them ALL open, man!) - but I’m not sure I want to spend too much time on it with Add Sitename (EE 2.0 coming up, etc etc).
Yep that’s basically the idea…. The only issue I encountered was building my own extension setting form… you will notice a couple of my comments in the source of the next release… They go some thing a little like this “^%$%%^^!!!!!!” Once you have it figured out tho its fairly easy.
I also give you some link love on my Add Sitename page. I figure if I’m liberally reusing as much code as I am, the least I can do is point to your stuff everywhere I can.
Well I borrowed your idea for inspiration so I think we are both benefiting 😊
I really like the addition of checking for updates. I think the next trick will be seeing if I can generate the version-check template dynamically, which I’m not currently doing. I have my add-on versions as their own custom field, so that shouldn’t be too difficult, I don’t think.
Yeah good idea. I did think about that but then I thought I don’t want EE being hit over and over again for a simple text file. So I chose to just update it manually.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.