1
votes

i've implemented an hook for liferay CE 6.2GA4 that adds a search field inside the dockbar, using <liferay-ui:search /> tag inside the view_user_panel.jspf file.

After that i've deployed the standard search portlet and implemented a custom configuration for facet search, adding my custom entities etc.. If i use the search portlet inside the dockbar IN my HOME (with also the original portlet configured) all is working good, but using the search in the dockbar in any OTHER page then the portal uses the standard configuration when showing the result.

Is there a way to set a global configuration (at last for all site pages) for search portlet?

1

1 Answers

1
votes

I remember I fall in the same issue time ago.

Please check if this way resolves the situation: create an hidden page, put it search portlet inside it, configure it as you want.

Consider the standard search portlet has <preferences-owned-by-group>true</preferences-owned-by-group>.

Let me know.