Stacks is not changin my logo

Permalink
Hi this is totally doing my head in!

I am using Green salad, and gone to Stacks/Site Name as shown in various places, changed the 'sitename' text to a logo that I have already uploaded, saved, cleared the cache and it has not done anything!!!

Tried several times, this should work it isnt am I missing something??

Please help!

 
greenbeanit replied on at Permalink Reply
greenbeanit
Having the same issue as well.
kosmosol replied on at Permalink Reply
At least Im not the only one. I cannot find anything really about people having trouble with Stacks, as they are that new.
ggutierrez79 replied on at Permalink Reply
ggutierrez79
Hi there!
I am using plain yoghurt and have read many ways to change "site name" for my logo. I have the 5.5.1 version and the php code has slightly changed. So previous solutions do not work for me, since I have very basic knowledge of php.

<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><?php 
$block = Block::getByName('My_Site_Name');  
if( $block && $block->bID ) $block->display();   
else echo SITE;
?></a><!--
--></h1>


By the way I have also changed scrapbook/global adding my logo, but nothing happens.

Please help!!!
russellfeeed replied on at Permalink Reply
russellfeeed
Hi all

I've figured this out...
In your Theme, edit elements/header.php:
<h1 class="logo">
              <a href="<?php   echo DIR_REL?>/" title="<?php   echo SITE?>"><?php
            $stack = Stack::getByName('My_Site_Name');
            if( $stack ) $stack->display();
            else echo SITE.'x';
            ?></a>
         </h1>


This will pick up and display the Stack named 'My_Site_Name' rather than the Scrapbook Block.

Hope that helps
Russell
kosmosol replied on at Permalink Reply
I Tried putting the above code into default.php in the themes/greensalad that but it makes no difference. Russel I thought that 5.5.1 didnt use the scrapbook?


I have just about given up on this....
russellfeeed replied on at Permalink Reply
russellfeeed
Hi kosmosol

did you create a Stack called My_Site_Name also?
kosmosol replied on at Permalink Reply
No I didnt, but I have just done that and it has made no difference after clearing all the caches etc