Hi,
no_results is not working in exp:query for me.
My query is within switchee, so I tested it outsite, but it still didn’t work. I also tried this php method, but it didn’t work.
I tried to shorten my query and turn of php, it din’t help.
Here is my shortened code:
<ul>
{exp:query limit="20" sql="
SELECT
exp_channel_titles.title
FROM
exp_channel_titles
"}
{project_list}
{if count==total_results}</ul>{/if}
{pagination_list}
{if no_results}
<p>Nothing here</p>
{/if}
{/exp:query}
Also the closing ul always shows up. Even if there are no results.
Thanks,
Phil
