Steps to reproduce:

Create a panel or mini panel.
On the "Content" tab in the Panels UI, click the gear to add new content.
In the "Menus" tab, select "Main menu menu tree".
You're given a javascript alert window containing the following message:

Call to undefined function menu_block_configure_form() in /menu_block/plugins/content_types/menu_tree/menu_tree.inc on line 107

The problem is that it appears that the function menu_block_configure_form() no longer exists in menu_block.admin.inc, but in the plugins/export_ui/menu_block.inc, and the function was renamed to menu_block_export_ui_form().

The fix is fairly trivial, patch in first comment to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jwilson3’s picture

Hrm. As i fixed that error, more errors appeared:

_menu_block_format_title() seems to have been removed as well, which that ctools plugin depended on for generating the admin menu title (visible in the panels admin ui content layout page, once you've added a pane and configured it.

jwilson3’s picture

Status: Active » Needs review
FileSize
1.48 KB

This patch fixes both of the errors and restores the Menu Tree ctools Plugin so that it works with panels. Yay!

jwilson3’s picture

Status: Needs review » Closed (duplicate)

Gosh darn it.

The project I'm working on is using the patch from #693302-63: Add API for exportable menu_blocks / Features integration that adds exportability, which is why these components broke.

What's more, patch in comment #63 is not even the most recent patch.

So, I'm going to have to grab the latest patch from there and see if this problem is still there, and if so, contribute my fixes here on that issue.

Marking this one as a duplicate :(