GavickPro Documentation

How to fix a “0” appearing below the search field in your Joomla template-powered website

On some templates you might see a small problem with a “zero” (0) appearing below or next to the search field of the search module, which you may want to remove to preserve the aesthetics of the site.

Zero problem in Search module

In this short guide we will show you how to fix it, assuming a new version of the template that already contains the fix is not available.

  1. In your template package find this file: gk_template\html\mod_search\default.php
  2. Open this file in the HTML editor of your choice and between lines ~17 and 18 (endif;) add this code:
    else :
    $button = '';

    Your code should now look exactly like this:

     endif;
             else :
                $button = '';
             endif;

    Result fixed code in mod_search\default.php file

  3. Save changes and using FTP replace the file with your modified version. Refresh your website.
How to fix a “0” appearing below the search field in your Joomla template-powered website 5.005 (100.00%) 3 votes