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

CommentFileSizeAuthor
#12 789948.patch3.42 KBferdi

Comments

ferdi’s picture

I'll try to do something about this in the next release. It's probably too much for this module to override node/%node

lennart’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.0-alpha4

This is still an issue in alpha4.

goye2cz’s picture

I'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...

BenK’s picture

+1... subscribing

egarias’s picture

Status: Active » Closed (fixed)

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

goye2cz’s picture

Status: Closed (fixed) » Active

It's still an issue for some of us.

AviadG’s picture

For me too...

t0b1’s picture

subscring .. same problem here

t0b1’s picture

subscring .. same problem here

Frico’s picture

Yes, I have the same problem. The Node Template is automatically disabled in Panels when fb_comments is activated.

pfortuna’s picture

Same issue here. Using Facebook Social breaks panels.

ferdi’s picture

StatusFileSize
new3.42 KB

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

ferdi’s picture

Status: Active » Needs review
ferdi’s picture

Status: Needs review » Fixed
pfortuna’s picture

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

ferdi’s picture

Thanks 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!

pfortuna’s picture

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

pfortuna’s picture

Issue:
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...!

ferdi’s picture

Status: Fixed » Active

This should fix it. http://drupal.org/cvs?commit=394524
thanks for your feedback!

pfortuna’s picture

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

ferdi’s picture

Status: Active » Fixed

fixed in the last release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BenK’s picture

Keeping track of this