Edjet LMS Server 6.4

Add a sub-menu to the page

Admin info

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. Sign in to Edjet LMS admin.
  2. In the menu click language Learner portal and then click web Page layouts.
  3. In the toolbar click add New item.
  4. Enter a Name.
  5. Click Appearance tab.
  6. Choose Page layout template option: 2_cols_grid_3_9.tpl.php
  7. In the toolbar click save Save.
    At this point, the zones coded in the template are detected and listed in the UI.
  8. Click Appearance tab.
  9. Click Edit next to the zone: wpz_LeftColumn zone.
  10. Click add Add.
  11. Choose Menu and click OK.
  12. Enter following code into the Properties:
    'tpl' => 'webparts/navigation/menu_vertical_list.tpl.php',
    'starting_level' => '1', 'generation_scale' => WebPartZone::SCALE_CURR_BRANCH
  13. In the toolbar click save Save and close.
  14. In the toolbar click save Save.

* 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.

Advanced portal customizations