4

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?

2 Answers 2

9

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.

3
  • 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, 2013 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. Jan 18, 2013 at 23:31
  • I had not picked the right option. Thanks a lot for your time!
    – Ebpo
    Jan 22, 2013 at 21:30
0

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

thanx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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