to remove search box in viewtopic page ...

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
phpaaa
Registered User
Posts: 168
Joined: Sun Dec 17, 2006 11:59 am

to remove search box in viewtopic page ...

Post by phpaaa » Sun Jan 18, 2009 10:39 am

Could i remove the search box in viewtopic pages and replace it with a google search box :?

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7663
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: to remove search box in viewtopic page ...

Post by JimA » Sun Jan 18, 2009 10:47 am

Open: styles/yourstyle/template/viewtopic_body.html
Find:

Code: Select all

			<form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}">
			<fieldset>
				<input class="inputbox search tiny"  type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
				<input class="button2" type="submit" value="{L_SEARCH}" />
				<input type="hidden" value="{TOPIC_ID}" name="t" />
				<input type="hidden" value="msgonly" name="sf" />
			</fieldset>
			</form>
Replace it with the HTML code of your Google Searchbox. Afterwards, refresh your templates.
ACP -> Styles -> Template -> Refresh
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

Locked

Return to “[3.0.x] Support Forum”