S
S
semki0962016-11-08 17:46:53
Drupal
semki096, 2016-11-08 17:46:53

How to display information in views in the absence of a result?

There is a view with two open filters - manufacturer and brand. Let's say I chose a brand from Mercedes and the manufacturer chose Volvo. The result will be empty. And I need the manufacturer's filter to be ignored as a result. That is, it should look something like this "This manufacturer does not have this brand, but you can see it from the Volvo manufacturer - and a link"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
afi13, 2016-11-09
@afi13

Why such difficulties, implement an AJAX update of the model filter depending on the manufacturer, so that such a situation could not arise. The user has selected Mercedes and in the second filter sees only what applies to Mercedes, and not to all manufacturers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question