Versions Compared

Key

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

...

...

The shortcuts you want to display must be described in the actionAvailabled.json file located in the menu directory. It is an Array<Action> with the following settings :

...

Code Block
breakoutModewide
languagejson
{
    "id": "menu-action-search",     unique identifier of your choice for the menu entry
    "key": "sidebar.search.title",  i18n localized key for action label
    "icon": "fal fa-search",        font awesome icon (fa-s/l/r)
    "to": {
      "name": "dam-explore",        the Vue route to follow on click
      "params": {
      }
    },
    "descriptionKey": "sidebar.search.description"  i18n localized description
  },

The previous example adds the asset search shortcut to the menu :

...

...

...

The footer links you want to display must be described in the footer-links.json file located in the menu directory. The links property is an Array<Link> with the following settings :

Config Path

Default value

Description

$.menu.footerLinks

Code Block
{
  "links": [
    {
      "i18n": "page.title.legal",
      "routing": {
        "to": {
          "name": "legal"
        }
      }
    },
    {
      "i18n": "sidebar.about",
      "routing": {
        "to": {
          "name": "cgu"
        }
      }
    }
  ]
}

Link to legal notice compon

Each Link object has the following structure :

Code Block
breakoutModewide
languagejson
{
  "i18n": "page.title.legal",   i18n localized key for link label
  "routing": {
    "to": {
      "name": "legal"           the Vue route to follow on click
    }
  }
}

...