0

i’m listing in a view a list of article filtered with taxonomy terms.

The result is like this :

taxonomy term 1
- article A (content type 1)
- article B (content type 1)
- article C (content type 2)

taxonomy term 2
- article D (content type 1)
- article E (content type 1)
- article F (content type 2)

taxonomy term 3
- article G (content type 1)
- article H (content type 1)
- article I (content type 2)

How can i exclude from this list some articles based on their content type ? For example, remove "content type 2".

Also, i’ve created a view which contains article C, F, I. How can i add a specific view to this list ?

Here is my view settings :

enter image description here

Here is the result in front-end :

enter image description here

3 Answers 3

3

You can add this rule to Filter criteria section as on screen enter image description here

3
  • It’s working. Do you know how can i add a "page view" to this list ? Jun 13, 2017 at 8:41
  • Sorry, I don't understand what does "page view" mean in this case Jun 13, 2017 at 8:49
  • 1
    I’ve created a view which includes 3 articles (article with content type 2). We can see this view in frontend as a page. I would like to display link to this view in this list.Is that more clear ? Maybe i should post a new question. Jun 13, 2017 at 8:53
0

You can add link to this views manually in footer. Go to footer section and add unfiltered text as on screen

enter image description here

This link will be in the bottom of list

3
  • It seems a good idea. But i have several views to add all associated with taxonomy terms. So it would not be possible to have them in the footer. They have to be in the list because they are associated with taxonomy terms. Jun 13, 2017 at 9:11
  • In this case you can create tab menu with all this views as described here: drupal.org/node/1578582 Jun 13, 2017 at 9:28
  • I'v created an other question for this purpose since you have already answered my question : drupal.stackexchange.com/questions/238357/… Jun 13, 2017 at 15:50
0

Add new Link field in View like displayed in below image to add Link in view like "Read More".

enter image description here

Text it Like "Read More" so it will link to detail view of that article.

enter image description here

in Rewrite Results you can add link , class , text etc

enter image description here

1

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.