-
AuthorPosts
-
investx Friend
investx
- Join date:
- April 2015
- Posts:
- 58
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 28, 2009 at 11:07 am #147116Why 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 Friendnoibihappy2009
- Join date:
- January 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 8
- Thanked:
- 6 times in 1 posts
December 28, 2009 at 7:30 pm #327617Did u try in lang file ?
micrantha Friendmicrantha
- Join date:
- May 2007
- Posts:
- 465
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 158 times in 148 posts
December 28, 2009 at 8:33 pm #327622Hello 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,
Micrantha1 user says Thank You to micrantha for this useful post
madeline63 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
June 15, 2010 at 3:30 am #347073hi, 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?
-
Sherlock Friend
Sherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 17, 2010 at 9:21 am #347357Hi madeline63,
Can you post your url in here for a checking ?
madeline63 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
June 25, 2010 at 3:14 am #348032hi 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 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
July 22, 2010 at 3:44 am #350415here you are
http://www.tzuchi.org.sg/tJoomla/ -
AuthorPosts
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
Jump to forum