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.

CommentFileSizeAuthor
node.size.patch1.17 KBRobRoy

Comments

RobRoy’s picture

Version: 5.x-dev » 6.x-dev
Category: task » feature

I'll 6.x this as it's really a feature.

bdragon’s picture

Status: Needs review » Reviewed & tested by the community

+1, well documented, patch still applies.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

This is a great documentation update too, although the empty lines should not have been there between the @params. Comitted!

Anonymous’s picture

Status: Fixed » Closed (fixed)
Bevan’s picture