I expected this, though I don't know right off what the solution is. When the search form submits it does a drupal_goto to search/node/key+words+here. This is most likely the problem. I noticed that search_get_keys() in the debugger doesn't get the keys because the $_GET['q'] is just search/node. Anybody have search working? How? Suggestions for debugging?

Comments

robertdouglass’s picture

In the application that I made earlier with the ProjectOpus code, the html in the canvas page looked like this:

<form id="app5730832110_sheetmusic-facebook-search-form" class="search-form" fbcontext="bac4cb096172" method="post" action="http://apps.facebook.com/sheetmusic/"

Now with the fb module the search box looks like this:

<form id="app4822894583_search-form" class="search-form" fbcontext="69c068dec889" method="post" action="http://lullabot.kicks-ass.org/?q=search/sheetmusic">

The obvious difference is the action. Is it necessary to post to the apps.facebook.com url? If so, do I need to go about this in my module with form_alter? Is this a known problem in the fb module?

robertdouglass’s picture

Status: Active » Closed (won't fix)

I'm stumped, but happy. The problem went away. Can't explain how or why.