Closed (fixed)
Project:
Wilderness
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2010 at 22:06 UTC
Updated:
17 Jul 2012 at 05:11 UTC
Thanks for great theme.
I have developed multilanguage site (i18n module was used).
And logo link always lead to home page with default language.
To fix this I have changed:
<a href="<?php echo $base_url; ?>" title="<?php echo t('Home'); ?>"><img src="<?php echo $logo; ?>" alt="<?php echo t('Home'); ?>" /></a>
to
<a href="<?php echo url('<front>', array('absolute' => TRUE));?>" title="<?php echo t('Home'); ?>"><img src="<?php echo $logo; ?>" alt="<?php echo t('Home'); ?>" /></a>
Comments
Comment #1
linuxbcn commentedI do not work for me. I work with them one but I think the code could be something like this:
I need put somthing in the template?
Tnx!
Comment #2
linuxbcn commentedThe solution in: http://drupal.org/node/608302
Description
instead of
the link should be
on page.tpl.php (ang page-front.tpl.php)
otherwise all multilingual pages will have the default language page as the frontpage (homepage)
Comment #3
pokadan commentedcommitted to dev with solution proposed by linuxbcn