When using a mobile resolution, appears a home icon besides a loupe which toggles the search box and another icon which toggles the main menu. That "home" icon, when clicked, redirects incorrectly.
Let me explain.
When your site is located in a subfolder (i.e. http://www.example.com/drupal/), when you click the icon, it redirects to the root (i.e. http://www.example.com/), not to the site subfolder.
I have been doing some research, and I have found that in page.tpl.php, in the line number 54..55, appears this code:
<div class="header_top_border"></div>
<a class="home-icon toggle" href="/"><img src="<?php print $base_path . $directory ?>/styles/images/glyphicons_020_home.png"></a>
It seems like if the href is hardcoded to the root instead of the front page url, with this code:
<div class="header_top_border"></div>
<a class="home-icon toggle" href="<?php print $front_page; ?>"><img src="<?php print $base_path . $directory ?>/styles/images/glyphicons_020_home.png"></a>
I don't know how to upload a patch, so I relay on somebody who knows hoow to do it.
Thanks in advance
Comments
Comment #1
israelshmueli commentedThanks,
I have committed your bug fix into current 7.x-2.x-dev version. It will be part of next version 7.x-2.4 when released.
Comment #2
israelshmueli commented