When site name or site slogan is disabled it is still visible.

if ($variables['hide_site_name']) {
  // If toggle_name is FALSE, the site_name will be empty, so we rebuild it.
  $variables['site_name'] = filter_xss_admin(variable_get('site_name', 'Drupal'));
}

Removing the if statement still doesn't hide it.

Comments

jamesbenison’s picture

Setting $variables['site_name'] to null or empty string makes it go away.

alexweber’s picture

will fix, thanks!

alexweber’s picture

Assigned: Unassigned » alexweber
Status: Active » Needs review

fixed in RC3, will be released in a couple hours!

dax444’s picture

Has this been solved>? I don't see a release canidate 3 available and I can't figure out how to fix this. I have tried setting something like this:

if ($variables['hide_site_name']) {
// If toggle_name is FALSE, the site_name will be empty, so we rebuild it.
$variables['site_name'] = filter_xss_admin(variable_get(' ', 'Drupal'));
}

Any help would be greatly appreciated.

alexweber’s picture

I've been working on a new release for a couple weeks now, should be ready sometime next week!

dax444’s picture

Hey thanks Alex. I'm looking forward to it. For now I just coded around it with a simple if/else php statement checking for the if the page is_front. All the other pages work fine. Keep up the good work.

tigron’s picture

Just started using this theme and wanted to say good work and looking forward to the fix.

migueltrindade’s picture

Fixed in dev release.

Taxoman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.