This view is the result of a given postcode. how could I hide/filter referenced content when its end date is over? The referenced content should disappear but the non referenced content should still be displayed.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
I'm not so sure this is possible through the views interface. But, you can easily do this through your theme layer.
In your view admin area, under advanced there's the page: Theming information. Clicking on that will give you a list of available tpl.php names that can be used to create your own tpl.php files that can be added to your theme. Your probably gonna wanna use a row style output. The list of those files go from general to specific, so the last time will only be applied to your view. Clicking on the link of row style will give you the content of the default file.
All you would need to do is just print the fields as normal, with the exception of the fields you want to exclude. Just use a standard if to check to make sure they're still valid, if not, don't print them.
My suggestion would be that you display your Starts/Ends timer in another view as an attachment (or you could bring it in using views field view module).
Create this second view as your timer interface, but set your Filter Criteria to only show results when Current Time > Start Time AND Current Time < End Time
I've done something similar where I only wanted to show something based on a property within the view
In my example above, the first date/time is set to greater than or equal to now, the second is set to less than or equal to now. In the setup, you set the relative date as 'now' and it will work on what time the page has loaded
Then you can pull this second view in as mentioned above, but it should mean that this second view will return no results outside of the times you specify. However, unless you have an AJAX method that will refresh the table when the timer reaches 0, it will show a result based on when they first load the page