I have a menu in Drupal in the following structure:
-Gallery
--Gallery Item 1
--Gallery Item 2
--Gallery Item 3
--Gallery Item 4
-Videos
--Video Item 1
--Video Item 2
--Video Item 3
The Gallery and the Video items in the menu should be loaded dynamically from the content type gallery. My problem is that I don't know how to programmatically build and add menus items in the mentioned structure.
Thanks!