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.
When creating a new content type the display of the teaser should be correct. This means the image should be on teh left and not printed as part of the body.
Solution:
Exclude the image from the {{ content }} and make it is printed in the twig block {% card_image %}
Note: all image fields now a an unique name which makes it hard to predict how the image field of a new content type is going to be named. Can we improve this naming or do something smart here?
Comment | File | Size | Author |
---|---|---|---|
#2 | 2875334-default-teaser-img-2.patch | 4.25 KB | maikelkoopman |
Comments
Comment #2
maikelkoopman CreditAttribution: maikelkoopman as a volunteer and at Open Social for Open Social commentedPull request here: https://github.com/goalgorilla/open_social/pull/550
It is a temporary solution. We are looking into other ways later as an improvement. At least this solves the most urgent cases.
Comment #3
bramtenhove CreditAttribution: bramtenhove for Open Social commentedThanks Maikel, I just merged your (updated, see pull request) changes.