CMS Development

tstrack
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Advanced Menu Root Types

Résolue

According to the HubSpot documentation, there are 6 values for the root_type parameter:

 

  • site_root
  • top_parent
  • parent
  • page_id
  • page_name
  • breadcrumb

I understand all but the page_id and page_name values. Can someone please explain how those work? And perhaps and example of what would be rendered?

 

Thanks!

0 Votes
1 Solution acceptée
roisinkirby
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Advanced Menu Root Types

Résolue

Hey @tstrack I looked into this further with one of our Customer Support Specialists @mrcruz. It is his understanding that the page_id is the number string in the URL while the page_name is the internal name used on your COS. 

 

Could you share a link to one of the pages you are working on? Let's see how this relates to your work. 

 

 

Voir la solution dans l'envoi d'origine

0 Votes
7 Réponses
roisinkirby
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Advanced Menu Root Types

Résolue

Hey @tstrack could you share a link to the documentation you are referencing? I want to make sure I understand your question to get you the right answer 🙂

0 Votes
tstrack
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Advanced Menu Root Types

Résolue
0 Votes
roisinkirby
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Advanced Menu Root Types

Résolue

Thanks! I'll dig into this now and get an answer for you as soon as I can. 

0 Votes
roisinkirby
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Advanced Menu Root Types

Résolue

Hey @tstrack I looked into this further with one of our Customer Support Specialists @mrcruz. It is his understanding that the page_id is the number string in the URL while the page_name is the internal name used on your COS. 

 

Could you share a link to one of the pages you are working on? Let's see how this relates to your work. 

 

 

0 Votes
thomasl
Contributeur

Advanced Menu Root Types

Résolue

Hey @roisinkirby,

I want to use this module with the parameter "root_key". I set the parameter to the page_id which is the number string in the url and the "root_type" to the string "page_id".

However the navigation on the rendered site is empty.

 

Any idea?

 

Best,

Thomas

0 Votes
thomasl
Contributeur

Advanced Menu Root Types

Résolue

@roisinkirby any idea?

0 Votes
tstrack
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Advanced Menu Root Types

Résolue

I don't have a specific example at the moment. But that clears it up. Thanks!