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 April 14th 2023, 6:23 am

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 April 14th 2023, 10:05 am

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 : 1548
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 April 14th 2023, 10:44 am

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 April 14th 2023, 12:08 pm

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

Female Posts : 15247
Reputation : 1703
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