How to Replace the default Elgg 1.8 Title with an Image
Written by Rodolfo Hernandez Tuesday, 18 October 2011
In this article I will explain you how to replace the default site title for an image. Due to recent changes in the structure of Elgg 1.8, previous guides that show how to replace the title with an image won’t work anymore. Sign into your cPanel as an admin and follow theses steps:
1. First, we choose an image file, it can be a jpg, png or gif. For this purpose of this guide I will be using a png image file called image_logo.png
2. After choosing an image, copy it to YourElggFolder/_graphics
3. Then, go to YourElggFolder/views/default/page/elements . Once you are inside that folder, open the file called header_logo.php and look for this line of code:
4. Now, replace that line with this one:
<a href=”<?php echo $site_url; ?>”><imgsrc=”<?php echo $site_url; ?>_graphics/image_logo.png”/></a>
5. Save your changes. After that, run upgrade.php (www.yourelggdomain.com/upgrade.php). Login to your elgg site and you should be able to see your custom logo now:
This now concludes How to Replace the Default Elgg 1.8 Title With an Image.
Looking for quality Elgg Hosting? Look no further than Arvixe Web Hosting!
Happy Hosting!
Rodolfo Hernandez




Hello, please help, this does not work for me, i don’t know why i have done everything fine i am really struggling with this, i would like to show both a logo and site title, but currently can’t get a logo to show, i have checked paths and filenames and everything.
Hi!
What version of elgg are you using? Probably the quotes. Instead of straight copy and paste, please rewrite the double quotes. Sometimes that happens.
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
1.8
Hello, no worries all sorted, did this http://elgghacks.com/edit-elgg-header/