When enabling the Facebook API from Drupal for Facebook, the Module filter doesn't work. Both the tabs and the text filter option stop working, making the Module filter module useless.
*Update: It also breaks the views ui and things like fieldsets when opened inside the overlay
Disabling the overlay(core) module apparently provides a workaround for those facing the same issue. The problem only occurs when looking at the module page inside the overlay.
Comments
Comment #1
greenskin commentedComment #2
Dave Cohen commentedI'd be surprised to learn the problem is with modules/fb. That said, if it is and someone submits a patch I'd consider it.
One thing drupal for facebook does is include the module's real name (i.e. fb.module) in the .info file. I do this specifically to make the module easier to find on Drupal's ridiculously bad module admin page.
Comment #3
greenskin commentedIn Module Filter's settings page (/admin/config/user-interface/modulefilter) try disabling "Use URL fragment". If this fixes the issue then perhaps Drupal for Facebook can programmatically disable this setting when viewing the site within Facebook?
Comment #4
Dave Cohen commentedI don't think he's viewing the site inside facebook. I think he's saying when fb.module is simply enabled, it somehow breaks Module Filter. It's hard for me to imagine how.
It's hard to know what "...the tabs don't work" even means.
Comment #5
marajah commentedDear Dave,
firstly: thank you for the great work!
I have the same problem: when i enable drupal for facebook module (just the basic fb.module) and after having done all yhe steps that are required in the README.txt, the module filter module have a problem in activating the filters. When you click on the tabs, they just don't work. You also can't search for modules using the search field. It shows all the module installed, without filtering them (so it's unuseful).
I'm using Drupal 7.15 and the last Module Filter and Drupal for Facebook versions, available at this moment.
But there is a workaround to this strange behaviour: you must not use the overlay layout.
In other words, if you open
www.yoursite.com/admin/modules
it will work like a charm.
If, instead, you will use (in eample):
www.yoursite.com/user#overlay=admin/modules
it won't work as said before.
Yes, it's only a workaround, but i really hope it can help you in help us to solve this thread; maybe it can cause problems in other area of the site.
Thank you again.
Alessandro Bronzo
Comment #6
Dave Cohen commentedIf someone figures out the problem, I'm happy to consider a patch. Although I suspect from what I've read here the problem is in the module filter module.
Comment #7
greenskin commentedThis is an issue between Drupal for Facebook module and the Overlay module. Module Filter breaking is a byproduct of fb.js having an uncaught TypeError on line 67 when the Overlay module is enabled. Disable Module Filter and you still get that JavaScript error. Disable Overlay and the error goes away.
Comment #8
greenskin commentedComment #9
Dave Cohen commentedI thought this was fixed. Still broken in .dev or beta5 build???
Comment #10
greenskin commentedI don't know about the beta5. I was using beta4 when I was debugging.
Comment #11
danon1981 commentedThanks for replies, to everyone who responded, apologies for crappy initial problem description. Think I mixed something up since I also submitted the issue to the Module Filter issue's.
I editted the problem description to make it more understandable(I hope) and added the suggested workaround from #5 marajah.
Thanks!!
Comment #11.0
danon1981 commentedBette problem description for readers of this issue
Comment #12
Dave Cohen commentedCan you confirm this is still broken in the latest .dev build? I believe it is fixed.
Comment #13.0
(not verified) commentedExtra info on views ui also breaking when Drupal for facebook is installed.