Jump to content

Search Results in content.category.php

Recommended Posts


I'm using the following:

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

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...