A quick search gave no clean results for a nice integrated method of handling teaser / body / readmore. I am about to tackle this using multiple fields, but would love it if I didn't have to.

Requirements / Outline

A WYSIWYG on both Teaser / Body with different filter format options.
Teaser generated by:
a) Teaser field only
b) Trimmed body field
Read more shown if (default)
a) Both fields are present AND teaser != body

Planned fields

field_summary - text_long
field_include_teaser - list_boolean
field_body - text_long
field_readmore - list_integer << Set default override in Content type settings

Final UI

Summary
[ Textarea ]
[*] Include summary on full page view
Body
[ Textarea]
Read more
(*) Use summary and body fields to determine if a read more is required
( ) Always show a read more link
( ) Never show a read more link

Implementation

From this approach in D6, I would only really only would need to add a toggle in the node view hooks and a new conditional teaser_or_body view field.

In D7, then there is also:
a) Requires a way to upgrade from the existing body field or a way to convert this to text_long
b) A way to stop adding the default body field and replace with this field collection

Thoughts? Similar existing modules? I really need a solution in the next few days, so I will be starting this today.

Comments

alan d.’s picture

Our client has accepted the existing field this time (they hadn't in D6). So I'm out of this issue for the next 4 month at least!


Alan Davison
robbielink’s picture

There was a "read more" link at the bottom of your post - but there was no more to read....
I support this project. Anything happening with it?
Tired of seeing "read more" on short posts.