I found that with the exception of the 'menu' display style, submenu tree items are listed in the order they were created, rather than by weight then title. Here's a patch to fix this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| submenutree_order.patch | 2.91 KB | mark matuschka |
Comments
Comment #1
mark matuschka commentedBy the way, I meant to say that in the patch I indented with Drupal's standard 2 spaces, rather than the tab characters used in the rest of this module. I respectfully suggest the rest of the module be changed to 2-space indent as per the Drupal coding standards.
Comment #2
bengtan commentedThanks for that.
I just assumed that the menu structure would already have the items in order. Evidently not.
I've also done the tab -> space expansion as well. Funny, but my gvim/cream is supposed to do it automatically. Evidently not, again.
I've made a 0.3 release incorporating the changes.
Good to know someone's using the module on a proper dataset. My own site's a bit sparse to use it fully.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.