HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Penetrating 'google' into built-in search box?

RobenRoben New
edited October 2012 in Vanilla 2.0 - 2.8

The default search box, searches within the vanilla using garden ability! I know there's vanoogle plugin, but I need to force the default search box to use Google.

I found its codes in "default.master.php" file. May you help me to change it to search using Google?



  • AnonymooseAnonymoose ✭✭
    edited October 2012

    Simple solution using existing tools:

    Remove the built in search from the menu and front page in your custom theme, by copying default_master.php into the views folder in your theme and editing it to remove search.

    Create a new page using the Custom Pages plugin that has the google code.

    Create a new Route in that goes to your new search.

    Create a new menu item using the Add Menu Item plugin that links to your new search route.

Sign In or Register to comment.