Request (replace search)

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

Re: Request (replace search)

Post by Steve »

IpHeX » 29 Mar 2010, 00:33 wrote:Screenie:

Image

Add before:

Code: Select all

<form action="./search.php" method="post" id="search" style="float:right; padding-right:4px;">
				<div>

					<input style="font-size:1.1em;" class="inputbox search tiny" name="keywords" id="keywords" type="text" size="25" title="Search for keywords" value="Search&#8230;" onclick="if(this.value=='Search&#8230;')this.value='';" onblur="if(this.value=='')this.value='Search&#8230;';" /> 
				</div>
</form>
just looks like the viewsource code for stokers forum :geek:

we need some if statements:

Code: Select all

    <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --> your search edits <!-- ENDIF -->
some css to add in the css files pulled from your html edit:

Code: Select all

class="inputbox search tiny"
missing some language edits:
yours:

Code: Select all

title="Search for keywords" value="Search&#8230;" onclick="if(this.value=='Search&#8230;')this.value='';" onblur="if(this.value=='')this.value='Search&#8230;';" /> 
should be:

Code: Select all

title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
or stoker poker pulls his edits and posts them ,if he cant be bothered al fix it. :|