I am new to drupal and views. I have successfully created views page and understood some basics of it and views theming. I have created a views page for content type(products) listing. Now on the views page i have successfully listed the products. and now i want to theme it and also would like to know how to do pagination for it?


You have to be a bit more concrete when you ask for how to theme a view. One thing to note is that views help you with template suggestions (names for templates) which is one of the most common and easiest ways to alter the output of Views.

Pagination can be setup from within the interfacer. There is a pager link you can click on to set that up, if you look around a bit I'm sure you'll find it. The location depends on the Views version you use.

  • Hello thank you for the reply. I found theme information helpful while creating theme for views. Now How can i list all the content in content type in layout i want? I created views template file views-view--products-list.tpl.php I want to know how do i loop through products and how do i show pagination. – Yalamber Aug 8 '11 at 18:27

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.