Skip to content

Help Menu Items

jpkeyw edited this page Jun 22, 2016 · 1 revision

Help Menu

At the bottom of the left nav, we can include links to things outside of the application under the heading of "Help". The contents of the Help sub-menu are populated from the helpMenuItems array in the config file. If the array is empty, the help menu doesn't show up. Clicking any help links will open the appropriate page in a new tab.

The helpMenuItems array should contain one or more objects with the keys title and link. title is used as-is as the text of the link. link should be the full url (eg, http://www.example.com/target/ or mailto:help@example.com) to link to.

Sample

module.exports = {
  .
  .
  .
  helpMenuItems: [
    {
      'title': 'Contact Us',
      'link': 'mailto:help@example.com'
    },
    {
      'title': 'Overview',
      'link': 'http://example.com/target'
    }
  ],
  .
  .
  .
}

Clone this wiki locally