I have the same problem that was discussed here using qtranslate with coherence.
http://www.kriesi.at/support/topic/qtranslate-home-link-resets-selected-language-how-to-modify-code
see towards the bottom of that post,
Dude posted - "The logo code can be found in abundance\framework\php\function-set-avia-frontend.php:"
<br />
function avia_logo()<br />
{<br />
if($logo = avia_get_option('logo'))<br />
{<br />
$logo = "<img src=".$logo." alt='' />";<br />
$logo = "<h1 class='logo'><a>".$logo."</a></h1>";<br />
}<br />
else<br />
{<br />
$logo = get_bloginfo('name');<br />
$logo = "<h1 class='logo bg-logo'><a>".$logo."</a></h1>";<br />
}</p>
<p> return $logo;<br />
}</p>
<p>
I found the code in that location and modified it as Chris suggested,
Replacing-
<a href='".home_url('/')."'>
with
<a href='".bloginfo('url')."'>
the result was for it to work but above the logo it now shows a the text of the link at the same time displaying what the home image links to?
is there a way to stop it from showing this?
Then i tried the next solution on replacing the code with.
</p>
<p>function avia_logo()<br />
{<br />
$lang = isset($_GET['lang']) ? '?lang='.esc_attr($_GET['lang']) : '';</p>
<p> if($logo = avia_get_option('logo'))<br />
{<br />
$logo = "<img src=".$logo." alt='' />";<br />
$logo = "<h1 class='logo bg-logo'><a href='".home_url($lang)."'>".$logo."</a></h1>";<br />
}<br />
else<br />
{<br />
$logo = get_bloginfo('name');<br />
$logo = "<h1 class='logo bg-logo'><a href='".home_url($lang)."'>".$logo."</a></h1>";<br />
}</p>
<p> return $logo;<br />
}<br />
}</p>
<p>
Changing to this code didn't work but it also didn't cause any errors.
Is there something I am missing, is there something different in the avia framework on the coherence theme compared to the abundance theme?
Why does it show a text version of the link as well as the logo image?
is there some quick fix for this I am not spotting?
Unfortunately the site is currently live, so I have reverted back to the original code for now but my client really wants this fixed.
Any help is really appreciated. Thanks!














