The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I remove "Search Google" from "Advanced Search"?

3 posters

Go down

Solved How do I remove "Search Google" from "Advanced Search"?

Post by Friendly Toucan Fri 14 Apr - 6:23

The forum is locked, so this button is just taking up space.

phpBB3

Thanks.
Friendly Toucan
Friendly Toucan
Forumember

Posts : 243
Reputation : 4
Language : English

https://cerulean-blues.forumotion.com

Back to top Go down

Solved Re: How do I remove "Search Google" from "Advanced Search"?

Post by Razor12345 Fri 14 Apr - 10:05

Good afternoon!

You can hide the button via CSS

Code:
form[action="/search?mode=results"] div.panel fieldset dl dd input.button2 {
  display: none;
}

Or you can delete the button in the template:

AP - Display - Templates - General - search_body

Find and delete:

Code:
&nbsp;<input class="button2" type="button" value="{L_SEARCH} Google" onclick="document.searchform.action='{U_GOOGLERESULTS}';document.searchform.q.value=document.searchform.search_keywords.value;document.searchform.submit()" />

Save. Publish.

I recommend deleting in the template.
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1576
Reputation : 266
Language : Ukr, Rus, Eng
Location : Ukraine

sivastar and Friendly Toucan like this post

Back to top Go down

Solved Re: How do I remove "Search Google" from "Advanced Search"?

Post by Friendly Toucan Fri 14 Apr - 10:44

Razor12345 wrote:I recommend deleting in the template.

Worked very well, thanks for helping.

Marking this as "solved". Smile
Friendly Toucan
Friendly Toucan
Forumember

Posts : 243
Reputation : 4
Language : English

https://cerulean-blues.forumotion.com

Back to top Go down

Solved Re: How do I remove "Search Google" from "Advanced Search"?

Post by skouliki Fri 14 Apr - 12:08

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15352
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum