Griff
|
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
|
Works beautifully, thanks for this useful info
|
|
ian
|
Looks like the "echo $search_box" statement simply outputs nothing.
However, the drupal search box still appears (in the sidebar in my example)
|
|
Griff
|
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
|
Orlando and Ian,
Have you verified that the search module is turned on for the website in Drupal?
Administration --> Site Building --> Modules
|
|
Wescley
|
This tutorial works beatiful for me!
An my search module was enabled as SandraL said.
Thanks Griff !!!
|
|
conpute
|
Anyone know how to get this working in a Drupal 7 Theme, tried the above and it does not work.
|
|
TechZoom.Org
|
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
|
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.
|
|