Any Drupal / php gurus? Hiding a top search box

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
I am new to Drupal and am trying to hide the top search box that comes with a default install of OpenPublic since it blocks my title.

neLKh.png


My issue is, when I click

Configure Layout
Site Wide Before
Edit and then the X....it only removes it temporarily.

JI4Yu.png


After I click "Done" and then "Save Changes", the box reappears.

I can add the Search block to other parts of the site, like the footer, but I don't see the top box referenced anywhere in site Blocks. It seems to be buried somewhere in "Main page content". When I try to edit that box, I can't find a setting that relates to search in "Main page content".

Short off hacking at the .php or .css files, which I definately don't want to do.
I can't figure out to hide the darn thing.

Original post here:
http://drupal.stackexchange.com/que...blic-based-on-openomega-7-x-1-0-default-theme
 
Last edited:

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
Do you have something like header.php(or equivalent) ?

Yeah, but the Drupal templating system is more complex than that. Plus there are like 5 themes installed with their stuff strewn all over the installation directory. I am going to try contacting the OpenPublic people and see where that takes me.
 

jedanbaja

Junior Member
Sep 19, 2010
2
0
0
Use css to hide search box , use display:none command . If dont know how to do that just give me link to that page and i ll write to you exactly what need to edit.
 

Doublejr

Senior member
Jul 25, 2004
205
0
0
You should be able to edit the search block (mouse over it and click on the gear and select edit iirc) and change where it is displayed to not displayed.

If you can not make it go away it is tied to the theme somehow and you would need to change the template files, I forget the name of the exact file. It depends on the theme sometimes.
 
Last edited:

wsaenotsock

Member
Jul 20, 2010
90
0
66
my (free) shitty guide to drupal:

1. don't use bottom dollar shared hosting or your site will be trash
2. hack core to make it do what you want
3. hack modules to make them do what you want
4. NEVER UPGRADE THE INSTALLATION or you're gonna have a BAD TIME


worked for me
 

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
Use css to hide search box , use display:none command . If dont know how to do that just give me link to that page and i ll write to you exactly what need to edit.

That's what I ended up doing.

Jesus, that was hellish stepping into Drupal / PHP land. It makes SharePoint look sane.