Hey,

I've gotten the module working pretty well as a test, but ive noticed my google map which I have embedded into my site isn't showing. But what does show is a simple message that says that "Javascript is required to view this map." This leads me to think that it's a matter of turning javascript on.

If so or if you have any ideas on how I could turn Java on, it would be really appreciated

Thanks

Comments

Dave Cohen’s picture

Javascript 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.

stenjo’s picture

I 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

Dave Cohen’s picture

Component: User interface » Canvas Pages (FBML)
Status: Active » Closed (won't fix)

This 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.

stenjo’s picture

You are quite right! I'll post another issue. Thank you.