I would like to have a condition in the context module that compares a domain with the current domain of the website to display or not a part of the website.

I know that some domain modules insert some conditions but none worked for me. And it would be much better if there was already a condition in the context module itself that did this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dvidal created an issue. See original summary.

dvidal’s picture

FileSize
0 bytes
dvidal’s picture

paulocs’s picture

Hello @dvidal,
you added an empty patch in #2.
Can you re-add a new one, please? :)

dvidal’s picture

dvidal’s picture

dvidal’s picture

Hello @paulocs!
Sorry for that and thanks for notifying :) Added new patch #6.

apaderno’s picture

Status: Active » Needs review
Issue tags: -domain, -condition plugins, -condition, -conditions, -context module
paulocs’s picture

Assigned: dvidal » Unassigned
Diego_Mow’s picture

Status: Needs review » Reviewed & tested by the community

Tested and worked fine for me.
RTBC

  • paulocs committed 8e210b3 on 8.x-4.x authored by dvidal
    Issue #3213924 by dvidal: Addition of a domain request condition
    
paulocs’s picture

Status: Reviewed & tested by the community » Fixed

I added it to the last dev branch.
Thanks for your contribution!
;)

Status: Fixed » Closed (fixed)

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