Would it be possible to make this module work with the display suite module.

When activating a layout from display suite i can selectively choose what fields to shop and what not. The facebook comments won't show up then even when all fields are set to show up.

I can only assume that this has to do with fields.

Thx

CommentFileSizeAuthor
#5 1349644-5.patch952 bytesswentel

Comments

wmostrey’s picture

Assigned: Unassigned » wmostrey

Good idea, I'm working to it.

wmostrey’s picture

Assigned: wmostrey » Unassigned

I'm first working on #1369602: Enable comments on existing content to get the first beta out. Patches are welcome!

wmostrey’s picture

As a good step forward, the latest dev version contains a block that you can place anywhere.

l0calh0rst’s picture

Thx for the update. I was drawn away from the project so couldn't work on it. But I will return to it soon and will report back on it.

swentel’s picture

StatusFileSize
new952 bytes

hook_field_extra_fields() is actually good enough. Patch attached, works fine in production here.

swentel’s picture

Status: Active » Needs review
wmostrey’s picture

Status: Needs review » Fixed

Committed in 2c3cc41, thanks Kristof!

shane birley’s picture

Testing this out and so far looking good.

Status: Fixed » Closed (fixed)

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

mysteriousfea’s picture

Hi !
After applying the patch, the facebook comment field still doesn't appear in my layout.
I am supposed to retrieve it in the custom fields ?
Thanks !
Max

dcoulombe’s picture

@mysteriousfea : you must enable Extra field in Display Suite settings.

Sneakyvv’s picture

Just adding a preprocess field in Display Suite also works.

Make sure the system_name matches the name of the field being added by the facebook_comments module, which is 'facebook_comments'.

$node->content['facebook_comments'] = ...