I have a problem on using if no_result..see if anyone can help..
{exp:weblog:entries weblog="vphk_articles" category="{category_id}" url_title="{segment_2}" dynamic="on" }
{if no_results}
<h1>404?<h1>
{/if}
<h1>{title}</h1>
{article_content}
{/exp:weblog:entries}I randomly type something in segment_2, but it just empty, i jsut can’t get the 404? shown. It just keep empty in that div.
Can anybody help?