How to Have a HubSpot Menu Load the Default Menu When Transferring to Another Account

Get a Free HubSpot CMS Guide
How to Have a HubSpot Menu Load the Default Menu When Transferring to Another Account

Problem: When transferring a HubSpot theme or template file to another portal global module’s menu disappears. The code snippet below sets the default menu tag to pull a default if it is not selected.

{% set menu = module.menu is truthy ? menu(module.menu) : menu('default') %}
{% menu "menu" %}

 


Related resources

  • HubSpot CMS vs WordPress: Feature Comparison and Review
  • 25+ Questions to Ask Before Redesigning Your Business Website
  • 5 Things A Business Should Consider Before a Website Redesign
  • How to Get a Responsive Website for Your Manufacturing Company
  • What Is a Good WordPress Alternative for Businesses?
  • Tags: , ,

    Want to Get Email Updates of New Posts? Join My Email Newsletter