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 adding or editing a node, it is possible to enable or disable a checkbox "show summary in full view". This determines whether the teaser entered is displayed on the full node page and defaults to true. I have a content type in my source CMS where this should be set to false.
The attached patch adds a new field to the node content set configuration form, and also inserts the necessary <!--break-->
at the start of the node body when the option is disabled, so as to avoid editing problems later.
Cheers,
Stella
Comment | File | Size | Author |
---|---|---|---|
teaser_include.patch | 1.44 KB | stella | |
Comments
Comment #1
mikeryanSorry this slipped by me - replying so it's right in front of me for my next migrate session...
Comment #2
mikeryan