Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to use a field as a condition in the selection criteria? I have select list (Post style) in the article content type, what I'm trying to do is to create variants depending on this field.
Thanks!
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commenteddejanp created an issue. See original summary.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
bart.hanssens CreditAttribution: bart.hanssens commentedI think this is still work in progress...
I have a similar issue (selection based on the value of a field of a _taxonomy_ term) and I'm looking into this example https://cornel.co/article/ho-create-new-selection-rulecondition-panels-d...
Comment #4
millionleaves CreditAttribution: millionleaves as a volunteer and commented+1 from me.
This was a significant feature for me in Panels for D7. Not having it in D8 is making Panels less useful than it could be.
Comment #5
gillarf CreditAttribution: gillarf commentedI have the same issue - I am surprised this is not a feature in page manager yet
Comment #6
OleksiyThe Entity Field Condition module (https://www.drupal.org/project/entity_field_condition) provides such condition.
Comment #7
markdcAny updates on this? I'm using the Groups module and want to set a condition based on a field in that bundle. The module mentioned above only supports the node bundle (it should probably be called "node_field_condition" and not "entity_").