Matoeil
Matoeil

Reputation: 7289

DRUPAL views : Change Fate of filtered out nodes from drupal view filters

When filtering nodes using filter criteria from view (in my case exposed filter ), the excluded nodes are not displayed. What i would like to achieve is still displaying these excluded nodes but differentely.

I imagine for example , displaying only the field teaser_image in case of filtered-in nodes and displaying only the field back_flip_image for the filtered-out nodes .

How could i do that ?

As a plan B, i would like to keep all remaining nodes teaser_image at the same position on the page whatever the exposed filter is clicked and use a default image to replace disappearing nodes

Upvotes: 0

Views: 22

Answers (1)

MilanG
MilanG

Reputation: 7124

Then remove that filter and move filtering logic to view template file.

Upvotes: 1

Related Questions