How to: Change the e107 default logo
From e107 Wiki
e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page
How to Change the Default Site LogoThe way e107 pulls a logo to show on your site can be done in several ways:- Logo Image LocationsThere are two places where the default site logo is taken from, these are: Theme Logo
Default System Logo
{LOGO} ShortcodeThe theme designer should use the {LOGO} shortcode to show where the Logo is displayed (see Theming), if logo.png is missing from the theme, then e107 uses the default logo.png from the e107_images folder. Updating Your ThemeWith minimal php knowledge you can open up the theme.php file and see if the logo is called using the {LOGO} shortcode. If it is then you can simply replace the image in theme/images folder with your own as long as you call it logo.png. However, if this is a standard shipped theme, then this file could be overwritten during upgrades. Instead, create your own theme in a folder with it's own name (copy an existing one). For more details see Theming Documentation. However some themes do use a html link to the logo which will look something like: <img src='".THEME."images/logo.gif' alt='Site Logo' title='Site Logo' style='vertical-align:middle' /> In this case change the image name, add the alt and title info and mod the style to suit your theme though. However you could replace the {LOGO} shortcode with a html link like that shown above so you can pull the logo in a different format - the call uses a .gif file instead of .png - or see #Changing the Logo Shortcode style.cssSome themes also use a different method with a call from the e107_themes/yourtheme/style.css file and that is a bit harder to find. If you look in the $HEADER section of your theme.php file you might see something like this: This means the logo is being called from the theme stylesheet via the theme/style.css file. Open up the style.css file and look for something like: .logo {border:0; background: #F2EEEC; background-image: url(images/logo.png);}
If your theme uses this technique then you need to edit the image path from logo.png to reflect your logo i.e. logo.gif etc. and have the logo saved in your e107_themes/yourtheme/images folder Again if this is a standard shipped theme, do ensure you create a copy of the theme folder with your own name, as it may be overwritten at upgrade. Changing the Logo ShortcodeAnother way with a bit more e107 and php knowledge is to edit the file which calls the default logo.png, but again this is not recommended due to upgrade overwrite issues. Important:In printed material on the site i.e. print.php will still use the e107_images/logo.png file if you don't replace that, then the image will be the default. So if you do change the default logo, ensure you have a copy to re-apply at upgrade. In PDF Pages, the icon used is logopdf.png, again, change the one in your custom theme. For referenceFor e107 0.7 then the logo.png call has been moved from the header_default.php into e107_files/shortcode/logo.sc return "<img src='".e_IMAGE_ABS."logo.png' alt='Logo' /> "; So you can change the default format of .png to say .gif or .jpg in that file. As 0.7 is still being developed you don't really want to be editing core files which are subject to constant updates. So there is now the option for you to simply add your logo.png file into your "theme" folder which will override the core one in e107_images. So in e107 versions 0.7.10+ to make {LOGO} use your own logo without hacking any files: rename your logo e_logo.png and place it in the folder e107_themes/Your Theme/images/ This list is not exhaustive as there are may be other (but rarely used) ways to call a logo but this should help you find the answer! Hints* if you want to change the logo you might want to change favicon.ico in the root directory of your e107 installation as well. * e107 will search for an existing favicon.ico in your current theme before using the root favicon.ico * * *
* splash.jpg is used by the first Welcome message (/e107_admin/wmessage.php?create.edit.1). Admin > Content > Welcome Message > click on Fav-IconSee: HowTo: Change e107 Fav Icons | ||||||||
the e107_images/logo.png is also used in printer friendly pages
there is also an adminlogo.png file in e107_images/avatars/
and you can edit this message.

