SEARCH on HEADER

How can we get rid of the SEARCH box on the left of the HEADER where the Title of the website is located?

http://collectivejuncture.com/index.php

I want to get rid of the search box above the google translate.

Quote · 21 Jan 2014

In dolphin 7.1.0-current version

That search form is an injection.

Just run this SQL from in phpMyAdmin

DELETE FROM `sys_injections` WHERE `name` = 'site_search'

Then clear the dolphin cache. <<<<<< This is important. Skip it and it will not work.

That removes the injection and the search form is gone. No need to make any dolphin code changes.

https://www.deanbassett.com
Quote · 21 Jan 2014

Question:

1. I don't need to go to header.html or subheader.html to make the changes like some tips on here?

2. Will I still be able to use search once I follow your tip?

3. Currently I place the  Google Translate script in Banner, Can I place it in header.html or subheader. html so it will replace the search box?

Quote · 21 Jan 2014

I just want to replace the search box located on the upper left corner with the Google Translate but I don't want to totally wipe out the search option.  

Quote · 21 Jan 2014

That query removes the search box so it no longer appears in the header. The search on pages on the rest of the site are not affected.

7.1 uses an injection to insert the box. It is not specifically located in the template.

I have removed the search box on my site as well. http://www.deanbassett.com if you want to see.

As for your translate, yea you can put it in the header of your template and use css to position it where you want it to appear.

https://www.deanbassett.com
Quote · 21 Jan 2014

Just run this SQL from in phpMyAdmin


What exactly do you mean and how do I get there?  Is this in Dolphin admin?

Quote · 21 Jan 2014

phpMyAdmin which is in your cPanel. Your hosting provider should provide it.

I take it you have never done any direct database work before.

Then it's best we find another way to remove it.

https://www.deanbassett.com
Quote · 21 Jan 2014

In templates/base/_sub_header.html

find; <bx_injection:injection_logo_before />

change to; <!--<bx_injection:injection_logo_before />-->

Make a note somewhere of changes made

Quote · 21 Jan 2014

I did not suggest that method as the side effect would be that any mods installed in the future that also use that injection point will not work.

https://www.deanbassett.com
Quote · 21 Jan 2014

 

In dolphin 7.1.0-current version

That search form is an injection.

Just run this SQL from in phpMyAdmin

DELETE FROM `sys_injections` WHERE `name` = 'site_search'

Then clear the dolphin cache. <<<<<< This is important. Skip it and it will not work.

That removes the injection and the search form is gone. No need to make any dolphin code changes.

Don't delete the record, just do an update and set it to inactive

UPDATE `sys_injections` SET `active` = 0 WHERE `name` = 'site_search'

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 21 Jan 2014

Thanks guys. I appreciate it.

Quote · 22 Jan 2014

I went to phpmyadmin in cpanel and did a query. it didn't take.  It says no database selected.

Quote · 22 Jan 2014

Simply go to templates/base/general.css 

look for : 

div#sys_search {

    position: absolute;

    top: 7px;

    left: 0px;

    background-color:#fff;   

}

//make it look like this

 

div#sys_search {
    background-color: #FFFFFF;
    left: 0;
    position: absolute;
    top: 7px;
    visibility: hidden;
}

 

 

3

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 22 Jan 2014

Thanks. I'll try this.

Quote · 22 Jan 2014

I used method remove from database otherwise you may run into problems trying to edit header . The scripts will still see it there when removed by css style. You can use deanos tools free in market to run that query from your dolphion admin panel.

Quote · 22 Jan 2014

I actually used Deanos tools to do a query but no result. 

Quote · 23 Jan 2014
 
 
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.