...
Config path | Default value | Description | |
---|---|---|---|
Image 1 - Board | |||
Image 2 - Board | |||
Image 3 - Board |
Advanced Configuration
Search bar area
Search bar can be configured as a simple “google like” search or with a “fill-in the gaps sentence”. Default configuration uses the “google like” search.
The background sliding images can be configured as a dedicated contribution of images or as the result of a predefined query on any dam content inside the DAM. Default configuration uses a dedicated contribution.
“google like” search
Config path | Default value | Description | ||
---|---|---|---|---|
|
| Enables the google like search | ||
|
| Defines the different values available in the left drop-down menu. Each entry in the array is an object accepting 2 properties:
| ||
|
| When set to | ||
i18n | Search | i18n key for the search button |
fill-in the gaps sentence
Config path | Default value | Description |
---|---|---|
|
| Enables the fill-in the gaps sentence |
|
| Accepts an array of sentence description. Each entry in this array is an object allowing following properties:
|
i18n key:
| Searching… | Button text when the search is running |
i18n key:
| Sorry, no results for your search | Button text when search returns no result |
i18n key:
| View {0} results | Button text when search returned results |
Note |
---|
If both |
Common config to both searches
Config path | Default value | Description |
---|---|---|
|
| When set to |
i18n key: | Search by reference | i18n for the checkbox label: |
background sliding images as a dedicated contribution
Contributing sliding images is a 2 steps process from the backend interface:
Upload and describe images Administration > Manage Portal > Manage Home carousel images.
Create a home widget Administration > Manage Portal > Home Widgets of type carousel and assign it the images you want
background sliding images as a predefined query
Defining the images displayed in the slider can be done by defining a cursor
and referencing it in the config entry point $.home.homeHeaderCarousel
.
The default value for this config entry point is homeHeaderCarousel
, however, no cursor has been defined.
By defining such a cursor, the system will load matching data and use the result to display images.
Note |
---|
background sliding images as a predefined query has precedence over background sliding images as a dedicated contribution. As soon as the cursor matching the |
Widgets area
Widgets are contributed from the back-end interface. Administration > Manage Portal > Home Widgets. You can sort the widgets from the backend interface.
Based on the widget type you select, the form will adapt itself to let you choose one, two, three or four public carts.
From a portal perspective, widgets are loaded by retrieving the list of contributed home widgets.
Analytics widget
Analytics widget cannot be configured ; it is activated through 2 conditions:
There is a carousel widget configured in backend
The config entry point
$.home.displayTopMedias
is not set tofalse
Footer area
A footer of links can be displayed on the home page.
To activate it, set config entry point $.home.displayFooter
to true
Links displayed are configured through $.home.footer
(Array
)
Each item in the array is an object containing following properties:
icon?
:String|Object|Array
classes for displaying an icon. Defaults tofal fa-external-link-square
i18n
:String
i18n key of the link label.action?
:Object
store action to dispatch.type
: name of the action to dispatchpayload?
: payload to pass to the action
routing?
: An object for routing (same props than what ab-link
would accept)