[!Ditto? &parents=`31` &tpl=`foo` &filter=`in_stock,No,1`!]
[+phx:input=`[!Ditto? &parents=`31` &tpl=`foo` &filter=`in_stock,No,1`!]`:isnot=`none`:then=`Products Not in Stock`:else=``+]

&tplFirst=`category_listing_tpl_first`
<h2>Products Not in Stock:</h2>
<div class="productListing">
<a href="[~[+id+]~]" title="[+longtitle+]">
<h3><img src="[+thumb_image+]" alt="[+longtitle+]" width="125" height="125" /> [+longtitle+]</h3>
<p>[+product_summary+]</p>
</a>
</div> Obviously the no-results-output of Ditto can not be treated like a string?[+phx:input=`[!Ditto? &parents=`31` &tpl=`foo` &filter=`in_stock,No,1`!]`:isnot=`none`:then=`Products Not in Stock`:else=``+]
(somehow lost in copying).