Ok, I thought I had this working and it’s probably something simple I’m missing. How do you check to see if a weblog entry has category? I thought by just doing
{categories}
{if category_id != ""}
(do something)
{if:else}
(do something else)
{/if}
{/categories}I’d be fine. Well if there is a category, then the stuff in the first “if” works, but anything inside the {if:else} part doesn’t execute if there’s no category. I want to display the category image if there is a category, and display a default image if there is no category.
Any help?