-
AuthorPosts
-
January 27, 2014 at 3:27 pm #194151
Hi!
On my website joomla2014.andavis.de there appears a “0” under the search box. It was already there after installation of quickstart. I do not know how to remove it. It must depend on the settings of the search module because the “0” dissapears when setting “Search Button” to yes. But I don’t want a button neither the ugly “0”.
Perhaps its something with language settings? In your demo that “0” does not appear.
Thanks!Thomas
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 27, 2014 at 4:12 pm #520057Can you provide the url of the site you’re working on?
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
January 28, 2014 at 5:44 am #520155@bakeberg, please upgrade to the latest T3
Another option, please copy pluginsystemt3basehtmlmod_searchdefault.php file to override the file (same name) in your template directory: /[your template]/html/mod_search/default.php, then edit this default.php file (in template directory) as follows:
Replace:
if ($button) :
if ($imagebutton) :
$button = ' <input type="image" value="' . $button_text . '" class="button' . $moduleclass_sfx.'" src="' . $img . '" onclick="this.form.searchword.focus();"/>';
else :
$button = ' <button class="button' . $moduleclass_sfx . ' btn btn-primary" onclick="this.form.searchword.focus();">' . $button_text . '</button>';
endif;
endif;With:
if ($button) :
if ($imagebutton) :
$button = ' <input type="image" value="' . $button_text . '" class="button' . $moduleclass_sfx.'" src="' . $img . '" onclick="this.form.searchword.focus();"/>';
else :
$button = ' <button class="button' . $moduleclass_sfx . ' btn btn-primary" onclick="this.form.searchword.focus();">' . $button_text . '</button>';
endif;
else :
$button = '';
endif;January 28, 2014 at 7:32 am #520168Hi its
http://joomla2014.andavis.de
ThomasTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 29, 2014 at 6:57 am #520328I tried it but:
1. I already have the latest version of T3 installed
2. There is no directory “mod_search” under the template directory “ja_mero”. So I am not able to copy the default.php :((Any other hints?
Thank you!January 31, 2014 at 3:19 pm #520644I edited the file in the T3 directory and it worked. So I did not copy any file as suggested. But finally it solved the problem. Thanks Thomas
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 31, 2014 at 4:01 pm #520646<em>@bakeberg 408727 wrote:</em><blockquote>I edited the file in the T3 directory and it worked. So I did not copy any file as suggested. But finally it solved the problem. Thanks Thomas</blockquote>
NICE WORK !!!
All the best with your continuing site development.
🙂
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by TomC 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum