Excerpt for Drupal 6
Jorrit - June 19, 2008 - 07:51
| Project: | Excerpt |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I know that the functionality of this module is implemented in a different fashion in Drupal 6, but for all people that wish to keep the same interface (including the people working with the Drupal installations that I maintain) I've ported this module to Drupal 6. The changes are minor: a hook definition changed and it needs to remove the Drupal 6 solution to this problem. A patch is attached, but besides this patch, also the po directory needs to be renamed to translations to complete the Drupal 6 conversion.
| Attachment | Size |
|---|---|
| excerpt-d6.patch | 1.65 KB |

#1
One more thing: excerpt.info needs to contain a line containing "core = 6.x"
#2
Patch confirmed OK, no issues so far.
Thanks!
Thumbs up for a D6 version.
The teaser break provided by D6 isn't what I want in all cases. With Excerpt you can have different content in your teaser, not just the first # lines from the body.
It also makes sense using WYSIWYG editors, they break the visual teaser break. They provide plugins solving that, but that is not very usable for newbe users.
Kees
#3
I agree that the teaser splitter is not desired in many cases. +1 to excerpt living on ...
#4
Just a quick comment to let everyone know you're not being ignored. I'm literally in between jobs and workstations for at least the next two weeks. If someone here would like CVS access for this project to get a D6 version out let me know.
#5
Hi Eric,
I believe I have CVS access for Excerpt, I cant add a release though.
Can anyone add a dev release for D6 or give me rights for it?
Kees
#6
I created a dev snapshot for D6 from the HEAD branch. It should be downloadabkle within 12 hours. See http://drupal.org/project/excerpt
#7
thanks moshe and others - agree that splittable is a bit confusing some users...
#8
I'm using initial patch since August. Few days ago I've updated it to allow rearranging of Excerpt's weight through the CCK field list.
The patch was made by diff the current D6-dev version and my edition.
#9
I just found a need for this when using TinyMCE on Drupal 6. TinyMCE disables the Summary Splitter, so the Excerpt module solves the problem.
#10
This patch extends the patch in #8 with an updated .info file and really does alter the weight as specified in CCK Manage Fields (when cck is active - if inactive then the existing weight is honored).
I'd love to apply this to HEAD and get a dev snapshot out for 6. If maintainers are silent for a few days, I might just do that.
#11
Just a note for those looking into using Excerpt with TinyMCE through Wysiwyg API: By creating a textarea without its own input format selector, Excerpt creates an edge case that probably won't be fixed in Wysiwyg API (see this comment).
#12
I'm running D6.6 and the dev release wouldn't work at all for me but after applying the patch in #10 it's now working.
#13
I also applied the patch in #10 against the current 6.x dev release and everything seems to be working fine. One little hiccup was that the patch wouldn't apply against the .info file and spat out a .rej (reject) file, but nothing seems to be effected by this.
- Thanks for the update.
#14
I used to have CVS access to Excerpt, I cant commit the patch.
The patch in #10 works fine for me, also on the .info file.
#15
I tried to patch of comment #10 but it Patch failed,
This is the first time I'm patching a file please have a look and tell me if I did something wrong.
public_html/sites/all/modules/excerpt$ patch < mw_219.patch
patching file excerpt.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file excerpt.info.rej
patching file excerpt.module
#16
Changing back title.
I do have issues with patch#10. I can apply it successfully, but the teaser field is generated for every node type in any case, despite of the auto/manual generation setting in the workflow.
#17
Patch in #10 removes a check if this node type's teaser is auto/manual generated.
The altered patch is atached, this completely replaces the patch in #10.
#18
Hope it will be commited someday :)
#19
subscribe
#20
subscribe
#21
Patch in #17 fails with Drupal 6 dev version. What is this patch against? Tried patching with #8 first, but the patch in #17 still fails.
#22
i've got this working with 6
let me check what versions...
#23
i've got this working with 6
let me check what versions...
#24
Can't make it work.
In the install.txt file, it writes:
"To install:
1) Copy excerpt.module into your Drupal /modules directory.
2) On your Drupal site, go to administer > modules and enable excerpt
module.
3) (optional) If you only want separate excerpts on some node types,
go to 'administer > content > configure > default workflow' and
uncheck the 'excerpt' column."
But there is no "administer > content > configure > ..." in drupal 6.
#25
hmm.., Excerpt maintenance doesn't seem very active..
Until there is a release try the attached module for D6, it includes patch #17
#26
You edit the content types workflow like this:
content types -> edit (choose one content type to edit) -> expand "workflow settings" -> Change the value under "Teaser"
#27
Thank you! The posted dev version did nothing - your zipped file works. Thank you very much!
#28
Patch in #17 applies cleanly against HEAD, and seems to work fine. Let's get this committed, and roll this baby into D6.
#29
Enough already! I committed #17 and issued a full release for excerpt. Please file new issues as needed.
This module needs an active maintainer. Anyone?
#30
Automatically closed -- issue fixed for 2 weeks with no activity.