We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension: Add Site Name (to Control Panel header) The original! ;-)

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Leevi’s version is far more robust. Mine was made to just work with zero tweaking, showing only the sitename - real simple. If you need a highly customizable one, I’d use the LG version.

       
Todd D.'s avatar
Todd D.
460 posts
16 years ago
Todd D.'s avatar Todd D.
The new version of LG Add Sitename will be avaiable in the next couple of days that has per site settings.

Thanks Leevi! That will be great!

       
Justin Long's avatar
Justin Long
196 posts
16 years ago
Justin Long's avatar Justin Long

I added

< img src=”/images/favicon.ico” class=”ico” >< a href=”{ homepage }”>{ site_name }</a > to the HTML section and

.ico {float:left; padding: 11px 7px 0px 2px;} to get my image to line up with the text.

Thank you so much this makes my life so much easier.

       
Todd D.'s avatar
Todd D.
460 posts
16 years ago
Todd D.'s avatar Todd D.

I am using MSM… so I need a version that will accept images for multiple sites. Nevertheless… thanks for posting the code your using.

       
Justin Long's avatar
Justin Long
196 posts
16 years ago
Justin Long's avatar Justin Long

I have not played around with the MSM yet but I hope to in the next couple of weeks to do that. Does a URI segment change when you switch between sites? If it does wouldn’t you be able to use an “if” statement set to have something like

if segment3 = site1 then display site 1 logo ifelse segment3 = site2 then display site 2 logo

Sorry that is not coded I am trying to type this from my iphone

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

OK, MD Add Sitename 1.2.2 is up. I removed the old-school update checking. This is likely to be the last update to my version of this extension.

       
First 2 3 4

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.