A group of blocks used to add content and paths to a menu or add child pages to a book.

This modules is designed to make it easier and faster to build out a website's information architecture.

The created blocks are called

  • Add content to menu
  • Add path to menu
  • Add page to book
All the created blocks use the drupal_execute_form to submit data. CCK enhanced content will work with these blocks but the user will be directed to entire content-type form if more then the page title is required.

Note: The book module must be enabled for the 'Add page to book' block to appear.

Since the created blocks contain forms that can be pretty tall (about 200 pixels high) you might want to limit their visiblity and/or allow users to customize their block visibility settings.

Recommend modules for managing block size and visibility

Similar modules

Functions

NameDescription
menu_helper_blocks_blockImplementation of hook_block().
menu_helper_blocks_book_formForm for the content of the 'Add page to book' block.
menu_helper_blocks_book_form_submitHandle form submission for 'Add page to book' blocks.
menu_helper_blocks_content_formForm for the content of the 'Add content to menu' block.
menu_helper_blocks_content_form_submitHandle form submission for 'Add content to menu' and 'Add page to book' blocks.
menu_helper_blocks_form_alterImplementation of hook_form_alter().
menu_helper_blocks_form_menu_edit_item_alterImplementation of hook_FORM_ID_form_alter().
menu_helper_blocks_menuImplementation of hook_menu().
menu_helper_blocks_path_formForm for the content of the 'Add path to menu' block.
menu_helper_blocks_path_form_submitHandle form submission for 'Add path to menu' block.
_menu_helper_blocks_append_configuration_to_formAdd append block configuration settings to form or fieldset.
_menu_helper_blocks_append_type_inputAppends to 'Content type' input to a form.
_menu_helper_blocks_book_blockBuilds the 'Add page to book' block.
_menu_helper_blocks_book_get_configuration_formGet 'Add page to book' admin settings from the book.module without the the $form settings
_menu_helper_blocks_book_get_current_itemGet the current book's title and parent information.
_menu_helper_blocks_book_get_node_typesGet available page(node) types that a user can create in the 'Add page to book' block.
_menu_helper_blocks_content_blockBuilds the 'Add content to menu' block
_menu_helper_blocks_content_get_node_typesGet available node types that a user can create in the 'Add content to menu' block.
_menu_helper_blocks_form_menu_edit_item_alter_deleteFix issue with $_REQUEST['destination'] overriding menu item delete submit's redirect.
_menu_helper_blocks_get_book_page_append_weightGet the highest weight for a new book page so that it can be appended to a book or book page.
_menu_helper_blocks_get_current_menu_itemGet current menu items by looking up menu/link by path or href.
_menu_helper_blocks_get_menu_append_weightGet the highest weight for a new menu item so that it can be appended to a menu or menu item.
_menu_helper_blocks_menu_item_formInitialize form for the 'Add content to menu' form and 'Add page to book', with active menu item inputs.
_menu_helper_blocks_path_blockBuilds the 'Add path to menu' block.
_menu_helper_blocks_redirect_to_node_formSet 'Add content to menu' or 'Add page to book' block's form state values to a querystring and redirects to the full node form. See alsomenu_helper_blocks_content_form_submit()