By akael on
I have a site setup that has a custom menu on it called "Header Nav".
Then I have a basic page called Services.
When I created the services page I did not add it into the menu because it needs to be in my custom menu Header Nav, but each time I edit the page it automatically tries to add the menu item to the main menu. When I forget to uncheck the box to add it to the main menu it deletes my menu item from the header nav menu.
Is this possibly a bug, or how can I stop it from automatically trying to add the basic page to the menu each time I update it?
Thanks
Comments
I'm having the same problem
I'm having the same problem myself, as far as I can see this is a bug
Not sure this is actually a
Not sure this is actually a bug, when editing/creating a content type under menu settings you can configure the menu's available on a per content type basis.
Which is actually incredibly powerful, previously you could only select a single menu for all content types.
The issue is you setup the
The issue is you setup the menu link when you initially submit the node, then you go to edit to make a quick spelling change and the menu you created is deleted, and a new menu item is added.
It is very frustrating to deal with after a while.
I agree
I understand the feature MAY be useful in some cases, but for some uses it's clearly a bug.
For one of my projects, I want my users to be able to change the content of some pages, but not the menu which should remain constant at any time.
At least, the edit page should leave the menu as it is by default if it already exists.
At the time being, I didn't find any solution because of the behaviour you describe : the form updates the menu anytime it's submitted. Even if you disable the menu management for the content type, any existing menu item leading to it is deleted, which is unacceptable.
I'll update this thread if I find something useful, but in the meantime any help would be much appreciated.
Patch here
http://drupal.org/node/761648#comment-4194586
This worked for me.