I cannot seem to figure out what the heck is going on.

I have a menu with a hierarchy of menu items that look like this:

Menu
+ First Link (section/first)
+ Second Link (section/second)
++First Sub (section/second/sub-first)
++Second Sub (section/second/sub-second)
+++First Sub Sub (Section/second/sub-second/sub-sub-first)
+++Second Sub Sub (Section/second/sub-second/sub-sub-second)
++Third Sub (section/second/sub-third)
+Third Link (section/third)

As you can see my URL's are logical to the menu structure.

But every-time I try and resolve this, I think I've fixed it and then it get's all mucked up again. Something with U RL Aliasing and Clean URL's is getting messed up and the Menu System is not expanding the menu properly.

For obvious reasons When I click on "First Link" only "First Link", "Second Link" and "Third Link" should appear (with an arrow the left of the "Second Link".

If I click on the "Second Link" it's sub-menu should expand. However what happens is I see the same result as above.

I have posted elsewhere but everyone says it's a "BUG", so here I am.

Drupal 5.5 with Apache 2.0.52 (not that I think that makes a difference)

When I attempt to resolve it and make the URL for "Second Link" to a different URL (like section/link2) and then also make one of the Sub Links into a different logical url (like section/lin2/sub1) it starts to work so I go on and change the rest of the URL's under "Second Link" to logical URL's and the menu stops expanding for even the first sub link I set.

I am very confused to say the least, and frustrated.

Funny enough the expansion works perfectly fine in the admin menu, which is what is SO confusing.

Comments

beekerstudios’s picture

Hate to post a "bumpy" type comment, but am I the only person seeing this as a "problem", I have posted in support, and issue requests in forums, and modules, and still no response from anyone.

I don't know why this isn't working.

beekerstudios’s picture

Okay I got it, because drupal 6 is coming out, nobody gives a flying you know what about drupal 5.

Too BAD!

beekerstudios’s picture

Version: 5.5 » 5.7

Okay I think I was pretty descriptive, so I will continue to post back to this all day today until SOMEONE responds!

BTW I have upgraded the site to the latest 5.x release (not dev) and am still having problems.

beekerstudios’s picture

All DAY!

beekerstudios’s picture

Priority: Normal » Critical

OH BTW this is critical!

beekerstudios’s picture

still not in someones radar!

chx’s picture

Status: Active » Closed (won't fix)

Next time search before post and yell.

catch’s picture

Priority: Critical » Minor
beekerstudios’s picture

Priority: Minor » Critical
Status: Closed (won't fix) » Active

WOW that was stupid of you guys to just mark this as minor and won't fix. Credibility down the drain!

I did search, I posted issues in forums, and got little to no help. I also looked at various requests with similar issues, and attempted to resolve the problem with their solutions, and still doesn't work.

I am sorry, but seriously just saying "Next time search before post and yell"... in non-grammatically correct english!, and not posting a link to something that may help me is well, NOT HELPFUL.

I am really pissed, that the "community" that is supposed to be helping, is not being helpful.

I would say this is still critical, can you imagine if this "BUG" still exists in 6 and it's about to be released, and no one has actually tested it. That would be bad would it not!?

So I am not just complaining, but thinking about everyone else. If I am doing something stupid, trust me I will own up to what I did. But right now as far as I can tell, I have done everything I can to make sure this works, and it's still not working.

So am I the only one who organizes content, more than 1 url "directory" deep? Or does everyone just do 1 and call it a day because "drupal".

I did just as the maintainer of this module requested, and posted a "bug report" in the core:
http://drupal.org/node/7664

Also if you look this "bug report" has been open for almost three weeks with no posts from anyone except myself.

keith.smith’s picture

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

Dude. Please don't demand support from a volunteer audience, nor call that audience stupid.

All that aside, I recreated your menu structure as you detailed in your original post in painstaking detail, even down to creating the aliases you specified for each menu item, and putting your "First link", "Second link" and "Third link" in their own test menu I created.

To do this, I created "Pages" for each item, adding each to the menu hierarchy and giving each a URL alias as I went.

I tested this on stock 5.7 and 6.x versions of Drupal, with path module to create the aliases.

On both 5 and 6, all of these menu items worked exactly as I would expect -- that is to say, when clicking on an item with sub-items, the sub-menu expands properly, etc. Unless I missed your point in your original post, I can't reproduce this.

Are you sure that there is not some additional contributed module on your site that is impacting this behavior?

beekerstudios’s picture

Keith,

Thank you for responding! I realize my attempt to get help was a little juvenile, but I had exhausted all other efforts, and I am in the midst of trying to deploy this new site, and it's driving me up the wall. I didn't actually call them stupid, I just said doing what they did was stupid. Like driving on the other side of the road in england (if you were an american) may not mean you're REALLY stupid, but what you did was stupid. There is a difference, but yes I felt insulted, and therefore needed to insult, so forgive me for my juvenileness again.

Here are the modules I have installed and enabled:

Color
Comment
Help
Menu
Path
Search
Taxonomy
Core Block
Core Filter
Core Node
Core System
Core User
Core Watchdog
Views RSS
Views UI

I thought I might have installed pathauto, which I may do to try and massage the url's for the users who will be maintaining content on the site. But for now I just want this menu thing to work.

It's important to note, that I have an instance of 5.2 which seems to be behaving correctly.

One thing that's a bit strange, is that if I click the parent menu item as expanded, and leave the sub menu items as not expanded, when you click on those links the sub sub menu items appear.

Or if/when I navigate to the sub, or sub sub menu items the menu expands. So there is something really FISHY going on, and I can't figure out exactly what it is.

If I set the menu item to the actual node/# path or the clean url it does the same thing, no expansion.

Just as an example with the ABOVE url path layout going to the Second Link (section/second) just shows this:
+First link
+Second Link
+Third Link

Navigating to the path for First Sub (section/second/sub-first) shows this:
+First Link
+Second Link
++First Sub
++Second Sub
++Third Sub
+Third Link

What's even more baffling, is the sub links expand correctly, so if I navigate to the First Sub Sub (section/second/sub-second/sub-sub-first), or Second Sub it expands to show this:
+First Link
+Second Link
++First Sub
++Second Sub
+++First Sub Sub
+++Second Sub Sub
++Third Sub
+Third Link

I inserted echo $_GET["q"]; into the page content for the Second Link page and it shows the correct node/# path so I am not sure what the heck is going on.

Your help is greatly appreciated. As you can see from the link I posted above, others had similar problems before on previous versions, and current versions of drupal. While they and I posted in a module issue, it's clear that this may not be because of any module, but because of something else.

Thanks for your help!

keith.smith’s picture

OK. I lied. Actually, on reading your followup, I realized I wasn't actually testing (in #10) on 5.7, but on a non-upgraded 5.3, which is what I had handy.

But, I've installed an instance of 5.x-dev, which should be at or near 5.7 code-wise, and still can't reproduce this. If you'll contact me via my contact tab (click on my user name, and then contact) or enable your own contact tab in your user profile, I'll forward you a test site URL where I tried to reproduce this.

ainigma32’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm going to assume that this was either fixed by keith.smit or it was a misunderstanding to begin with.

Either way setting this to fixed. Feel free to reactivate if you think that is incorrect.

- Arie

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.