Patch improves the node_teaser() API to allow an override to the teaser length. I'm working on a site now where on the front page we have a View where we want the teasers to be say 100 chars and then in other views for it to have 250 char teasers.
| Comment | File | Size | Author |
|---|---|---|---|
| node.size.patch | 1.17 KB | RobRoy |
Comments
Comment #1
RobRoy commentedI'll 6.x this as it's really a feature.
Comment #2
bdragon commented+1, well documented, patch still applies.
Comment #3
gábor hojtsyThis is a great documentation update too, although the empty lines should not have been there between the @params. Comitted!
Comment #4
(not verified) commentedComment #5
Bevan commentedRelated: http://drupal.org/node/180425