How do I display the search field as a block

Aaron Stanush - September 24, 2007 - 17:37
Project:Solr
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have the Sorl module working, but now I would like search block I can stick in the header. In readme.txt it says "In admin/build/block activate the Solr facets block, if desired" but in admin/build/block there is no "Solr" block.

#1

hickory - October 9, 2007 - 12:37

Do you mean a search form? You should be able to use "print drupal_get_form('solr_search_box');" to display a search form anywhere you like.

#2

hickory - November 22, 2007 - 16:07
Status:active» fixed

#3

Anonymous - December 6, 2007 - 16:14
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.