Plain Yogurt - Swap site name to logo (Scrapbook in v5.4.2.2 vs. Stacks in v5.5.0)

Permalink 1 user found helpful
Greetings,
I am working on what I thought would be a simple task. I am simply trying to get a logo into Plain Yogurt rather than text.

I am able to easily accomplish this in v5.4.2.2 by modifying global scrapbook item "My_Site_Name", however, unable to accomplish in v5.5.0 through the modification of the "Site Name" stack in Global Areas.

Yes, I realize I could change the code, but does not this defeat the purpose?

Am I missing something here (other than clearing the cache, that has been done).

Thanks in advance.

 
wagdi replied on at Permalink Reply
wagdi
If I'm not mistaken; in 5.5 you can change the site name from any page by editing the 'Add To Sitewide Site Name' area and it will be applied throughout the site.

Edit this page -> Add To Sitewide Site Name -> apply your changes -> Publish
wgamborski replied on at Permalink Reply
wagdi,
Thanks for your response. The problem I had was theme specific. Your answer did work within another theme however
openSauce replied on at Permalink Reply
where is the 'Add To Sitewide Site Name'? I can't see it anywhere. I'm also trying to replace 'SiteName' with a logo on the Plain Yoghurt theme. It ought to be possible without editing code as it's a pretty fundamental requirement. It's very frustrating - I'm new to Concrete5 but loving it - apart from this!!
wgamborski replied on at Permalink Reply
Though I thought this was an error/problem within the template, it is just bit of coding I was trying to avoid.

What I find surprising is that I must implement code in 5.5.0 yet in 5.4.2.2 it is a simple scrapbook change.

Maybe someone more capable in writing code is able to offer an update in future versions of this default Plain Yogurt theme.

I removed the following code:
<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>


and replaced it with the following
<!-- added for logo -->      
      <?php  
         $a = new GlobalArea('Site Name');
         $a->display();
      ?>