CMS Development

tstrack
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Advanced Menu Root Types

解決

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 いいね!
1件の承認済みベストアンサー
roisinkirby
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Advanced Menu Root Types

解決

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 いいね!
7件の返信
roisinkirby
HubSpot製品開発チーム
HubSpot製品開発チーム

Advanced Menu Root Types

解決

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 いいね!
tstrack
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Advanced Menu Root Types

解決
0 いいね!
roisinkirby
HubSpot製品開発チーム
HubSpot製品開発チーム

Advanced Menu Root Types

解決

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

0 いいね!
roisinkirby
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Advanced Menu Root Types

解決

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 いいね!
thomasl
投稿者

Advanced Menu Root Types

解決

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 いいね!
thomasl
投稿者

Advanced Menu Root Types

解決

@roisinkirby any idea?

0 いいね!
tstrack
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Advanced Menu Root Types

解決

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