掲示板

Liferay Search Container

thumbnail
13年前 に yan paing によって更新されました。

Liferay Search Container

Regular Member 投稿: 128 参加年月日: 10/03/11 最新の投稿
Hello everyone,
I want to remove the "items per page" from search container.
How can i remove this?
Or can i change default value.Now default value is (5,10,20,30,50,75).
I want (6,12,18).
Thanks and Regards,
Yan Paing

添付ファイル:

thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Liferay Search Container

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Hi,

You can hide that by specifying type attribute in ur search container tag. Simply try adding type="article"

Default type is regular

Regarding second question u can change delta values in portal-ext.properties as

 #
    # Set the available values for the number of entries to display per page. An
    # empty value, or commenting out the value, will disable delta resizing.
    # The default of 20 will apply in all cases.
    #
    # Always include 20, since it is the default page size when no delta is
    # specified. The absolute maximum allowed delta is 200.
    #
search.container.page.delta.values=5,10,20,30,50,75


Change teh above values as u want.

Regards,
Sandeep
thumbnail
13年前 に yan paing によって更新されました。

RE: Liferay Search Container

Regular Member 投稿: 128 参加年月日: 10/03/11 最新の投稿
Thanks Sandeep.
12年前 に neelam bhandari によって更新されました。

RE: Liferay Search Container

Regular Member 投稿: 102 参加年月日: 11/08/16 最新の投稿
Hi Sandeep,
In liferay the pagination disappear when the number of the items per page is greater than the displaying results as per this discussion http://issues.liferay.com/browse/LPS-18398.
I want to always show the bottom paginator.So I was thinking to set the items per page value according to the size of list in the search container.

Is it possible to set the search.container.page.delta.values=5,10,20,30,50,75 from the jsp dynamically?

Thanks
Neelam Bhandari