I'm trying to get this patch to land before Drupal 7.0-RC1: #520106: Allow setting the active menu trail for dynamically-generated menu paths.

Basically, that patch will allow this module to set the active trail for any menu tree without having to do the brittle, ungodly cache pre-setting that it does now.

When that patch lands, we'll need to replace the cache pre-setting code with the new menu_tree_set_path() function.

Comments

johnalbin’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new5.69 KB

#520106: Allow setting the active menu trail for dynamically-generated menu paths. has landed, but won't be in an official release until Drupal 7.9 comes out at the end of October.

I've completed the work, but I can't commit it to the 7.x-1.x branch because Drupal 7.9 is not out yet. I'll have to release a 7.x-1.0-beta2 version without this patch first. And then I can commit it and release a 7.x-1.0 to coincide with Drupal 7.9.

Here's the patch. The amount of minuses in this patch makes me sooooo happy.

johnalbin’s picture

StatusFileSize
new6.11 KB

Added .info file dependency on Drupal 7.9-dev or later.

johnalbin’s picture

Status: Reviewed & tested by the community » Fixed

Oldest issue in the queue FIXED!

HUZZAH!

hyperglide’s picture

Great! -- Thanks!

So the patch is committed or pending D7.9?

johnalbin’s picture

Its committed, so you'll find it in 7.x-1.x-dev (and it will only work with Drupal 7.9-dev). I won't release a stable release with this code until after Drupal 7.9 comes out.

hyperglide’s picture

@johnAlbin -- thanks for the reply!
Looking forward to D7.9!

Status: Fixed » Closed (fixed)

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