Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

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.

share|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 to change value of "USE AJAX" item "yes" Otherwise it doesn't show view exposed pager

thanx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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