/
Menu SFO

Menu SFO

Method

Signature

Comments/Sample

getMenuItems

MenuItem getMenuItems()


getHtml

string getHtml

returns a <ul> list of menu items as a block of html. Convenience method. The LI tag will contain classes:

  • menu-current-url
  • menu-child-current-url

to help with styling the menu to show the active location of the customer.

Related content

MenuItem SFO
More like this
Code to render a menu - Developer Example
Code to render a menu - Developer Example
More like this
SimpleList SFO
More like this
Site SFO
More like this
Theme SFO
More like this
Navigating to a Specific Page
Navigating to a Specific Page
More like this