I have the following code:
[resource;block=begin]
<div class="linkbox">
<h3>[resource.site_title;htmlconv=no]</h3>
<p class="linkdesc">[resource.description;htmlconv=no]</p>
<p class="linksinfo">Clicks Out: [resource.clicks] | <a href="redirector.php?site_id=[resource.site_id]">Visit this Site</a></p>
</div>
[resource;block=end]
|
But then, if there is no data to show, I would like it to do:
<div class="errbox">
.....
.....
</div>
I thought I could do that with
[resource;nodata]
<div class="errbox">
<h1>No Records</h1>
</div>
[resource;end]
|
But I can't so I must have dreamed that. :)
What's the easiest and quickest way to accomplish this? Using latest version of TBS.