Closed (fixed)
Project:
Easy Breeze
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Nov 2008 at 13:14 UTC
Updated:
6 Dec 2008 at 18:55 UTC
Please use $front_page instead of $base_path when linking to the front page of a site, because $front_page will include the language domain and prefix when applicable.
For example, in page.tpl.php,
<div id="header"><!-- begin header -->
<?php if ($logo): ?><div id="logo"><a href="<?php check_url($front_page) ?>" title="<?php print $site_name ?>"><img src="<?php print $logo ?>" alt="<?php print $site_name ?>" /></a></div><?php endif; ?>
<div id="slogan-floater"><!-- begin slogan-floater -->
<?php if ($site_name): ?><h1 class='site-name'><a href="<?php print check_url($front_page) ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h1><?php endif; ?>
Comments
Comment #1
hswong3i commentedAlready fix within latest stable D6 release. Also update all related themes. Thanks for bug report :D