Hi,
We have a template that will display an author’s article, and then any additional articles by that author.
<div class="author">
<h2>About the Author</h2>
<img src="[!GetField?&docid=`[*author_profile_id*]`&field=`author_image`!]" style="width:90px; float:left"/>
<p>[!GetField?&docid=`[*author_profile_id*]`&field=`content`!]</p>
<h4>Other Articles by [!GetField?&docid=`[*author_profile_id*]`&field=`pagetitle`!]:</h4>
<ul>[!Ditto?&display=`all`&tpl=`category_li`&filter=`author_profile_id,[*author_profile_id*],7`!]
</div><!--author-->
{{sidebar_right}}
</div>
What our client would like is that if there are no other articles, we don’t even display the text "Other Articles by author: No documents found."
http://captainscruffy.com/career/secrets-of-happy-prosperous-self-employment.html
How can I modify the above template code to achieve this?
Thanks, - Dave