The menu settings are lost when you edit it on the node page, please change:
if ($form_id == 'menu_edit_item') {
to:
if ($form_id == 'menu_edit_item' || $form_id == 'page_node_form') {
The menu settings are lost when you edit it on the node page, please change:
if ($form_id == 'menu_edit_item') {
to:
if ($form_id == 'menu_edit_item' || $form_id == 'page_node_form') {
Comments
Comment #1
killes@www.drop.org commentedapplied in a more general form.
Comment #3
strestus commentedWhere?
I just downloaded the module and it is doing the same thing. It deletes the Description of the menu when editing the node.
Also in the node edit page there is no "Allow HTML" checkbox
Comment #4
strestus commentedComment #5
marcy_sss commentedYou probably found it, but it's easy to figure out for newcomers:
On line 8 of menu_html.module, add this to the first line of the
menu_html_form_alter()function:if ($form_id == 'menu_edit_item' || $form_id == 'page_node_form') {It works beautifully!
Comment #6
killes@www.drop.org commentedI've put this into the 1.1 release