Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As the title says, the suckerfish menu does not display on 403 and 404 error pages. If a user is directed to a "requested page not found", the top navigation menu disappears. I would think the primary site navigation should be consistent at all times, even when an error page is presented.
This is being used in conjunction with the Drupal CustomError module. I have never had the navigation disappear with other themes when using CustomError.
Comments
Comment #1
ron_s CreditAttribution: ron_s commentedI created a workaround for this issue by using the primarymenu that sits in the upper right corner of the theme.
I used CSS to style the primarymenu DIV to look just like the Suckerfish menu, and I positioned it in the same location on the page as the Suckerfish menu. I then edited the
page.tpl.php
file by wrapping the primarymenu in conditional logic to only be displayed if the Suckerfish menu is not present:if(!$suckerfish) { ...
Comment #2
dugh CreditAttribution: dugh commentedMy workaround was to find the ID of the menu I display in the suckerfish area:
http://www.nicklewis.org/a-practical-tutorial-on-drupals-menu-system
Then add code to display that menu if the $suckerfish_menu variable isn't set (wrapping it with the same suckerfish css stuff):
$menuhtml = theme_menu_tree(167);print $menuhtml;
Comment #3
Kisugi Ai CreditAttribution: Kisugi Ai commentedclosed -- issue fixed for 2 weeks with no activity.