By nathangeffen on
In Drupal 5, I could create a teaser that was different to the body and not included in it. I can't figure out how to do this in Drupal 6.
On my website I often use the teaser to describe the story using slightly different text and sometimes even different images to what I want in the body. This was easy to do in Drupal 5, but it does not seem possible in Drupal 6 or I'm just not finding the option to do it.
When I create a teaser (or summary) in Drupal 6, it invariably appears above the body and I don't want this, or at least I want the option to turn this off for some stories.
Thanks for your help.
Comments
CCK
There's probably another way to do it, but I know CCK can handle this.
You would need to add a content type that had a text box for the teaser content and under the 'Display' tab use the 'Basic' display type to set which field is hidden and visible for the teaser and normal view.
Split summary at cursor
Use the split button to split the body and teaser. Uncheck the "Show summary in full view". Done, this is part of core.
Note: this was actually NOT possible in Drupal 5 without additional modules, so I'm not sure how you accomplished it there.
--
The future is Bryght at Raincity Studios
Thanks!
Thanks very much Boris. I feel a bit sheepish for not having worked this out.
Excerpt
I use http://drupal.org/project/excerpt dev version on some Drupal 6 sites. Excerpts are common in publishing and summarize the whole article instead of presenting the first paragraph, which is usually a teaser to make you read the article. I prefer excerpts to teasers because excerpts usually contain the result or conclusion.
petermoulding.com/web_architect
petermoulding.com/web_architect
Core does this
If you read what I describe .... core does this as of Drupal 6, simple by checking or unchecking the "Show summary in full view". Uncheck it, and you have an excerpt. Check it, and you have a teaser.
--
The future is Bryght at Raincity Studios
Egad, I forgot that
I have used unchecked. On one site I needed to make the unchecked mode compulsory for one content type and did not find a way. The site also needed the excerpt in a specific format. Using a separate module let me get closer to what was needed for that site. I could see something like Excerpt providing excerpt-library, excerpt-medical, and other well defined excerpt format.
petermoulding.com/web_architect
petermoulding.com/web_architect