I am using panels to override the node view. When activating facebook social plugins the panel goes inactive and when trying to activate i have:
Page manager module is unable to enable node/%node because some other module already has overridden with fb_social_comments_page_view.
Thanks for the facebook integration modules
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 789948.patch | 3.42 KB | ferdi |
Comments
Comment #1
ferdi commentedI'll try to do something about this in the next release. It's probably too much for this module to override node/%node
Comment #2
lennart commentedThis is still an issue in alpha4.
Comment #3
goye2cz commentedI'm looking forward to seeing this feature. It's exactly why I started browsing bug reports. ;) Would also be good to have it as an available field in views. I don't know enough to know if I'm talking nonsense here...
Comment #4
BenK commented+1... subscribing
Comment #5
egarias commentedI decided not to use panels for node template, i use display suite, and theming the template, its more efficient, i use panels only for complex page presentation with several content coming from views or blocks.
Comment #6
goye2cz commentedIt's still an issue for some of us.
Comment #7
AviadG commentedFor me too...
Comment #8
t0b1 commentedsubscring .. same problem here
Comment #9
t0b1 commentedsubscring .. same problem here
Comment #10
Frico commentedYes, I have the same problem. The Node Template is automatically disabled in Panels when fb_comments is activated.
Comment #11
pfortuna commentedSame issue here. Using Facebook Social breaks panels.
Comment #12
ferdi commentedThis patch will make fb comments part of the node content (a pseudo-cck field ) which solves this issue.
- todo: Make node links cck-like field (http://www.lullabot.com/articles/great-pretender-making-your-data-act-field), so that fb comments can be rendered after node links.
Comment #13
ferdi commentedComment #14
ferdi commentedComment #15
pfortuna commentedAttempted to use patch on clean install of Drupal 16.7.
***note first attempt to patch a module...
-default story, panels and pages content types on. -Panels and Chaos Tools enabled
-used Dev to generate content
-using Admin Menu
-enabled fb_social; sites/all/modules/fb_social
-moved patch into fb_social folder
-used terminal on OS 10.5 to run patch -p0 < 789948.patch
Patch either produces a blank page or the below error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'fb_social_comments_page_view' was given in /Users/Peter/Sites/drupal-facebook/includes/menu.inc on line 348.
-ran update.php
-cleared all caches thru admin menu
Same. Blank page or 'fb_social_comments_page_view' error
-Reversed patched by patch -p0 -R < 789948.patch
And pages and fb_social load fine again.
note first attempt to patch a module...
Comment #16
ferdi commentedThanks for testing. Your patching is fine. Your error looks like it's just a cache issue in your site. Visit admin/build/modules one more time and you should be fine. To be absolutely sure empty the table cache_menu in your database.
I have committed the patch and released the beta3 version of the module. Can you please give it a try?
The new version of the fb_social_module is really simple and there is no reason to conflict with any other module.
Thanks!
Comment #17
pfortuna commented6.x-1.0-beta3 Download (13.89 KB) modules is working on my test site with panels enabled in Firefox and Safari. Thanks ...!
For newbies... once you update you may have to re-enable your pages and panels... for the content to appear correctly again.
Cheers.
Comment #18
pfortuna commentedIssue:
Comments do not appear in panelized layout for selected types. Using Panels to add Fb comments through Panels->Add Content->Miscellaneous-> fb comments to layout results in a blank page being displayed.
Using:
Drupal 16.7
Garland 16.7
Panels 6.x.3.5
CTool 6.x-1.6
Fb Social 6.x.1.0 beta 3
Share Setting
Content Type Selected: Blog
Layout: button_count
Like Setting
Content Type Selected: Blog
Widget Location and display: Node Links
Show on teasers: checked
layout style: button_count
show faces: checked
Width,Verb, Font, Color: default
Comments:
Content Type Selected: Blog
Settings left to default
LikeBox:
Settings left to default
Workaround:
You can use the Facebook Plugin from Facebook as a Panels->Add Content->New Custom Content with input filter set to PHP. This however seems to posts all comments related to site and not to node content. I would prefer to have the Facebook comments relate to the node content if possible instead of the Facebook Application.
I'd like to use this module, Fb Social for all Facebook features on my site if possible.
Great module so far though...!
Comment #19
ferdi commentedThis should fix it. http://drupal.org/cvs?commit=394524
thanks for your feedback!
Comment #20
pfortuna commentedYour newest patch worked.
Panels->Add Content->Miscellaneous-> fb comments to layout produces the correct results now.
One note- to login using FB Social; make sure you set your Connect URL inside of your Facebook Application.
Comment #21
ferdi commentedfixed in the last release
Comment #23
BenK commentedKeeping track of this