...
The available actions are described in the actionAvailabled.json file located in the menu
directory. It is an Array<Action>
where each Action
object has with the following structure :description :
Config Path | Default value | Description | ||||
---|---|---|---|---|---|---|
|
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Config Path | Default value | Description | ||
---|---|---|---|---|
$.menu.actionAvailabled |
| Shortcut to asset search Shortcut to asset import |
Each Action
object has the following structure :
Code Block | ||||
---|---|---|---|---|
| ||||
{
"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 :
...
Adding footer links in the menu
...
The list of available languages can be modified from the available-languages.json file located in the language
directory. It is an Array<Lang>
with the following description :
Config Path | Default value | Description | |||||
---|---|---|---|---|---|---|---|
$.language.availableLanguages |
| An array of lang objects with 2 entries:
|
Disabling access to the Profile menu
...