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.
For image adds i wanted to use different view modes depending on the ad group so I could change the size of the image depending on the group. I added a new text field "field_adgroup_viewmode" to admin/structure/taxonomy/ad_groups/fields so I could enter the view mode.
Attached patch contains the code changes, the install isn't changed yet, if you like the idea I'll update the patch so it includes the new field.
Comment | File | Size | Author |
---|---|---|---|
support-view-modes.patch | 2.06 KB | attiks | |
Comments
Comment #1
minnur CreditAttribution: minnur at Chapter Three commentedComment #2
minnur CreditAttribution: minnur commented