Closed (works as designed)
Project:
AdaptiveTheme
Version:
6.x-2.0
Component:
Theme settings
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jan 2010 at 14:42 UTC
Updated:
7 Oct 2011 at 22:25 UTC
Hi, i install i18n logo 6.x-1.x-dev. Upload and config new diferent logo for every language/domain (cz.localhost and de.localhost).
New logo is show in Edit language -> Logo image settings are preview.
But logo in "header" is not insert.
Default logo:
<div id="header" class="clearfix">
<div class="header-banner"></div>
<div id="branding">
<div class="logo-site-name"><strong>
<span id="logo"><a href="http://cz.localhost/" rel="home"><img src="/sites/all/themes/adaptivetheme/adaptivetheme_kbhcz/logo.png" alt="KBHcz logo" title="Home page" width="320" height="218" /></a></span> <span id="site-name"><a href="http://cz.localhost/" rel="home">KBHcz</a></span> </strong></div>
<div id="site-slogan">Automatizace pro Vaši výrobu</div>
</div> <!-- /branding -->
</div>
Upload logo:
<div id="header" class="clearfix">
<div class="header-banner"></div>
<div id="branding">
<h1 class="logo-site-name">
<span id="site-name"><a href="http://de.localhost/" rel="home" class="active">KBHcz</a></span> </h1>
<div id="site-slogan">Automatizace pro Vaši výrobu</div>
</div> <!-- /branding -->
</div>
How config theme for corect show upload logo.
Thank you Radek
Comments
Comment #1
Lion.creek commentedHi. Any help? It works in garland theme correct. How change code for display logo?
Thank you Radek
"edit"
If change code:
It works correct.
Bye
Comment #2
Lion.creek commentedComment #3
Jeff Burnz commentedThe problem occurs in adaptivetheme_preprocess_page where we use theme_image (I like this because of $getsize and we're leveraging a standard Drupal function).
You can implement a fix at the preprocess level by replacing line 45 with this:
Granted this is hacking the core theme, however I am going to commit this fix to the 6.x-2.x branch since the former method breaks the i18n Logo functionality.
Comment #4
Jeff Burnz commented