I am using the Fusion theme with D6. In D6 version of the theme, Superfish is built in so it is not a separate module that can have permissions set.

My issue is that the dropdown menu works perfectly fine on any page when logged in. When you log out, the menu works fine anywhere in the site other than the Home/Front page. It just doesn't drop down. Once you click one of the parent Primary Links, and leave the Home/Front page, it works perfectly fine. So. Its not an expand issue, can't be, or the links wouldn't drop down in any other case.

Tried clearing caches, optimizing css js, no luck.

Comments

sheena_d’s picture

Status: Active » Postponed (maintainer needs more info)

Is the content linked to in your drop-down menu items accesible to anonymous users? Is there anything on your homepage that might use javascript that isn't present on the other pages? Can you investigate and see if there are any javascript errors being reported?

A link to your site would be very helpful in troubleshooting this issue.

Cheers,
Sheena

TravisJohnston’s picture

Category: support » bug
Priority: Normal » Major
Status: Closed (cannot reproduce) » Postponed (maintainer needs more info)

Yes all the content is accessible, since each page can be visited fine. Its only the drop down menu itself that doesn't show when you are on the home page and not logged in.

There is no other javascript being loaded other than the round corners module which was added after the issue started. The site is in production but here it is,

sheena_d’s picture

Category: bug » support
Priority: Major » Normal

There are no sub-menu items being printed out on the homepage, and all of the menu items are marked as "collapsed" whereas they are all marked "expanded" on sub-pages. This is not typical menu system behavior and it does not appear to be an issue with Superfish.

Do you have any modules installed that affect the menu system?
If you turn off CSS/JS compression and/or page caching, does the issue persist?
If you go to /admin/content/node-settings and click "rebuild permissions" does the issue persist?

TravisJohnston’s picture

Hello Sheena,

Tried all of that with no avail. Nothing else is installed that should affect the menu. The site is build off of fusion core and the only thing that turns the primary links into a sf menu is by checking the box in the Theme Configuration.

It's strange though that the items would collapse only for logged out users.

sheena_d’s picture

I've never run across this sort of behavior with a Fusion theme before and I cannot reproduce it on my test site. There is obviously some other factor that we are not seeing.

Have you made any customizations to template.php? Perhaps if you could share a list of enabled modules, I might be able to pinpoint some potential conflicts.

Thanks!

TravisJohnston’s picture

Status: Postponed (maintainer needs more info) » Active

Hello Sheena,

Yeah we have virtually the same setup running on a different site and didn't have this issue.

I made only one addition to template.php in the Fusion folder. I hate doing it, but i couldn't get around it. It was to add in the function for round corners module. I removed it to test and that didn't make a difference.

//

Content Access
Admin
Content
Content Copy
Email
Fieldgroup
FileField
ImageField
Link
Node Reference
Number
Option Widgets
Text
Chaos tools
Chaos Tools AJAX
Context
Context Layouts
Context UI
Context Menu Block
Aggregator
Color
Comment
Database logging
Forum
Help
Menu
Path
Search
Taxonomy
Update Status
Date
Date API
Date Timezone
Devel
Image API
Image API GD2
ImageCache
ImageCache UI
Embedded Image Field
Embedded Media Field
Embedded Media Thumbnail
Embedded Video Field
Media:Flickr
Media:YouTube
Basic meta tags
Nodewords
UI for Nodewords
Better Formats
Boxes
Colorbox
Exclude Node Title
IMCE
Libraries
LogginToboggan
Menu Block
Menu Breadcrumb
Node Export
Pathauto
Quick Tabs
Rounded Corners
Site map
Skinr
Token
Printer-friendly pages
Custom box module
Page Title
GA
UberCart
Gallery Formatter
IMCE Wysiwyg API bridge
jQuery UI
jQuery Update
Wysiwyg
Views
Views Slideshow

sheena_d’s picture

Status: Active » Closed (cannot reproduce)

The only thing I can imagine is that there may be some weird caching going on with Content Access that causes Drupal to think that anon users do not have access to the second-level menu items from the homepage. However, I wasn't able to produce that sort of situation or find any similar issues in that modules queue.

If you have the same set-up on another site, scour through the two sets-ups and figure out what differences there are and test against that control.

There isn't much to go on here and I dont' see any evidence that this is directly related to Fusion, so I am closing this ticket for now. Feel free to re-open if you can give any more clues about what might be the cause.

Cheers,
Sheena

aquariumtap’s picture

Category: bug » support
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Active

I was able to recreate this (mostly) on my local copy. I'll write back when I find more information. Very strange.

TravisJohnston’s picture

Thanks @aquariumtap

TravisJohnston’s picture

I had a hunch that it may have something with includes/menu.inc as this file defines the standard expand/collapse properties. Though I copied over a "working" copy from another site with no issues, and placed it in my theme's folder but it didn't change anything...

aquariumtap’s picture

Status: Active » Postponed (maintainer needs more info)

@TravisJohnston, do you have your menu items set to expanded? @sheena_d figured out that was my problem :)

See:
http://fusiondrupalthemes.com/support/documentation/adding-content/enabl...

TravisJohnston’s picture

Yes of course.

The case is this. The menu works fine, while you are anywhere in the site. You can go to any of the primary parent links and they drop down great.

Its when you are not logged in, and ONLY on the home page, that the menu doesn't drop down. If you navigate to the next parent link, the menu works and dropdowns appear. Its only the Home page that doesn't work. If you log in though, the menu works as it should on the home page.

Check out this site, notice the menu not working. But then click on Training and then mouseover the top links and you will see what I mean.

RMA

sheena_d’s picture

Would you be willing to provide us with an administrator login for the site so we can take a look at your configuration? You can set it to us via the contact form at http://fusiondrupalthemes.com/form/contact-us

TravisJohnston’s picture

Because I am only a member of the team working on this project, I can not give authorization to do that. But if there is any ideas, steps, checks, thoughts, or anything you may have; I can test them and find out.

sheena_d’s picture

I really don't have any other ideas at the moment. Maybe try disabling and re-enabling the Superfish module in your theme settings? Disable and re-enable Fusion Core, Delete and re-create one of the menu items' trees, etc. Maybe there is nothing specifically different between this site and the other site you have that is working... but maybe there is something different about the way you went about setting up the menus? A different order of doing things?

TravisJohnston’s picture

Hmm.

Well there is no mod for superfish in this version of the theme unfortunately. I did try disabling the themes with no luck.

As far as adding the menu items, they were added through Admin > Site Building > Menus > Add item and with their node/* which is the same as last time.

I wonder if I can get away with letting this bug slide, but not sure. I really have no idea.

I guess writing a script to check for user and to set the menu to expand is the only way.

sheena_d’s picture

What do you mean by "there is no mod for superfish in this version of the theme"? On your theme settings page, there should be an option to turn on/off drop-downs on the primary links menu. Are you not seeing that setting option? screenshot: https://skitch.com/sheenad/gui4q/themes-clean-commerce

TravisJohnston’s picture

Oh that, yeah i tried that. Thought you meant the separate module for superfish. When I turn that off, the menu is there but no drop downs work entirely, of course.

TravisJohnston’s picture

FIXED IT!!!!! :-)

So this is weird, stay with me.

This is my first Drupal site. I've gotten the hang of it pretty well over the last few weeks, so I didn't question stuff that was configured at first.

My co-worker showed me the location where you can set the node ID for your homepage. It was not needed, but he had me do it anyways so I made a blank page, assigned it, and called it a day. The home page of the site is all blocks and views, so the page seemed useless. At some point, I must of Unpublished the node that the Home Page was assigned to.

The weird part was that you could be logged out and still see the page, but that was because the views/blocks were visible still. But the "Home Page" was technically not there. So with that combination, the menu wouldn't load on the Home Page because it doesn't load on unpublished pages.

I discovered this accidentally when I went to check a bug in Chrome and got an Access Denied error on the home page after I enabled the setting in LoginToboggan.

Crazy, stupid, but now makes sense.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

That's a new one :) Glad you figured it out, and thank you VERY much for letting us know. :)