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

optalgin’s picture

This is due to Drupal behaviour (as seen in page-xx.tpl.php)

$site_name: The name of the site, empty when display has been disabled

However I still think should be fixed

Taxoman’s picture

Hm, 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?

daroz’s picture

To 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', '');

tibezh’s picture

Version: 7.x-1.8 » 7.x-1.10
Issue summary: View changes

  • Commit 5b85057 on 7.x-1.x by tibezh:
    Issue #1780648 by modctek: Copyright section missing .
    
tibezh’s picture

Status: Active » Closed (fixed)

Thanks to all, fixed.