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.
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,
Thanks for your response. The problem I had was theme specific. Your answer did work within another theme however
Thanks for your response. The problem I had was theme specific. Your answer did work within another theme however
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!!
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:
and replaced it with the following
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:
and replaced it with the following
<!-- added for logo --> <?php $a = new GlobalArea('Site Name'); $a->display(); ?>
Edit this page -> Add To Sitewide Site Name -> apply your changes -> Publish