• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any Drupal / php gurus? Hiding a top search box

Bulldog13

Golden Member
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:
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.
 
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.
 
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:
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
 
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.
 
Back
Top