Skip to content

[UPD][FIX] Smartmenus and megamenus with Bootstrap4 templates; Unified rendering logic for both types of menus (normal and structured)

Andon Andonov requested to merge andon.andonov85/tiki:feature/smartmenus into master

Need to check the logic for rendering normal menus with types, whether they correspond to the documentation Configuring a Custom Menu: (logic is in function.menu.php Line 229)

  • 's' - returns to sectionLevel 0
  • '1'...'n' - (sectionLevel 1 and above)
  • 'o' - option with current sectionLevel or sectionLevel++ if prev is of type section
  • '-' - separator goes back one level (sectionLevel--), if '-','-' return two levels and etc.

Merge request reports