Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • investx Friend
    #147116

    Why i don’t see the “search…” text inside the search box like in purity 1 ??
    What can i do to make it apeear again??

    noibihappy2009 Friend
    #327617

    Did u try in lang file ?

    micrantha Friend
    #327622

    Hello investx,

    First you can add “search…” in parameter-field Text” in Module Manager > mod_search.

    Second: you have to change file ja_purity_ii/html/mod_search/default.php:
    Find line 23:

    <input name="searchword" id="mod_search_searchword" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value=" " />';

    Change to:

    <input name="searchword" id="mod_search_searchword" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if(this.value=='') this.value=''.$text.'';" onfocus="if(this.value==''.$text.'') this.value='';" />';

    So you have to replace value=”” with:
    value=”‘.$text.'” onblur=”if(this.value==”) this.value=”.$text.”;” onfocus=”if(this.value==”.$text.”) this.value=”;”

    These configurations are given and commented out in line 22.

    //$output = '<input name="searchword" id="mod_search_searchword" maxlength="20" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if(this.value=='') this.value=''.$text.'';" onfocus="if(this.value==''.$text.'') this.value='';" />';

    Good luck,
    Micrantha

    madeline63 Friend
    #347073

    hi, everyone,

    i am trying to move the mod_search from position “search” to “mega-item”

    however, when i move it, the layout of mod_search is different with the demo.
    how can i get the same layout when put it at “mega-item”??

    i am using Ja teline iii 1.4stable quickstart.

    any coding need to be modified?


    1. before
    2. after
    Sherlock Friend
    #347357

    Hi madeline63,

    Can you post your url in here for a checking ?

    madeline63 Friend
    #348032

    hi dathq,

    i am doing testing at my own pc, thus no url can be provide to u.
    or could i just keep the ”search button“ at right hand side, instead of the “search title” in left hand side?

    thanks

    madeline63 Friend
    #350415
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 5 voices, and was last updated by  madeline63 14 years, 4 months ago.

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