Project:Burnt
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Thanks for making this theme available- I really like it. However, in template.php there seems to be a bug in the phptemplate_menu_tree function. This does not generate the correct URL for the navigation menu item "home". For example, if I am on the /admin page, the URL of the Home menu item becomes /admin/node. Also, the "home" URL from this function does not seem to work with the front_page module.

<?php
function phptemplate_menu_tree($pid = 1) {
  if (
$tree = menu_tree($pid)) {
   
$output .= "\n<ul id=\"navlist\">\n";
    if (
$pid == 1) {
     
$output .= "<li><a href=\"node\">home</a></li>";
    };
   
$output .= $tree;
   
$output .= "\n</ul>\n";
    return
$output;
  }
}
?>

Comments

#1

Status:active» fixed

#2

Status:fixed» closed (fixed)