Hello,
I think line 36 in file page.tpl.php should be changed from:
<a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
to:
<a href="<?php print check_url($front_page) ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
and line 40 should be changed from:
<h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
to:
<h1><a href="<?php print check_url($front_page) ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
Without this change, the site name points at wrong page when using i18n module and multiple languages. Garland also uses the check_url() function for this.
I hope you don't mind I inserted code into description directly instead of creating .patch file. I didn't feel like it's needed for such little change, but I'm indeed sorry if patch was a better solution :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | incompatibility_with_multilingual_sites.patch | 1.07 KB | sinasalek |
Comments
Comment #1
jwolf commentedfixed in 2.x
Comment #2
sinasalek commentedPatch against 1.9 using the solution provided by @miloso
You can find version 1.x patched version here