List Manager Forum

Show none by default?

User moon_531 2012-08-23 17:07:05

By default in my front end it shows 10 list items i whant to know how can i put 0 result by default and result apper only wen i start typing in the search box? thank you

Moonsoft support 2012-08-24 10:27:37

Hello,
number of items per page is a parameter you could change at module or component configuration. But you can't set it to 0, because pagination won't work, and you can't change this value when search is launched, unless you do some code modifications to the front-end.
In order to get that specific behaviour, the changes to be done would be to hide the entire table using css, and then change the code of the search function to force it to display again. These are not mayor changes, if you are interested, please place a ticket at helpdesk or send us an email and we'll give you a quote to build a custom release.
Thank you, regards

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!