exp:tag:tags with no results
Posted: 05 September 2007 04:34 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2006-04-08

This is the code I’m using to show tags that apply to the shown page. How can I deal with pages that have no tags?

<p><em>Tags</em>: {exp:tag:tags entry_id="{entry_id}"}{if no_results}No tags have been assigned to this page.{/if}<a href="{path="tag/{websafe_tag}"}" rel="tag">{tag}</a><span class="delimiter">, </span>{/exp:tag:tags}</p>

Profile