The search block does not appear in the sidebar though I have enabled it

Comments

gttygrl’s picture

Same thing's happening for me, but only if the user isn't logged in. I'm still researching it, but would appreciate some help solving it if anyone knows the answer already.

zsf0873’s picture

After putting the module, I can't enter "administer". I will be grateful if anyone offer the solution

Lee-vit-Over’s picture

I have installed and configured, including adding a book. When I search, even if I copy and past info from the book, it comes back with nothing matching my search. I get no results no matter what I search for. In fact, now I don't get results for ANY search on my site. It's as though it completely disabled 'Search' on the site. I'm a newbie (somewhat) - so I may very well be doing something wrong, but I have no idea what. Anyone have some suggestions/guidance, or is anyone else experiencing similar? I wanted to use it for FAQ Book, but doesn't work. - Thank you for any help!

deviantintegral’s picture

Status: Active » Needs review
StatusFileSize
new526 bytes

@zsf0873: It seems likely that you have a larger issue with your Drupal installation. See http://drupal.org/support for getting help with that. If it does turn out to be an issue with this module, you should file a new issue as your problem isn't related to this one.

@Lee-vit-Over: Looks like you're having general issues with the Search module. Check your search configuration (that it's enabled, that content search works, and cron is running), and if the issue does turn out to be with this module directly, open a new issue.

I've attached a patch which fixes the original issue of the search block not appearing. If the default "all books" configuration is used, the block won't show. This patch checks to see if book_search_selected() returns an empty array, and if so, ignores checking to see if the book ID is allowed to be searchable.

akalata’s picture

patch works for me, thanks!

brt’s picture

Issue summary: View changes

This patch solved the same issue for me on version 7.x-1.0

will kirchheimer’s picture

Patch worked for me

  • ram4nd committed de3e7f4 on 7.x-1.x
    Issue #601608 by deviantintegral: Search block not appearing
    
ram4nd’s picture

Commit patch as per #6 and #7.

ram4nd’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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