jshabazz asked to have an autocomplete on the menu editor's path fields.

from #653552-3: Community Feedback for Menu Editor (jshabazz).

This module is very useful, would you consider combining it with the Menu Path autocomplete module http://drupal.org/project/mpac I have been using that with the mass content creator module to speed up building out site skeletons, and if we had the autocomplete added to your module it would be a real winner.

from #653552-5: Community Feedback for Menu Editor (donquixote).

I made the autocomplete work on my localhost, but I'm not really happy with it.
Drupal's built-in autocomplete only applies to one input field.

What we want is type the title in the title field with an autocomplete dropdown, but then if I select one of the autocomplete choices, I want the path to be inserted in the path input field, and the title in the title field. Then I want the focus to remain on the title field, so I can adjust the title if needed.

I'll see if it can be done - but it will be more than just the normal autocomplete.

Files: 
CommentFileSizeAuthor
#1 menu_editor-path-autocomplete.zip9.91 KBdonquixote

Comments

donquixote’s picture

Here's a zip preview.
(I could make a patch, but half of you don't have the tool to apply it. So why bother)

jshabazz’s picture

Excellent!

donquixote’s picture

new snapshot with the changes applied:
http://drupal.org/node/695406
(waiting for packaging script)

Please help with testing!

EDIT:
Download the new 6.x-1.x snapshot.

donquixote’s picture

Status: Active » Needs review

There is no status "committed to snapshot release", so I set this to "needs review".
Others would set it to "fixed", but I don't like this. It's fixed when it's officially released!

donquixote’s picture

Status: Needs review » Fixed

This is fixed in all 2.x releases.

philbar’s picture

Wow, thanks. This feature just saved me hours configuring my breadcrumbs using the default Navigation menu after discovering all the "Custom" Breadcrumb modules weren't working for my needs.

Status: Fixed » Closed (fixed)

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