Jump to content

Search Results in content.category.php


Cpup

Recommended Posts

Hi,

I'm using the following:

{if $VAL_SELF|strpos:'search.html'}<h5>Your search produced {$TOTAL_RESULTS} results...</h5>{/if}
<h5>{$category.cat_name}</h5>

To get search results. It's great, but doesn't capture 0 items found.

I get:

Your search produced results...
Search results

Is there a way of editing {$TOTAL_RESULTS} to include '0'?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...