There is a bug with the Addon HomePage_0-0-1 => http://www.elkarte.net/community/index.php?topic=2846.msg19507#msg19507
By clicking the breadcrumbs of categories, the link goes to the homepage (index.php) than on the category (index.php#c). Please look auf the image "bug_home.png". Or look at my Page => http://elkarte.scaricare.de/index.php?board=5.0 and click in the breadcrumbs of "Addons Themes".
I have found aunsatisfied solution. Please look at the image "bug_home-1.png"
open root/sources/subs/Load.php
find
'url' => $scripturl . '#c' . $board_info['cat']['id'],
replaces with
'url' => $scripturl . '?action=forum#c' . $board_info['cat']['id'],
HomePage.integrate.php
$buttons['home']['href'] = $scripturl . '?action=forum';
The next update must be manually changed again. Is there a better solution, someone has an idea?
In HomePage.integrate.php, replace the entire integrate_action_frontpage function with:
public static function integrate_action_frontpage(&$default_action)
{
global $context, $board;
$default_action = array(
'file' => CONTROLLERDIR . '/HomePage.controller.php',
'controller' => 'HomePage_Controller',
'function' => 'action_homepage'
);
if (!empty($board) && !empty($context['linktree']))
{
foreach ($context['linktree'] as $key => $val)
{
if (strpos($val['url'], '#c') !== false)
{
$context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#c', $context['linktree'][$key]['url']);
return;
}
}
}
}
A little fragile, but it should break only in some weird cases.