I have several Basic Pages, and they each have a menu item in a custom menu that displays on the sidebar. These were added after creating the Page node.
If I edit one, the "Provide Menu Item" is checked. But the parent is "Main Menu", and not the custom menu they are really a part of. So if I save it as is after editing, it will get added to the main menu. Don't want that, so I uncheck the "Provide Menu Item" before saving it.
Well, that then removes the entry from the custom menu as well. So now it doesn't have a menu item at all. Very frustrating.
It looks like the core issue is that the only parent I can choose when creating a Basic Page, you can only select the Main Menu, and Main Menu sub menu-items, as a parent.
Comments
Comment #1
catchMarking as duplicate of #955700: menu/menu.admin.inc lets users add or move node menu links to unavailable menus..
Comment #2
sun.core commentedComment #3
AndyCanfield commentedNo, it's not a duplicate. The bug is that on the screen to edit a page, it only knows about one menu, the main menu. If the page is on another menu, saving the page will remove it from that menu and, maybe, put it on the main menu. The workaround is to let it get onto the main menu, and then edit the main menu link to move it back to the other menu.
Comment #4
caspervoogt commentedI have the same situation. A Main Menu and a Top Links menu. Whenever my client edits a page that's in the Top Links menu, it gets put back into the Main Menu, since that is the only menu that Basic Page knows about. I tried looking in the Configuration but saw nothing that could explain this. Anyone have any ideas? I would be very surprised if this is the intended behavior in Drupal !!
Comment #5
tagesk commentedWhile being a n00b by all accounts, I venture to add the following: For a menu to be available in the drop-down menu under "Provide a menu link", the content type in question must "allow" the content to be added to that menu.
That is, under admin/structure/types, pick your content type (Basic Page, for example), and under Menu Setting you will find all (existing) menus. Only Main Menu is checked (in the case of Basic Page).
It took me quite a few hours to find this; a hint somewhere would have been nice!
[TaSK]
Comment #6
jasonabc commented@tagesk - thanks very much dude. This was driving me mad! Couldn't figure out why the only menu on offer from the Basic Page Add area was "Main Menu". If you want to add a menu item to another menu on the site - you can't!? I edited the Basic Page content type and went into the Menu area and checked the other Menus I needed - et voila!
Also - anyone tearing their hair our wondering why CKEditor (or any other WYSIWYG editor) is not showing up when you create a new Basic page - it's because the Body field is set to "Plain Text" by default, which not only disables CKEditor on that field, but also removes the "Text Formatting" dropdown underneath... To fix - edit the Basic Page content type, go to Manage Fields, edit the "Body" field, and under Text processing, check the "Filtered text (user selects text format)" option.
Hope that saves someone some time...