Edjet LMS Server 6.3

Add a sub-menu to the page

A Menu widget is used to generate multi-level responsive sub-menu.

There are two ways:

  • Create a new page layout with the sub-menu and apply the layout to your pages.
    Recommended if you have more than one page with the same layout with sub-menu.
  • Use custom page layout just on the specific page.

To create a page layout with a sub-menu:

  1. Click Learner portal in the main menu, then Page layouts.
  2. Click New page layout in the toolbar.
  3. Enter a Name.
  4. Click Appearance tab.
  5. Choose Page layout template option: 2_cols_grid_3_9.tpl.php
  6. Click Save in the toolbar.
    At this point, the zones coded in the template are detected and listed in the UI.
  7. Click Appearance tab.
  8. Click Edit next to the zone: wpz_LeftColumn zone.
  9. Click New row.
  10. Choose Menu and click OK.
  11. Enter following code into the Properties:
    'tpl' => 'webparts/navigation/menu_vertical_list.tpl.php',
    'starting_level' => '1', 'generation_scale' => WebPartZone::SCALE_CURR_BRANCH
  12. Click Apply settings and close in the toolbar.
  13. Click Save in the toolbar.

* This apply to the desktop view. On mobile, the menu is hidden by default as all levels are generated by main navigation (hamburger menu).

Next, you need to apply your page layout to your pages that should render the sub-menu.

Related