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.
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.
- In your template package find this file: gk_template\html\mod_search\default.php
- 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;
- Save changes and using FTP replace the file with your modified version. Refresh your website.
This article was first published