Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Also by using the Sidebar "EventOnInitialize" attribute event, the developer can specify a custom client logic method in which he can set the menuStructure or menustructures a comma separated list of menus to load.

For eg EventOnInitialize: "$ akioma.buildMainLayoutTabsSidebar(self);"

...

The menu(s) to load can be created from the Menu admin desktop screen.

Ribbons in Sidebar

It is also possible to load menus with blocks and separators inside sidebars, ribbon menus. 

For it to work we need to also specify the menuStructure depth 2 for the initial loading. This can be achieved by setting the "menuStructure" attribute to something like: "rbOfferCompact:2",

where the first part is the name of the menu structure and the second part is the depth of menu. You can also load multiple menu structures like for example: "rbOfferCompact:2, rbOffermenu:2".

Image Added

All styles customization can be done in normal CSS by using this classes

...