@ALeinweber parent/child pages are currently manually created/maintained with the exception of dynamic pages, you can set a child path for the dynamic page that will create this same relationship, and blogs where this is created automatically. The capabilities surrounding parent/child pages is fairly limited - I don't think it's possible to do what you're looking for, if @Anton isn't able to help further you might also try asking in the HubSpot Developer Slack in the corresponding channel.
If my reply answered your question please mark it as a solution to make it easier for others to find.
do you mean dropdowns like the "About" menu item in this screenshot?
If so, you can set this in the global navigation settings by drag&drop the menu items that you'd like to have as dropdown items onto/below the desired nav item. You'll find the navigation settings here:
Hub settings(gear icon top right) -> Content -> Navigation menus -> YOUR MENU
Once created open your global header and select the desired menu. Save/Update/Publish -> done
Jun 24, 20247:44 AM - edited Jun 24, 20247:45 AM
Member | Gold Partner
How to create dynamic menu by parent page
SOLVE
thanks for your response.
But no, i want to query dynamicalyall Subpages of a page, without defining by hand a menu.
My idea was to create a menu with a parent page like "Marketing" and query all subpages with the menu() Hubl function. I thought root_type: "parent" or "parent_page" would do the work, but its always empty. How to setup this function to get all subpages of "/marketing"?
@ALeinweber parent/child pages are currently manually created/maintained with the exception of dynamic pages, you can set a child path for the dynamic page that will create this same relationship, and blogs where this is created automatically. The capabilities surrounding parent/child pages is fairly limited - I don't think it's possible to do what you're looking for, if @Anton isn't able to help further you might also try asking in the HubSpot Developer Slack in the corresponding channel.
If my reply answered your question please mark it as a solution to make it easier for others to find.