How do we edit the top header?

In earlier versions of Dolphin we could access this. But try as we might we cannot find where to edit the header since installing the newest release.

We could of course add our name. That is easy.

But we want to remove the search bar on the upper left, and possibly add a clock, or logo.

Thank you.

Yowser

Quote · 20 May 2015

To add a logo: Admin Panel => Settings => General Settings. To edit the header, edit the template's _sub_header.html. To remove the search bar, look for:

 

<bx_injection:injection_logo_before />

 

and remove it. Then clear Dolphin's cache.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 May 2015

Thank you, Nathan. I can see why so many people - including me! - endorse your excellent web hosting services at http://Zarconia.net

Quote · 20 May 2015

To edit the header, edit the template's _sub_header.html. To remove the search bar, look for:

 

<bx_injection:injection_logo_before />

 

and remove it. Then clear Dolphin's cache.

___________________________________________

Dumb question, I know, but where/how do I access the template's _sub_header.html?

Quote · 20 May 2015

 

Dumb question, I know, but where/how do I access the template's _sub_header.html?

It'll be in your template's directory, under /templates. If you're using Alt or Uni, or another template that doesn't have its own _sub_header.html file, copy the one from /base into your template's directory and edit it there. Do not simply edit the one in /base, as that one's likely to be overwritten with new versions.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 May 2015

Thank you. I am using alt. This explains why I couldn't find it.

Quote · 20 May 2015

Bump...

To add to this... after removing the search bar, how do I put something else to the left of the logo?  I'm able to get stuff up there, but it's always above or below.

Quote · 15 Aug 2015

I've mentioned this before in another post, but it's such bad advise to remove the "<bx_injection:injection_logo_before />" from the template. By removing it, other modules can no longer use that header injecton either.

The correct way of disabling the search bar is by running the following query on your database:

UPDATE `sys_injections`SET `active` = 0 WHERE `name` = "site_search";

When done, clear the DB cache.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 15 Aug 2015

I was able to use the following to remove the search box from the top left hand side of the template  

The correct way of disabling the search bar is by running the following query on your database:
UPDATE `sys_injections`SET `active` = 0 WHERE `name` = "site_search";
When done, clear the DB cache.

I can not find search in the sys_injections in 7.2.1

 

 Is there such a database fix for 7.2.1`

Quote · 5 Dec 2015

 

I can not find search in the sys_injections in 7.2.1

 

 Is there such a database fix for 7.2.1`

 
Nope. Dolphin 7.2.x no longer does it that way.

You will have to edit the template file _sub_header.html. Find __main_search__ and remove it.

https://www.deanbassett.com
Quote · 6 Dec 2015

I am looking to remove the top left search bubble... seems everything is outdated that I've found on forums...

 

Was trying to use Injection Manager by Modzzz but not familiar how to use it yet

 

Any thoughts welcomed

Quote · 27 Jan 2016

This works but then the whole bar shifts to the left and Title is no longer centered... How to keep the spacing there... going to try the CSS to hide it


You will have to edit the template file _sub_header.html. Find __main_search__ and remove it.

 

Quote · 29 Jan 2016

I ended up left aligning my logo .

Quote · 29 Jan 2016
 
 
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.