I was wondering if we could have a sub-module to provide a way to easily add and remove stuff on AMP pages.

Proposed solution

  • Create a context condition that can be used to add stuff (blocks, etc) on AMP pages
  • A global switch to disable contexts that do not meet the AMP condition. This should be optional.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcelovani created an issue. See original summary.

marcelovani’s picture

Status: Active » Needs review
FileSize
8.06 KB
guardiola86’s picture

Status: Needs review » Reviewed & tested by the community

I've tested your submodule and works great.

marcelovani’s picture

Assigned: marcelovani » Unassigned
marcelovani’s picture

Looks like I missed a 'little' detail, re-uploading patch

marcelovani’s picture

Status: Reviewed & tested by the community » Needs review

Changing status to make tests run

The last submitted patch, 2: integration_with_context-2862824-1.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 5: integration_with_context-2862824-5.patch, failed testing.

marcelovani’s picture

re-rolled patch

Status: Needs review » Needs work

The last submitted patch, 9: integration_with_context-2862824-9.patch, failed testing.

marcelovani’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 9: integration_with_context-2862824-9.patch, failed testing.

marcelovani’s picture

Status: Needs work » Needs review
FileSize
9.04 KB

Created helper module to download dependencies on drupal CI

Status: Needs review » Needs work

The last submitted patch, 13: integration_with_context-2862824-13.patch, failed testing.

  • marcelovani committed 10a952f on 7.x-1.x
    Issue #2862824 by marcelovani: Integration with Context
    
marcelovani’s picture

Status: Needs work » Fixed

We have been using this patch in production for a couple of months and it works fine. The new sub-modules is completely detached from the main module.

Status: Fixed » Closed (fixed)

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