1

I am trying to create a featured content block for my front page. To start I have set up a "featured" vocabulary with the two terms 'featured', and 'not featured'. I have then added that field to all my content types that I use.

Now when constructing the view to get all content that has the 'featured' term works if in the filter criteria it has only one content type. For example if I put the filter criteria to only check against the book term, then it brings back all book pages with the featured term. However, if I set up the filter criteria to check for book page feature, or article page feature, no content is found.

Is there a limitation on mixing content filtering in this way?

2
  • I can't reproduce this. You probably have a views setting wrong. You could remove the content-type filter to see if the taxonomy term filter alone is working. For the content-type filter you just choose "Is One Of" and then select your content-types in the list.
    – Volker
    Commented Jun 22, 2012 at 14:58
  • Thanks for replying - It is working when just retrieving just one content type, it is when you add the or filter for another content type. I have uploaded 2 screenshots to illustrate my point - there might be something I am missing :p working not working
    – inertiahz
    Commented Jun 22, 2012 at 16:47

1 Answer 1

0

First of all, in this case you don't need to add your filters to a new filter group, because views will use AND by default.

I don't see a filter for your taxonomy term. You should add one (see in the attached images).

For the content types you need just one filter, you can select which content types to filter on inside the filter.

Example Configuration Views Block

Example Taxonomy Term Filter

Example Content Type Filter

1
  • You are absolutely right :) I don't know why I didn't look for filtering just on the taxonomy term o.O Thank you :)
    – inertiahz
    Commented Jun 22, 2012 at 19:13

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.