Gravatar for

Question by dauclair, Mar 21, 2019 7:04 PM

Change the text from Query summary in Hive Framework

By default it results x-y of y but I wish to change this to decide my own behavior, how can I achieve this using the Coveo for Sitecore Hive Framework.

I saw that you can possibly override the Coveo dictionary ( but I would like to know if these dictionary live in Coveo for Sitecore ? Otherwise, what is my best option ?

1 Reply
Gravatar for

Answer by dauclair, Mar 21, 2019 7:40 PM

A possible solution would be to use the overriding script introduced in the February release of Coveo for Sitecore 5 to override the string just like you would do in the JSUI. Once you have managed to override the string you can use the same syntax to define your own message.

"ShowingResultsOf": {    
    "en": "Result<pl>s</pl> {0}<pl>-{1}</pl> of {2}",

If you wish to see the syntax for other strings you can find it here

Ask a question