In the docs it states that any of the variables can be used as conditonals, but i’m having trouble getting this to work.
For each of my entries that have been tagged, i would like the output to look like this:
TAGS: tagname - anothertag - sometag
For entries that have not been tagged, i would like the output to look like this:
TAGS: entry has not been tagged
Here is my current code:
TAGS: {exp:tag:tags entry_id="{entry_id}" backspace="3" type="weblog" orderby="clicks" sort="desc" limit="10"}{if tag == ""}entry has not been tagged{/if}
<a href="{path={relative_url}/tags/{websafe_tag}}">{tag}</a> - {/exp:tag:tags}
Any help would be much appreciated, thanks!
