Closed (fixed)
Project:
Category
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2006 at 02:17 UTC
Updated:
15 Jan 2006 at 05:40 UTC
Am new to drupal. Using Drupal Beta 4.7beta2 with cvs version of FriendsElectric theme and am having layout problems whenever I view either a category or container page, all other node types output fine. This only occurs when a category / container has an Auto TOC without navigation links.
I tracked it down to a missing div tag when I used the settings above. Fiddled around with the code and it seems to me that the last closing div tag in the theme_category_display_navigation function in the category_display.module is misplaced. It is within the navlinks if statement when it should be placed outside and below it.
Here is the code.
$output .= '<div class="nav">';
$output .= ' <div class="links">'. $links .'</div>';
$output .= ' <div class="titles">'. $titles .'</div>';
$output .= '</div>';
$output .= '</div>';
}
}
}
This should be
$output .= '<div class="nav">';
$output .= ' <div class="links">'. $links .'</div>';
$output .= ' <div class="titles">'. $titles .'</div>';
$output .= '</div>';
}
$output .= '</div>';
}
}
Great job with the category module!
Comments
Comment #1
Jaza commentedFixed. Thanks.
Comment #2
(not verified) commented