Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2008 at 04:33 UTC
Updated:
17 Jan 2012 at 12:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedIn the long run, it would be cool define a friend selector form element for drupal. Something like
And that would produce fbml in canvas pages, and something else on regular pages. It could even be made open-social aware. But this is all a long way off.
In the meantime, take advantage of drupal's FAPI flexibility. Do something like this:
It will only work on canvas pages.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
ahansen1 commentedIn case anyone is interested, I've posted to have someone implement this functionality.
http://www.elance.com/job?jobid=18336358
Comment #4
ahansen1 commentedComment #5
Dave Cohen commentedDoes this help: http://drupal.org/node/631216
I realize you're asking for something different, but that page documents a working use of multi-friend-selectors.
See the code in fb_form.module. Specifically fb_form_theme() and theme_fb_form_multi_friend_selector(). This code should allow you to include in your forms
Possibly, fb_form.module needs to include support for other friend selectors and (X)FBML tags.
In a pinch your $form data structure can include arbitrary FBML...
Oh wait... just noticed this issue is 5.x. In that case, try the
'#type' => markupapproach.Comment #6
ahansen1 commentedA complete hack that I cobbled together based on the userreference module's auto complete and Dave's suggestion. I'm sure there are so many things wrong with this, but it's working for me.
Comment #7
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 issues. Issues that haven't moved since D5 are unlikely to still be valid.