Hi there,
The following is not not outputting anything when no results are returning. As I am using dynamic=“on”, it is looking for a url segment. When that segment is set to something that does not relate to an entry, I would expect no_results to output.
{exp:channel:entries channel="blog_post" require_entry="yes" dynamic="on"}
{title}
{if no_results} No results {/if}
{/exp:channel:entries}I also tried setting url_title to some random string, and again, the no_results content did not show.
Am I misunderstanding the way this works? Any ideas?