Versions Compared

Key

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

...

Contributing sliding images is a 2 steps process from the backend interface:

  1. Upload and describe images Administration > Manage Portal > Manage Home carousel images.

  2. Create a home widget Administration > Manage Portal > Home Widgets of type carousel and assign it the images you want

Widgets area

Widgets are contributed from the back-end interface. Administration > Manage Portal > Home Widgets. You can sort the widgets from the backend interface.

...

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.

You can configure wich contexts you want to see in the dropdown menu. If you don’t configure it, contexts defined in $dam.contexts will be displayed.

“google like” search

Config path

Default value

Description

$.home.displaySearchBar

true

Enables the google like search

$.home.headerNavHomeBarSearches

Code Block
[
  {
    "translationKey": "home.searchBar.allmedia"
  },
  {
    "translationKey": "home.searchBar.video",
    "targetCursorName": "allVideos"
  }
]

Defines the different values available in the left drop-down menu.

Each entry in the array is an object accepting 2 properties:

  • translationKey (mandatory), the i18n key for the dropdown item

  • targetCursorName name of the cursor the search should lead to (default: allAssets)

$.home.hideCursorNameIfAlone

true

When set to true, will hide the cursor name, if only one available

i18n home.button.search

Search

i18n key for the search button

fill-in the gaps sentence

Search bar can be configured as a simple “fill in the gap sentence”

The configuration allows you to set up a list of universes. For the input field, you can choose the fields to use for auto-complete. You can then configure one or more metadata that will appear as filters.

...

Config path

Default value

Description

$.home.displayNaturalSearch

false

Enables the fill-in the gaps sentence

$.home.headerNavNaturalSearches

undefined

Accepts an array of sentence description.

Each entry in this array is an object allowing following properties:

  • translationKey: String, i18n key for the search

  • cursor: Objecta cursor description

  • suggestedDisplayFields: Array<String> list of fields to be used for auto-complete when filling-in text in the free search field

  • enabledFields: Array<String> list of fields enabled for selecting values

  • fieldsConfig: Objectallows to configure how enabledFields should be displayed. Each entry in this object should match an item of enabledFields. Each value provides options for configuring the field.

i18n key:

naturalsearch.loading

Searching…

Button text when the search is running

i18n key:

naturalsearch.noResults

Sorry, no results for your search

Button text when search returns no result

i18n key:

naturalsearch.viewNresults

View {0} results

Button text when search returned results

Note

If both $.home.displaySearchBar and $.home.displayNaturalSearch are set to true, the system will show both search options.

Common config to both searches

Config path

Default value

Description

$.home.hideFulltextModeOption

true

When set to false, adds a checkbox to enable “reference searches”. By checking this box, the system will permform searches using an “OR” operator between words instead of using an “AND” this is usefull to search for multiple product references: results will only need to match one reference instead of all references

i18n key: common.search.fulltextoption.allterms

Search by reference

i18n for the checkbox label: common.search.fulltextoption.allterms

background sliding images as a dedicated contribution

Contributing sliding images is a 2 steps process from the backend interface:

  1. Upload and describe images Administration > Manage Portal > Manage Home carousel images.

  2. 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

...

Analytics widget cannot be configured ; it is activated through 2 conditions:

  1. There is a carousel widget configured in backend

  2. The config entry point $.home.displayTopMedias is not set to false

Footer area

A footer of links can be displayed on the home page.

...