Controlling Teaser Length

Last modified: December 14, 2007 - 21:27

In Drupal, you can cause the teaser to end at the point of your choosing by adding the following to your content body:
<!--break-->

Everything above this tag will appear in the teaser (unless you place it beyond the point at which Drupal automatically breaks the content).

Notes

  • Make sure there are no spaces in the tag or it will be ignored.
  • You can place the tag in the middle of a paragraph. The full text will not notice the tag so the paragraph will look normal, but the paragraph will be cut short in the teaser

How to add special teaser

carstep - August 3, 2007 - 13:04

Hi all,

what I mean, how to add a teaser that is not seen in the page itself, only in the frontpage?
another question, how to let view the teaser in another page different from the front?

thx
carstep

 
 

Drupal is a registered trademark of Dries Buytaert.