Closed (fixed)
Project:
NewsFlash
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2009 at 01:30 UTC
Updated:
23 Oct 2011 at 22:39 UTC
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
sgdev 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.phpfile by wrapping the primarymenu in conditional logic to only be displayed if the Suckerfish menu is not present:if(!$suckerfish) { ...Comment #2
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
kisugiai commentedclosed -- issue fixed for 2 weeks with no activity.