Closed (fixed)
Project:
Filter by node type
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Feb 2008 at 21:34 UTC
Updated:
14 Jul 2012 at 23:21 UTC
Jump to comment: Most recent file
I've ported this module to drupal 6. Patch is attached.
I will add a way to select input formats for comments now. Those patches will take my patched drupal 6 code as a base.
PS: I was forced to select a version but 5.x-1.x-dev is not correct. Please add drupal-6.rc4 or similar and reassing this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | drupal6_updated.patch | 8.35 KB | milianw |
| #9 | filterbynodetype_drupal6.tgz | 9.41 KB | milianw |
| #2 | drupal6.patch | 5.92 KB | milianw |
| #1 | drupal6.patch | 5.84 KB | milianw |
| drupal6.patch | 6.11 KB | milianw |
Comments
Comment #1
milianw commentedUpdated patch
Comment #2
milianw commentedand yet another updated patch which solves a problem I encountered
Comment #3
will_in_wi commentedThis is really important for me to switch to D6. Unless someone can give me a better way to use filtered html for forums and raw html for everything else in the same user role. Is this module maintained anymore?
Comment #4
Crell commentedIt is, but I only use it on one site so I am not paying close attention to it. I will need it for D6 myself, though, so it will happen. I just need to clear some time to review this patch. :-) Please stand by.
Comment #5
milianw commentedwill_in_wi: It would be great if you could at least test my patch to see wether it works for you or not.
Comment #6
Crell commentedAnd if it does, mark this issue RTBC. :-) Thanks.
Comment #7
will_in_wi commentedWorks for me. Even under windows.
Comment #8
will_in_wi commentedIs this module maintained? I think a good option at this point would be to apply the patch and push out a 6.x-dev release.
Comment #9
milianw commentedI can only second will_in_wi's request: Just today I was contacted via email by someone who wanted to use this module on a Drupal 6 installation but couldn't get it working. Since my patches are based upon a CVS checkout it should be pretty easy to incorporate them. If there is any problem please notify me.
For future references I've updated the patch so this module now also adheres to Drupal coding standards according to the Coder module.
I'm additionally attaching the current patch and a tarball of the version I successfully use in production use on my personal website.
Happy testing!
Comment #10
chiddicks commentedThanks! We're going to be using and testing this for the next little while on a soon-to-be production site. Everything looks good for now.
Comment #11
momper commentedComment #12
arhak commentedwhen will this patch be commited?
Comment #13
zoo33 commentedThere's an error on line 72 of your patched version (haven't checked if this is in the original version):
<?php $form['body_field']['format']['collapsed'] = 0;?>['collapsed']should be['#collapsed']! Drupal dies on certain node edits otherwise.Comment #14
AlexisWilke commentedzoo33,
I ran in the same problem! The edit would just fail until I applied your fix.
Thank you!
Alexis Wilke
Comment #15
Babalu commentedsubscribing
Comment #16
capellicThanks for the port!
Comment #17
jcwatson11 commentedThis works for me too with the fix from #13. How can we get this moved to an official drupal 6.x release of this module? Is the module maintainer the only one who can do that? Or can we assign someone else to the task to get it done?
Comment #18
arhak commentedwould be nice if someone takes over a 6.x branch
this seems to be a "must have" module
Comment #19
erik.summerfield commentedwould love to see this patch in the official
Comment #20
gausarts commentedsubscribing. thanks
Comment #21
Crell commentedThe patch in #9 fails horribly for me when run against the 5.x branch (which is the most up to date version, as I don't use HEAD). From visual inspection it looks like the changes are drastic, too, so I don't know that I'll be able to fix it up.
Comment #22
Crell commentedI've gone ahead and updated the alter hook directly. It's much simpler than #9 above; I don't really know what half of that code was doing. I've branched a Drupal 6 version.
While I was at it, I got rid of the separate admin form and moved the configuration to each node type's page. That should be much cleaner, and makes the code considerably shorter, too. (It's only 3 functions!) Tarballs should appear shortly.
Comment #23
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.