Closed (fixed)
Project:
Facebook Instant Articles
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2016 at 10:18 UTC
Updated:
29 Mar 2016 at 13:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vgardnerComment #3
rromore commentedWoops! Looks like I had a bug in my original patch from https://www.drupal.org/node/2685139 that caused this. This patch:
Comment #4
vgardnerSeems that now the inverse is now working (all disabled by default, include per article basis). Single articles are not included.
I suspect it's because we should be checking for fb_instant_articles_is_article_type instead of fb_instant_articles_is_article in the node submit.
$fb_instant_enabled = fb_instant_articles_is_article('node', $form['type']['#value']);Comment #5
rromore commentedI think you're right. I've created a new patch to make that change, which was also rolled against the newest version.
Comment #7
vgardnerWorks as expected. Cheers @rromore!
Comment #8
m4oliveiRunning through and closing issues that are marked Fixed.