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.
I have created a new content type with an additional field (a text field in which to put the time or duration of an event), and set the order such that this new field appears above the body (administration > content types > [content name] > manage fields).
However, when the content is displayed on the web page the new field appears at the end, after the body; and if I have a teaser break in the body (and teaser output is selected) then this field is not displayed at all.
What do I need to do to have this new field displayed above the body?
Comment | File | Size | Author |
---|---|---|---|
#2 | Content Type - Manage Fields.jpg | 74.54 KB | Peters196 |
#2 | Editor.jpg | 94.06 KB | Peters196 |
#2 | Web Page.jpg | 36.14 KB | Peters196 |
Comments
Comment #1
danpros CreditAttribution: danpros commentedHi,
You can move your new field above the body by dragging it and save.
Dan
Comment #2
Peters196 CreditAttribution: Peters196 commentedCould you please explain!
As I said in my original post I set the order (and position) of the fields to place the time field before the body field (see screenshot 'Content-Manage fields'). The resultant display in the editor (CKEditor) is as shown in screenshot 'Editor' which is what I would expect - the time field is above the body.
However, when I save it and view the resultant page it is as shown in screenshot 'Web Page' - the time is below the body!
What I would like to see on the web page is:
Sunday 26th June
2pm to 6pm
The Priory Gardens Open
The beautiful and extensive gardens of The Priory will be open as part of the National Gardens Scheme. Home made Teas
i.e. with the time above the body!
How do I do it?