I'd like to let the user pick how many items are gonna be displayed on the page. Therefore, I need to display a field with a select or something.

Is there a way to make that directly through the UI, not with coding?


Yes, you can do that with Views.

In the pager settings for the View, select to expose the number of items to the user.

enter image description here

Make sure the textfield with available items per page options includes the default number of items per page.

|improve this answer|||||
  • Is this in Drupal 7 ? When I click on the pager options I have only a choice on how what to display (all items, a defined number of item, etc.). If I choose one and then apply, I can only pick the number of items to display and at what number to start. link – Ebpo Jan 18 '13 at 13:59
  • Yes, that's in Drupal 7, choose which type of pager ( e.g full ), then after that you can set the pager options. – David Thomas Jan 18 '13 at 23:31
  • I had not picked the right option. Thanks a lot for your time! – Ebpo Jan 22 '13 at 21:30

Don't Forget in your View under 'Advanced' tab to change value of "Use AJAX" item to "Yes" Otherwise it doesn't show view exposed pager


|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.