Drupal: How To Create Menu Structure On The Fly
In this article, you will learn how to create menu structure on-the-fly, adding new content to your Drupal-based site.
Solution:
- Choose Menu section in site administration. Create a new menu (for example, “My menu”). Place a block with the menu to the required area.
- Find Add node in the menu and start adding of a document.
- Find Menu settings at the bottom of a page.
- Enter name of the menu item the article will belong to there (for example, section1) and choose parent menu (in our case, “My menu”).
- Save the node.
- View the result =)
My menu
-section 1
If you click the “section 1″ item you will see the just created node. I.e., menu structure is updated together with the content.
Good Luck!