Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2007 at 17:41 UTC
Updated:
11 Dec 2007 at 18:58 UTC
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
Comment #1
robertdouglass commentedIn 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?
Comment #2
robertdouglass commentedI'm stumped, but happy. The problem went away. Can't explain how or why.