{module_menu, version="2"}

Description

Displays a single dynamic menu when placed on the page or a template. menuID is the ID of the particular dynamic menu and should not be changed. The ID is set by module manager when menu is inserted into the page.

Syntax

{module_menu version="2" menuId="5475" moduleTemplateGroup="Default" template="" collection="my_custom_collection_name"}

Parameters

  • version - 2 (do not change)
  • menuId - system generated menu id (do not change)
  • moduleTemplateGroup - this is the path the menu layouts are located at - /ModuleTemplates/moduleTemplateGroup_folder_name
  • collection - use this if you need to access the module's Liquid output tags
  • template - this module does not support custom templates. You can use the template parameter however to supress the module's output

Layouts

Examples

  • {module_menu version="2" menuId="5475" moduleTemplateGroup="MyCustomMenu1"} - this renders the menu with the ID 5475 using the layouts found at this path: /ModuleTemplates/MyCustomMenu1

Syntax

{module_menu, version="2", menuId="5475", moduleTemplateGroup="Default"}

Parameters

  • version - system generated (do not change)
  • menuId - system generated menu id (do not change)
  • moduleTemplateGroup - this is the path the menu layouts are located at - /ModuleTemplates/moduleTemplateGroup_folder_name

Layouts

Examples

  • {module_menu, version="2", menuId="5475", moduleTemplateGroup="MyCustomMenu1"} - this renders the menu with the ID 5475 using the layouts found at this path: /ModuleTemplates/MyCustomMenu1