Hey,
We have a site that aims to automatically remove certain entries from display through the use of the EE “channel_entries_query_result” hook, depending on certain settings. Those settings are generally controlled by the user on the front-end.
If the user is on a page dedicated to one of those entries and toggles off its visibility, I need to redirect them to another page. The no_result conditional in an {exp:channel:entries} tag pair should be ideal for this situation.
Instead, because the initial query(/ies) return results, EE->TMPL->no_results() is passed over. Wouldn’t it be a good idea to call this after the “channel_entries_query_results” hook returns?
If not, what is a good way for me to redirect users manually on a page-by-page basis?
Thanks!