0 appearing in simple search module after Joomla update
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Fri Jan 10, 2014 3:06 pm
- Reply with quote
- Report this post
UPDATE: I changed the 'search button' option in the module to YES for now, so that there's something there instead of just a 0.
Hello,
Just updated to Joomla 3.2.1 and now there's a 0 appearing in my simple search module (screenshot here: https://www.dropbox.com/s/52d7qyfzhn8xl ... .55.40.png)
Gavern 3.9.2
Website link is http://chnonline.org
Thanks,
CB
Hello,
Just updated to Joomla 3.2.1 and now there's a 0 appearing in my simple search module (screenshot here: https://www.dropbox.com/s/52d7qyfzhn8xl ... .55.40.png)
Gavern 3.9.2
Website link is http://chnonline.org
Thanks,
CB
-
- Junior Boarder
- GK User
- Fri Jan 10, 2014 4:02 pm
- Reply with quote
- Report this post
Please edit file:
templates/gk_gamenews/html/mod_search/default.php
and change:
to:
templates/gk_gamenews/html/mod_search/default.php
and change:
- Code: Select all
if ($button) :
if ($imagebutton) :
$button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'" onclick="this.form.searchword.focus();"/>';
else :
$button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" onclick="this.form.searchword.focus();"/>';
endif;
endif;
to:
- Code: Select all
if ($button) :
if ($imagebutton) :
$button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'" onclick="this.form.searchword.focus();"/>';
else :
$button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" onclick="this.form.searchword.focus();"/>';
endif;
else :
$button = '';
endif;
-
- Moderator
2 posts
• Page 1 of 1