Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Canvas Pages (FBML)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2008 at 02:58 UTC
Updated:
23 Dec 2010 at 07:05 UTC
Comments
Comment #1
Dave Cohen commentedJavascript in FBML is a whole complicated topic. Facebook limits the javascript you can run on their pages. While it's possible to do many things, it is limited. In particular jquery will not run, so most of Drupal's javascript will fail.
I've been working toward supporting some basic things, like collapsing fieldsets and recently #ahah forms. But it will never support it all.
There is also the option of using iframes, rather than FBML. Or iframes embedded within FBML (just a portion of the page). The modules have some support for iframes, but do not ship with a facebook-specific iframe theme. If you choose to use iframes, javascript is unlimited, but there are drawbacks to not using FBML, too. Look into the fb:iframe FBML tag. You might be able to embed a small iframe with just the map in a page that's otherwise FBML.
Comment #2
stenjo commentedI have a similar issue for D6 and RC3. Basically my javascript based anti-spam and my fckedit is disabled including all fieldsets and javascript based forms.
Seems like enabling the basic module just kills all the other javascripts running on my site -probably google analytics too?
/Sten
Comment #3
Dave Cohen commentedThis is not a "similar issue" in that this thread is about FBML pages where javascript fails for entirely different reasons.
your problem is that one fatal error in any javascript causes the browser to give up on all the rest. So use firebug or chrome's inspect feature to track down the error(s). If you need help, submit a new issue.
Marking this as won't fix because I'm not planning to work on 5.x branch any more.
Comment #4
stenjo commentedYou are quite right! I'll post another issue. Thank you.