Closed (fixed)
Project:
Business
Version:
7.x-1.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2012 at 22:26 UTC
Updated:
21 Mar 2014 at 13:52 UTC
Jump to comment: Most recent
If you toggle the display of "Site name" to off in the theme settings, the Copyright message at the bottom of the page shows a blank space instead of the site name. Not sure if this was intentional or not. If it was, the Copyright code needs to detect when $site_name is not being rendered and format itself appropriately.
Comments
Comment #1
optalgin commentedThis is due to Drupal behaviour (as seen in page-xx.tpl.php)
However I still think should be fixed
Comment #2
Taxoman commentedHm, surely it should be possible to either test/get the variable value, or if empty, do a db lookup to find it regardless of the display state?
Comment #3
daroz commentedTo make this work correctly, edit page.tpl.php and page--front.tpl.php and replace near the bottom of the files:
print $site_name;with
print variable_get('site_name', '');Comment #4
tibezh commentedComment #6
tibezh commentedThanks to all, fixed.