teaser
Submitted by edex on Sun, 05/25/2008 - 16:45.
To create customize shorter teaser, use this snippet
<?php print $teaser = substr($node->content['body']['#value'], 0, 220) ?>
the "220" is number of character before it cut the teaser.
To create customize shorter teaser, use this snippet
<?php print $teaser = substr($node->content['body']['#value'], 0, 220) ?>
the "220" is number of character before it cut the teaser.