Closed (fixed)
Project:
Zentropy
Version:
7.x-0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
2 Mar 2011 at 05:31 UTC
Updated:
29 Jan 2012 at 19:40 UTC
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
Comment #1
jamesbenison commentedSetting
$variables['site_name']to null or empty string makes it go away.Comment #2
alexweber commentedwill fix, thanks!
Comment #3
alexweber commentedfixed in RC3, will be released in a couple hours!
Comment #4
dax444 commentedHas 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.
Comment #5
alexweber commentedI've been working on a new release for a couple weeks now, should be ready sometime next week!
Comment #6
dax444 commentedHey 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.
Comment #7
tigron commentedJust started using this theme and wanted to say good work and looking forward to the fix.
Comment #8
migueltrindade commentedFixed in dev release.
Comment #9
Taxoman commented