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.
| Comment | File | Size | Author |
|---|---|---|---|
| excerpt.patch | 5.43 KB | smk-ka |
Comments
Comment #1
Anonymous (not verified) commentedI've applied your patch. When I save a node with a blank teaser, it is not generated. It stays blank.
Comment #2
smk-ka commentedSorry, 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.