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
|
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 |
Thank you, Nathan. I can see why so many people - including me! - endorse your excellent web hosting services at http://Zarconia.net |
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?
|
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 |
Thank you. I am using alt. This explains why I couldn't find it. |
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.
|
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 |
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`
|
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 |
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
|
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.
|
I ended up left aligning my logo . |