Request (replace search)
Posted: 21 Mar 2010, 18:31
Database and Demo for phpBB3 BBCodes, Mods and Smilies
https://phpbb3bbcodes.com/
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div class="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" 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}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
</fieldset>
</form>
</div>
<!-- ENDIF -->
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" 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}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
Code: Select all
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<li class="rightside"><div class="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input class="inputbox search tiny" name="keywords" id="search_keywords" size="20" 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}';" />
<input class="button2" value="Search" type="submit">
</fieldset>
</form>
</div></li>
<!-- ENDIF -->
My Question:<div class="headerbarmenu"><a href="{U_INDEX}"><span>{L_INDEX}</span></a><a href="{U_FAQ}"><span>{L_FAQ}</span></a><!-- IF U_ACP --><a href="{U_ACP}"><span>ACP</span></a><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}"><span>MCP</span></a><!-- ENDIF --></div>
I have have managed to do it myself now, It took me a few hours as I am very new at phpbb3 with no editing experience.IpHeX » 27 Mar 2010, 02:22 wrote:Style I am using:
[3.0.7] SE Square Left.
I have added this Menu:My Question:<div class="headerbarmenu"><a href="{U_INDEX}"><span>{L_INDEX}</span></a><a href="{U_FAQ}"><span>{L_FAQ}</span></a><!-- IF U_ACP --><a href="{U_ACP}"><span>ACP</span></a><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}"><span>MCP</span></a><!-- ENDIF --></div>
How can I move the search from right side of the banner to right side of headerbarmenu?
I greatly appreciate your time and help.
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" 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}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
Code: Select all
<div class="headerbarmenu"><a href="{U_INDEX}"><span>{L_INDEX}</span></a><a href="{U_FAQ}"><span>{L_FAQ}</span></a><!-- IF U_ACP --><a href="{U_ACP}"><span>ACP</span></a><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}"><span>MCP</span></a><!-- ENDIF --></div>
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…" onclick="if(this.value=='Search…')this.value='';" onblur="if(this.value=='')this.value='Search…';" />
</div>
</form>