Extending Aikau Faceted Search

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Extending Aikau Faceted Search

I need to add pagination in the faceted search page of Alfresco 5.2 version with Aikau 1.0.101.3 . How can I do this? Can you please provide me a sample

2 Replies
Highlighted
Established Member

Re: Extending Aikau Faceted Search

If you wanted to extend faceted search page then override faceted-search aikau page.

Location : <Alf_Home>\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\share\pages\faceted-search

and use your custom widget like this. FCTSRCH_SEARCH_RESULT is existing widget Id override this by using your custom widget like this searchResultWidget.name = "custom/alfresco/search/AlfSearchResult";

var searchResultWidget = widgetUtils.findObject(model.jsonModel.widgets, "id", "FCTSRCH_SEARCH_RESULT");

if(searchResultWidget) {
searchResultWidget.name = "custom/alfresco/search/AlfSearchResult";
}

Highlighted
Member II

Re: Extending Aikau Faceted Search

Thank you for your response. Can you please tell me how can I add pagination in the faceted search page.?