Mistery 0 on search box
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Mon Dec 30, 2013 1:11 am
- Reply with quote
- Report this post
Hi,
since I got the joomla update to 3.2.1. i have that strange problem with the search box. Instead of being 52 px high it's 86 px high now. First i thaught it was because of the sprite but I checked the template.css and all the values are ok, the position of the icon on the icons.png and the 52 px are correctly written in the file. I figured out that there was a number zero under the search box that's making the search box as you can see in the inspect element window but I can't figure out where does that zero come from.
Any idea?
Thank you very much in advance
since I got the joomla update to 3.2.1. i have that strange problem with the search box. Instead of being 52 px high it's 86 px high now. First i thaught it was because of the sprite but I checked the template.css and all the values are ok, the position of the icon on the icons.png and the 52 px are correctly written in the file. I figured out that there was a number zero under the search box that's making the search box as you can see in the inspect element window but I can't figure out where does that zero come from.
Any idea?
Thank you very much in advance
-
- Senior Boarder
- GK User
- Mon Dec 30, 2013 5:26 pm
- Reply with quote
- Report this post
Hello,
Please open file html/mod_search/default.php and please replace:
to:
Please open file html/mod_search/default.php and please replace:
- 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;
-
- Administrator
- GK User
- Tue Dec 31, 2013 6:59 pm
- Reply with quote
- Report this post
I came to the forums for this exact reason also. This fix worked great. Thanks for having this on the site it's very helpful.
-
- Fresh Boarder
- GK User
- Mon Jan 06, 2014 1:20 pm
- Reply with quote
- Report this post
Thank you very much, it was killing me 

-
- Senior Boarder
- GK User
- Tue Jan 07, 2014 10:52 pm
- Reply with quote
- Report this post
Hi!
I had that same problem but after replacing code the 0 has missed... but it is still 86px high...
what can I do?
I had that same problem but after replacing code the 0 has missed... but it is still 86px high...
what can I do?
-
- Fresh Boarder
- GK User
- Thu Jan 09, 2014 9:15 am
- Reply with quote
- Report this post
@Notoroius - please provide an URL to your website - without it I'll be unable to help you.
-
- Administrator
- GK User
- Thu Jan 09, 2014 2:46 pm
- Reply with quote
- Report this post
Hi dziudek,
Thank you!
Here I'm: notorious.hu
Thank you!
Here I'm: notorious.hu
-
- Fresh Boarder
- GK User
- Fri Jan 10, 2014 9:54 am
- Reply with quote
- Report this post
Please change the button position in the search module settings to right/left - it should helps.
-
- Administrator
- GK User
- Fri Jan 10, 2014 10:55 am
- Reply with quote
- Report this post
Yes! Thank You dziudek!!!
-
- Fresh Boarder
9 posts
• Page 1 of 1