Alternate teasers

Joined: 03/11/2008

Has anyone every played around with creating a CCK content type that allows an optional alternate teaser? I know it's pretty straight-forward to create a new text field for a teaser. The problem I have with that is that it REQUIRES content maintainers to enter text twice all the time - even when the traditional first part of the body is just fine.

How difficult would it be to add an alternate teaser field and have the teaser fall back to the traditional beginning of the body when the alternate teaser is left blank?

Clint "The Geekin' Deacon" Eaker
Webmaster - Chapel Hill Bible Church
Chapel Hill, NC

Joined: 12/14/2008
Isn't this is already in Drupal?

I thought this was already handled in core Druapl pretty well(without CCK or another text field).
Are you trying to do something different?

When creating/editing a node, you can click "Split Summary at Cursor" to manually create a teaser break-point.
Then, after creating the manual break-point, there is another option to "Show summary in full view." If that is checked (defualt), the teaser is displayed at the beginning of the content when you view the full node. When this option is unchecked, the teaser is not shown when viewing the full node, thus becomming an "alternate teaser."
Is that what you want?

Also, are you using a wysiwyg? They can modify this behavior slightly.

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
D5 vs. D6

Alternate teasers were brought into core with Drupal 6. With Drupal 5, you should check out Excerpt.module.

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com

Joined: 12/14/2008
Ahhhhhh...

Ahhhhhh... ok, that explains it. I am using (experimenting with, really) D6.
Clint must be using D5.

Joined: 03/11/2008
Thanks Arlin

Actually, that's a new feature of D6 that I wasn't familiar with and is exactly what I'm looking for. Looks like my wheel's already been invented.

Clint "The Geekin' Deacon" Eaker
Webmaster - Chapel Hill Bible Church
Chapel Hill, NC

Joined: 03/11/2008
Now I understand why I didn't

Now I understand why I didn't notice this before. I'm using TinyMCE/WYSIWYG API and while I've enabled the teaser break button, I can't find anything about an option to install a "Show summary in full view" checkbox.

Looks like it's time to hit the eject button on tinyMCE and WYSIWYG API. It sounds like most people here are recommending FCKeditor with the FCKeditor module. Are there other WYSIWYG options that work with these new D6 features?

Clint "The Geekin' Deacon" Eaker
Webmaster - Chapel Hill Bible Church
Chapel Hill, NC

Joined: 09/05/2008
Node Teaser Module for Drupal 5.x

In Drupal 5.x I'd recommend using the Node Teaser module (http://drupal.org/project/nodeteaser). This is an alternative to Node Excerpt.

-Brad Wade
Project47 - Drupal Website Development
http://p47.project47.com

Worship Director and Elder
http://www.astoriachurch.org

Joined: 12/14/2008
I am using FCKeditor and FCKeditor module

I am using FCKeditor and FCKeditor module.
Teaser functionality seems to work properly.