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

Jaza’s picture

Status: Active » Fixed

Fixed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)