The 5.0 branch contained much code that was not up to date anymore:
- The per node configuration that allows to control whether to use excerpts was still 4.x and completely non-working.
- Ditto, for INSTALL.txt.

Also, hook_nodeapi() was updated to run only if a node type has been configured to use excerpts. Additionally I think I've found a nice way to fall back on the default teaser generation if the field was left empty, which avoids duplicating core code that can become outdated.

Plus, added a translation template.

CommentFileSizeAuthor
excerpt.patch5.43 KBsmk-ka

Comments

Anonymous’s picture

I've applied your patch. When I save a node with a blank teaser, it is not generated. It stays blank.

smk-ka’s picture

Status: Needs review » Closed (fixed)

Sorry, that patch was crap. Moreover, I wasn't aware that developments for D5 take place in HEAD rather than DRUPAL-5, so I'm closing this issue.