Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • bakeberg Friend
    #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 Moderator
    #520057

    Can you provide the url of the site you’re working on?

    Css Magician Friend
    #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;

    bakeberg Friend
    #520168
    TomC Moderator
    #520259

    Thomas . . . . Did you give Css Magincian’s recommendations a try?

    bakeberg Friend
    #520328

    I 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!

    bakeberg Friend
    #520613

    @tomc do you have any idea? I am still stuck with that problem

    bakeberg Friend
    #520644

    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

    TomC Moderator
    #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.

    🙂

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 3 voices, and was last updated by  TomC 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum