I've lists of tags suppose good and bad, now when I click to good tag it lists all good posts ( full posts ). But I wanted to show good posts only upto 5 items then all other should be there while I navigate.

So, how can I show the pager for the clicked tags. I tried it with views module, but nowhere I could see it to do this.

I've setup my views like this:

enter image description here

  • Could you post a screenshot of how you setup your view? – Pontus Nilsson Jun 17 '14 at 9:15
  • @PontusNilsson updated. – Navin Rauniyar Jun 17 '14 at 9:21
  • Looks like you forgot to check the checkbox "Use a pager"? – Pontus Nilsson Jun 17 '14 at 9:24
  • @PontusNilsson That pager is for tags itself(how many tags should be displayed). But I wanted to show pager when I click to the tags. – Navin Rauniyar Jun 17 '14 at 9:30
  • Create a view of content with pager and pass the term id as contextual filter. – wolverine Jun 17 '14 at 9:32

Create a view of content ( as a page with pager ) and add a contextual filter named Content: Has taxonomy term ID. Refer the images below.

enter image description here

enter image description here

enter image description here

Once you have configured this then you can acces this view using a url like mysite.com/view-path/tag-name.

  • Is that in 7? I can't see that. – Navin Rauniyar Jun 17 '14 at 10:44
  • Yes, else you can follow the answer provided by @Bhuvana. Which will be easy for you. – wolverine Jun 17 '14 at 10:45
  • Her answer is correct and views provide a view to list content based on taxonomy term. – wolverine Jun 17 '14 at 10:58
  • and is the second image for tags view? – Navin Rauniyar Jun 17 '14 at 11:01
  • all the images are for the single contextual filter that you create. – wolverine Jun 17 '14 at 11:02

Views module provides a view for Taxonomy terms to cater to the requirement of displaying articles related to a tag.

Under Structure -> Views look for the view "Taxonomy term" and enable it in case it is disabled. You do not need to create a view for this purpose. enter image description here

The taxonomy page by default has the pager configured with 10 items per page.You may edit it by clicking on the edit option of the view and editing the pager option as shown in the screenshot here. enter image description here

  • Thank you Bhuvana for your reply, but that's not what I wanted. – Navin Rauniyar Jun 17 '14 at 11:01

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.