Problem

  • There is no D7 port of Menu Trails.

Goal

  • Figure out what prevents users from upgrading/migrating to Menu Position module.

Tasks

  1. Do an in-depth analysis of what functionality is missing in Menu Position module.
  2. Ensure there is a working upgrade path from Menu Trails to Menu Position module.

Details

  • The intentions to maintain Menu Trails module further for D7 are very limited, because it seems like plain and pure duplication of efforts at this point.
  • It would make a lot more sense to figure out what's preventing current users of menutrails from using menu_position currently, and possibly fix that, and ultimately write a migration path from menutrails to menu_position (in case that doesn't exist already).

-- Original report by @adiatis --

Now there is a Drupal 7 beta version, I'm looking forward to 7.x version for this great module. Are there any plans to convert the module to 7.x?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Eons’s picture

+1

lathan’s picture

+1

Andy B’s picture

+1 subscribing

InvDeath’s picture

please, do it

Andy B’s picture

Title: drupal 7.x » Port menutrails module to d7

Change title for better use in the dashboard.

Peter Törnstrand’s picture

+1

JohnAlbin’s picture

Those wanting a Drupal 7 solution for this underlying problem can check out http://drupal.org/project/menu_position

See #952384: Comparison with Menu Trails module for a comparison.

Ivan Zugec’s picture

Agree with JohnAlbin.

http://drupal.org/project/menu_position works perfectly on Drupal 7 thanks. :)

hoporr’s picture

This module should still be ported to D7. The powerful feature is to tie a taxonomy term to a certain menu item.

lolandese’s picture

Subscribe

harryzhxu’s picture

+1

sw3b’s picture

Subscribe

chriz001’s picture

subscribe

kris digital’s picture

+1

kris digital’s picture

FileSize
12.24 KB

If somebody only needs the core features of this module, like taxonomy and content-type dependent highlighting like me, I got it running for D7 without further testing and no warranties... It works for me, but it's only a prototype without organic group and token support etc. Settings are here Structure->Menue->The tab on top that says trails

Gessle’s picture

+1

I have to test the prototype sometime!

xandeadx’s picture

+1

momper’s picture

subscribe

xandeadx’s picture

fax8’s picture

yeah, the menu_position + pathauto combo is pretty powerful.

rudiedirkx’s picture

year2036's menutrails_d7_prototype.zip works perfectly! Thanks!

goldlilys’s picture

Subscribing

bowersox’s picture

+1

Floop’s picture

subscribing!

barbun’s picture

Title: D7: Upgrade/migration path from Menu Trails to Menu Position module » Port menutrails module to d7
Assigned: Unassigned » barbun
Category: task » feature
Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Needs review
FileSize
14.24 KB

Hello, guys!
I spent some time trying to port this module to D7. For my project it works great!
I also installed it to the clean D7 and then ran a quick test and it went good. So, i hope it could be useful for you.

I didn't have a possibility to check organic groups support, so i just commented this part of the module. Besides, i re-wrote taxonomy support and output theming.

Feel free to ask if anything strange occurs. I will be glad to share my knowledge and fix possible bugs, in spite that i'm newbie in Drupal.

Here goes the full module in a zip. Patch to be provided!)

Sylense’s picture

Assigned: Unassigned » barbun
Status: Active » Needs review

+1. I tried the patch but I have OG installed and so I was given a fatal error

lonehorseend’s picture

subscribing

corentin’s picture

subscribing

jorisx’s picture

+1

Anybody’s picture

+1

porg’s picture

Dear maintainer: Could you please add some info like this to the project page:

Drupal 7: A compatible version of menutrails is currently developed (See: #940206: D7: Upgrade/migration path from Menu Trails to Menu Position module ) and as an alternative you can try the module menu_position , which is already compatible with Drupal 7.

sun’s picture

Can someone post an in-depth analysis for what is actually missing or different in menu_position compared to what menutrails provides?

The intentions to maintain this module further are very limited, because it seems like plain and pure duplication of efforts at this point.

It would make a lot more sense to figure out what's preventing current users of menutrails from using menu_position currently, and possibly fix that, and ultimately write a migration path from menutrails to menu_position (in case that doesn't exist already).

oxyd’s picture

+1

theresel’s picture

+1 subscribing

Greg Varga’s picture

+1 subscribing

sun’s picture

Status: Needs review » Postponed (maintainer needs more info)

Please, can people just stop posting useless +1s here, read #32, and actually help moving this issue forward instead?

#32 was a direct response to #31. Adjusting status accordingly.

Thanks.

porg’s picture

@sun: I already wrote all about I knew. "There is a similar module ready for D7, and this module may be ported to D7 too, and that info would be appreciated on its project page." That's it from me, hope I could clarify.

And please don't rant about those "unnecessary +1". This is simply because of Drupal.org 's lack of a good notification system, but this is soon solved #34496: [meta] Add Flag module to allow users to subscribe/unsubscribe without posting a comment. There may be a issue cleanup script of all "+1|(Ss)ubscibe(!)|…" comments, once it works fine!

basicmagic.net’s picture

subscribe

r0b3rt’s picture

subscribe

specky_rum’s picture

Why would you want menutrails instead of menu_position?

For me I have a very simple requirement. I want menu items to stay highlighted as you work your way down the tree i.e. if my menu is structured like this:

a
|-1
..|-x
b

if I select x when that page renders I want a, 1 and x to all be highlighted. All I need for that are the li tags for each to have the active class assigned. As far as I can tell menutrails does exactly that out of the box. No config required. I have installed the version in #25 and (with a small fix) for simple node pages it works fine and exacty what I wanted. It doesn't work for my view pages but I'm not sure yet whether that's the module or Drupal core that's failing there.

Anyway... I also installed menu position which, in the description vaguely hints that it might do what I want but it seems with that you have to setup rules before anything happens at all and since all I want is across the board behaviour that seemed overkill.

I'd be happy to use menu position if someone can tell me how to achieve my goal.

Hope that helps.

Tom

btw. the slight fix to the version in #25 was as follows:

menutrails.module line 122:
was: ->fields(array('menu_name'))
should be: ->fields('menu_links', array('menu_name'))

JohnAlbin’s picture

@djguvnor: You haven't explained your use case sufficiently. If you have a menu structured as you describe and a, 1, and x are all in the menu, then the highlighting you desire is done by core's menu module. You don't even need menutrails to achieve that.

mgifford’s picture

@barbun Any thought about putting this up as a standard patch?

Also, running it with Coder is also a good practice.

rhawkins’s picture

#25 plus the fix in #40 worked for me. There's also a print statement on line 128 that needs to be commented out.

The "patch" in #25 is actually a whole zip file of the module in d7 form. Settings are in Structure >> Menus >> Trails

Andrey Zakharov’s picture

Looks like project abandoned.
Will give a try http://drupal.org/project/power_menu though

sun’s picture

Issue summary: View changes

Updated issue summary.

sun’s picture

Title: Port menutrails module to d7 » D7: Upgrade/migration path from Menu Trails to Menu Position module
Assigned: barbun » Unassigned
Category: feature » task
Priority: Normal » Critical

The recommended upgrade/migration path is Menu Position module.

I've clarified/rewritten the summary of this issue.

It looks like there is still no report about a use-case or functionality, which cannot be solved with Menu Position module.

If this remains to be the case, then the only remaining task is to ensure a working upgrade/migration path from menutrails to menu_position module.

Antti J. Salminen’s picture

Title: Port menutrails module to d7 » D7: Upgrade/migration path from Menu Trails to Menu Position module
Assigned: barbun » Unassigned
Category: feature » task
Priority: Normal » Critical
Status: Needs review » Postponed (maintainer needs more info)

Here's a little drush command I wrote that might help someone in migrating to Menu position. Works for creating equivalent taxonomy/content type rules:
https://gist.github.com/2719944

guyFawkes-2’s picture

krisdigital 's MenuTrails prototype works perfectly for me in combination with Nice Menus and Superfish Modules. Thatks!

Marko B’s picture

Main reason why menu position isn't useful for me is this

"This is particularly useful if you want a lot of nodes to appear as children of certain nodes / taxonomy term / views / referenced nodes / etc, but do not want to add them all to the menu. eg. hundreds of blog articles."

That is why I would use menu trail by path module, but Would like that menu poistion module also has this option a otherwise it's good.

sachand’s picture

Status: Postponed (maintainer needs more info) » Needs review

I would like to bring this module back to life , as i think this module will be helpful regardless of other alternatives available. Can i please get maintainership of this module ?

sachand’s picture

Issue summary: View changes

Updated issue summary.