Search Box In Header


Author Message
Griff

Posted: 6/19/2010
Quote message 

I've seen a few posts asking about this, but not many simple solutions, so have come up with definitive 3 simple steps for Drupal 6.

Here's a working example and full details:

http://www.djisystems.co.uk/content/how-add-search-box-header-drupal-6-artisteer-themes
 
Conor

Posted: 7/2/2010
Quote message 

Works beautifully, thanks for this useful info :-)
 
ian

Posted: 7/19/2010
Quote message 

Looks like the "echo $search_box" statement simply outputs nothing.

However, the drupal search box still appears (in the sidebar in my example)
 
Griff

Posted: 7/23/2010
Quote message 

That's almost certainly because it's being obscured by elements that are being rendered after the search box. Check the source and layout with something like dev tools in IE or Firebug in Firefox. Try setting the pixel locations in the style declaration to somewhere you know it won't be hidden.
 
SandraL

Posted: 8/16/2010
Quote message 

Orlando and Ian,

Have you verified that the search module is turned on for the website in Drupal?

Administration --> Site Building --> Modules
 
Wescley

Posted: 12/6/2010
Quote message 


This tutorial works beatiful for me! :-)

An my search module was enabled as SandraL said.

Thanks Griff !!!
 
conpute

Posted: 4/4/2011
Quote message 

Anyone know how to get this working in a Drupal 7 Theme, tried the above and it does not work.
 
TechZoom.Org

Posted: 4/5/2011
Quote message 

I had tried this option but did not work for me. (For Beta 3 Update 1 exported themes)
So, with the help of some references I have managed to get the below working fine. This still needs some fine tuning I am sure.

http://techzoom.org/drupal-6-how-to-customize-search-box-position-button-and-text/

 
Dan

Posted: 6/15/2011
Quote message 

I am attempting to place a Search Box inside the header of a Drupal v7 template that I built with Artisteer v3. I have tried the various recommendations from this forum, and although I could get them to work on two different Drupal v6 themes, I have not found any that will work with Drupal v7.

Has ANYONE had any success adding a searchbox to a header in an Artisteer generated Drupal v7 theme?

The Bartik_plus theme (found at Drupal.org) does actually do this, but I don't know where to start in an attempt to get it from that theme into my new Artistseer theme.