Forums de discussion

Customization of search paginator look..

thumbnail
Vikas Kadam, modifié il y a 12 années.

Customization of search paginator look..

New Member Publications: 22 Date d'inscription: 15/06/11 Publications récentes
Hi,
I want to customize the look of the liferay default search paginator look. I need to remove the select box "Items per Page " and "Page"?
If I have to write hook then which page do I need to override? or is there any setting to remove this from paginator?

Thanks.

-Vicky
thumbnail
Abhed Dekavadiya, modifié il y a 12 années.

RE: Customization of search paginator look..

Junior Member Publications: 74 Date d'inscription: 05/10/10 Publications récentes
Hi Vikas,

I haven't tried the search-paginator taglib in my code. But did you tried different values of attribute "type"?
It gives different types of pagination view. Supported values are "more", "regular" or "article".
Please refer search-paginator taglib definition in liferay-ui.tld file.

Though if you want to customize it then you need to write a hook for page-iterator (portal/portal-web/docroot/html/taglib/ui/page_iterator/start.jsp) taglib.
Because search-paginator taglib uses page-iterator taglib. Refer portal/portal-web/docroot/html/taglib/ui/search_paginator/page.jsp for more details.
Please note that customization of page-iterator taglib will affect all the places where it is being used by Liferay.

Good luck !
- Abhed