i made a little change on the bullet menu.
The problem : if i select the second link in my menu, i access to the page, from now in my menu i don't want the second link to be 'clickable' anymore, because i'm on the linked page !!!
Starting from line 111 to 119 in bulletmenu.php i made some replacement
original :
Code: Select all
$menu .= "<li><a href=\"".$onecontent->GetURL()."\"";
if (isset($gCms->variables['page_id']) && $onecontent->Id() == $gCms->variables['page_id'])
{
$menu .= " class=\"currentpage\"";
}
$menu .= ">".$onecontent->MenuText()."</a>";
Code: Select all
if (isset($gCms->variables['page_id']) && $onecontent->Id() == $gCms->variables['page_id'])
{
$menu .= "<li id=\"current\"";
$menu .= ">".$onecontent->MenuText();
}
else
{
$menu .= "<li><a href=\"".$onecontent->GetURL()."\"";
$menu .= ">".$onecontent->MenuText()."</a>";
}