Our first social engine tutorial will be a simple but an effect one!
Locating Socialengine Mini Menu File
This file can be found within the application/modules/Core/widgets/menu-mini.
Open the index.tpl file!
Locating the code and implementing the logo
Find this code:
<?php navigation); foreach( $this->navigation->getPages() as $item ) $item->setOrder(--$count); ?>
Just before this you will need to put the following code:
<div id='core_menu_mini_menu'> <div><a href="members/home"><img src='http://www.mysite.com/public/admin/mylogo.png' alt="your site title here" border="0" style='float: left;margin-top: .3em;' /></a></div> <?php // Reverse the navigation order (they're floating right) $count = count($this->navigation); foreach( $this->navigation->getPages() as $item ) $item->setOrder(--$count); ?>
Just to explain the above a little!
We have wrapped it around a div so it is clear of the navigation as we do not want to effect this. The members/home is the link to the member’s homepage, id a member is not logged in it will send them to your homepage. We set our image within the default folder of the themes, if you are not using default put your theme folder name within it. Where it says “put a title here”, put your sites slogan there!