EE 2.4.0
My channel entry no_results conditional is not returning any content. In fact, I’ve never been able to get this conditional to work. Ever. Not sure why.
Here is my channel tag code:
{exp:channel:entries
disable="categories|category_fields|pagination"
channel="ch_class_tracker"
status="open"
show_future_entries="no"
show_expired="no"
author_id="CURRENT_USER"
require_entry="yes"
orderby="date"
sort="asc"
}
{if no_results}no results content{/if}
content
{/exp:channel:entries}An entry ID is not being passed in the URL on this page. I am pulling up entries based upon the author_id=“CURRENT_USER” param.
If the author has not created an entry yet, I want the no results content to appear.