Theme / site_search (Boonex Search->Google)

Hello everyone, 

I thought maybe I could get a better answer here.  I wrote the programmer directly, but not really getting anywhere, so thought I would post it here for a quicker response.

I bought the following theme: http://www.boonex.com/m/hypernova-responsive-unlimited-color-dolphin-2013-05-22

In the header, is a search box. For the life of me, I couldn't find the code to change it from the standard Boonex Dolphin site search, to what I want to use the Google Site Search (I store a lot of pdf files).

That said, the response I got was:

Hello,

Have a backup of your database,

on sys_injections table

name : site_search

copy the code in data section and paste to a text file.

add your code to data section and save. and then do db cache clear.

if you receive error re paste the code you copied to text.

We didn't try that thats the section you look for

 

Best Regards

 

So, I tried that, but it definitely did not work, and caused an error on the site.  Anyone know how I might change the search function to a Google (Adsense) Site Search?

Thank you!!

Quote · 8 Oct 2013

I have removed bx search from the header and put a Google search in a HTML block in the body of the page. Is this something that you are looking to do or do you want the Google search in the header.

   Now to maybe educate. Google search although nice and adds integrity, did slow my Home Page load speed down quite a bit. Google doesn't automatically defer javascript parsing or allow optimization of images or size declaration of image. Slowing the page to over 4 secs. I do not recommend putting it on your homepage if you have a heavy first page. Then again, perhaps others could share how they load their pages with items and have quicker speed. Eh hem Newton. LOL

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 8 Oct 2013

It appears with this theme.. that's the only option. They didn't tell me how to get rid of it... though I did ask. I can usually find the code, but could not seem to find it.  Preferably, I'd remove it.

http://www.theblackvault.com is the site... it's a large homepage... so I might take your advice on not adding the search box. However, what is the best search for a site then? Keep in mind, I have literally thousands of PDFs and other files not connected to Dolphin that I would like searched... Google was just the best way I'd found.

Quote · 8 Oct 2013

 

It appears with this theme.. that's the only option. They didn't tell me how to get rid of it... though I did ask. I can usually find the code, but could not seem to find it.  Preferably, I'd remove it.

http://www.theblackvault.com is the site... it's a large homepage... so I might take your advice on not adding the search box. However, what is the best search for a site then? Keep in mind, I have literally thousands of PDFs and other files not connected to Dolphin that I would like searched... Google was just the best way I'd found.

Removing it is easy. It's in the database where he told you it was. the site_search in the sys_injections table is the one most templates use because it's the default dolphin search. It's inserted into the template at the injection_logo_before injection point in the templates _sub_header.html.  Not just his templates, but ALL templates that use the default boonex search.

To remove that search just remove that site_search from the database table. Then clear your cache.

But what he told you to do should have worked. It should be encased in a <div> ... </div> so you can use style to position it.

And these kinds of posts bug me.....

So, I tried that, but it definitely did not work, and caused an error on the site.
Saying there is a error without actually explaining the error will not get you any help on solving the error.

https://www.deanbassett.com
Quote · 8 Oct 2013

Sorry to bug you with that post Deano, what it meant to say (I was in a bit of a hurry, and it was later in the day for me) was a "parse error" meaning it didn't take the code.

However, I appreciate you giving me the suggestion of using a div code. Is there a sample you can show me that would work? It is positioned top, center, as shown here:  http://www.theblackvault.com

Thank you in advance.

Quote · 8 Oct 2013

Anyone have a replacement code I could put in the database site_search to insert the Google AdSense Search Box? 

Quote · 10 Oct 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.