Site Name linked to Logo
dragonwood - April 11, 2007 - 22:57
| Project: | Multiflex37 |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | chaos21in |
| Status: | closed |
Jump to:
Description
Hello,
I'm wanting to remove the Site Name at the top left corner through "Administer + Site Building + Themes" and un-check the Site Name Box. What happens is the name and logo disappear, even when the Logo Box is left checked. It seems to be linked. I can remove the logo without affecting the name but not the other way around. What's going on?
Daisy
dragonwood.ca/test

#1
i think changing these lins (38 to 46) in page.tpl.php may work:
Current:
if ($site_name && $logo) {print "
<a class=\"sitelogo\" href=\"$base_path\" title=\"$site_name\"><img src=\"$logo\" alt=\"$site_name\" id=\"logo\" /></a>";
}
print "
<div class=\"sitename\">";
print "
<h1><a href=\"$base_path\" title=\"$site_name\">$site_name</a></h1>
</div>";
change to :
if ($logo) print "<a class=\"sitelogo\" href=\"$base_path\" title=\"$site_name\"><img src=\"$logo\" alt=\"$site_name\" id=\"logo\" /></a>";if ($site_name) {
print "<div class=\"sitename\">";
print "<h1><a href=\"$base_path\" title=\"$site_name\">$site_name</a></h1></div>";
}
--rafi
#2
Hmm... changing this just leaves me with a blank site.
#3
ah...
simply replacing the && to || in the code did the trick
#4
Considering it's fixed.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.