0

I have the requirement where I need to show related books. if I click on any of the books.

So for that, I have used views CONTEXTUAL FILTERS with argument Content: ID and Taxonomy term: Term ID. which is working as expected. but another requirement is to show random result from the books if the contextual filter result is empty or the result is less than count 4.

Created view with FILTER CRITERIA Configure filter criterion: Content: Content type -> book

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.