Nav menu disappearing on some pages

Qlof - April 13, 2009 - 09:53
Project:Gallery
Version:6.x-1.0
Component:User Interface / Theming
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello.

I run a drupal/gallery2 site, and it's been working great.

When I first installed it, I had trouble getting the nav menu on the gallery pages but I found a fix here on the boards and it works well now.

My problem is that the nav menu disappears on some pages. It's basically pages added by different addon modules for gallery. For example, "Most viewed", "Best rated" etc. It doesn't matter if I have url aliases for them or not - the nav menu disappears.

Has anyone had the same problem? Can I include something on the modules pages to make sure the nav menu is included?

Thanks.

//Olof

#1

Qlof - April 14, 2009 - 20:29

I found a fix for this after searching other posts. It was well hidden in a post. I noticed others had the same problem so here it goes:

Remove/comment out this line in gallery.module:

drupal_alter('gallery_page', $result, array());

Thanks to sparr who posted it, whom in turn thanked takahiro.

#2

modctek - May 7, 2009 - 22:36

Hallelujah! That fixed it!

#3

kenny hektik - October 11, 2009 - 03:56

Man, I just wanted to thank you soooooooo much for this. To get it back was always a process from hell, this is so much better. Thanks again!

#4

Fohsap - October 11, 2009 - 05:36

I have a question about this. Is your site being properly indexed by Google? Site crawlers miss my entire gallery. I don't know wtf is going on.

 
 

Drupal is a registered trademark of Dries Buytaert.