D6 support for Default Filter module

kylehase - February 16, 2008 - 13:30
Project:Default Filter
Version:5.x-2.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

This is a great module and I'm very interested in seeing this upgraded to support Drupal 6. Are there any plans at this time?

#1

gangas - February 16, 2008 - 13:36

I hope!

#2

gdevlugt - February 18, 2008 - 21:39
Status:active» needs review

I did a (rather quick) port of the current CVS head version for Drupal 6.

Initial tests seemed to work okay, though further testing probably is wise.

Attached to this comment you'll find the patch needed for the CVS head version for the Drupal 6 port.

Hopefully this will help the developer to release an official Drupal 6 version.

AttachmentSize
default_filter-head-to-d6compat.patch 9.35 KB

#3

gangas - February 19, 2008 - 18:16
Status:needs review» reviewed & tested by the community

Me and my friend have seen your patch, and found no bugs....

Suc6!

Greetings,

Thom

(www.gangas.nl)(D6)

#4

dllh - February 19, 2008 - 18:55

I'm a bit stretched for time at the moment, but as it appears there's a fair amount of interest in getting this ported, I'll try to review the patch and make a release fairly soon. Thanks!

#5

kylehase - February 20, 2008 - 02:32

The patch is also working for me on D6.0

#6

VladSavitsky - June 5, 2008 - 21:24

It works in D6.2

#7

bonobo - July 30, 2008 - 23:49

Any roadmap for committing this to a D6 dev release?

#8

mikey_p - August 12, 2008 - 01:33
Status:reviewed & tested by the community» needs work

patching file default_filter.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file default_filter.info.rej
patching file default_filter.install
patching file default_filter.module
Hunk #3 succeeded at 88 (offset 1 line).
Hunk #4 succeeded at 121 (offset 1 line).
Hunk #5 succeeded at 167 (offset 1 line).
Hunk #6 FAILED at 198.
Hunk #7 succeeded at 213 (offset 1 line).
1 out of 7 hunks FAILED -- saving rejects to file default_filter.module.rej

#9

Wolfflow - August 28, 2008 - 21:36

subcribe

#10

ajaysolutions - August 29, 2008 - 13:17

I'm also interested to see this in D6... I'm never any good at applying patches and getting them to work.

Looking forward to it!

#11

mikey_p - August 29, 2008 - 21:33
Status:needs work» needs review

This is a semi-reroll of the patch above (I did most of this by hand instead of copying the patch).

Also, fixed a notice at line 108.

AttachmentSize
default_filter_22497_11.patch 16.95 KB

#12

joly - September 23, 2008 - 11:14

Hi,

I am not so good in patching etc.
Is it possible that the patched-module is put in this project, so it can be downloaded?

Greetz, Joly

#13

jeffreydalton.info - September 23, 2008 - 21:23

subscribing

#14

mrbrowny - October 1, 2008 - 01:01

I also request this module to be ported to 6.x.

Anyone, please?

Thanks in advance!

Claudio Abraham
(mrbrowny in Drupal)
Argentina
South America

#15

linuxuser - October 3, 2008 - 14:35

I and a few friends can't wait too for a support with 6.4

#16

gangas - October 17, 2008 - 15:54

#17

mikey_p - November 4, 2008 - 20:32

@gangas: There is no need to use coder, as the patch has already been made, and is available in #11.

@all: I don't plan to post a complete version of the module here because it really isn't ready for release yet, and is intended for the developers of this project, or other developers to review. I may not have completed the port properly, or introduced a new bug, for this reason I would rather only experienced individuals/developers test this, and being able to apply a patch is a reasonable test of experience for that. (If the maintainers of this module feel differently, that is fine, I am just stating my opinion regarding my patch)

#18

kmonty - November 20, 2008 - 15:45

Subscribing

#19

mrfelton - November 24, 2008 - 11:33

I'm in need of this too. I'm the creator and maintainer of several other Drupal modules and I will give this a good look over in the next week or two.

#20

kylehase - November 25, 2008 - 03:20
Title:D6 support» D6 support for Default Filter module

Changing to a more descriptive title for views that do not display the project name. (eg. http://drupal.org/user/<uid>/track)

#21

dbu - November 27, 2008 - 16:44

looking forward to see this module updated for d6 !

#22

gangas - December 3, 2008 - 19:43

So do i!

#23

Shannon Lucas - December 5, 2008 - 17:02

I've tested the patch mikey_p posted (comment #11) on Drupal 6.6 and found it to work.

#24

gangas - December 6, 2008 - 20:19

On drupal 6.6 worked for me also!

#25

Aaron Hawkins - January 7, 2009 - 17:01
Status:needs review» reviewed & tested by the community

The patch works fine.

#26

gangas - January 11, 2009 - 11:25
Status:reviewed & tested by the community» patch (to be ported)

Worked here fine also, at my friend also, my neigherbour also!

#27

mikey_p - January 12, 2009 - 04:27
Status:patch (to be ported)» reviewed & tested by the community

What version should this patch be ported to?

#28

gangas - January 12, 2009 - 12:35

Oopz! Sorry!

#29

mrfelton - January 26, 2009 - 14:54

Just confirming that the patch works for me too on 6.9

#30

mrfelton - January 27, 2009 - 10:02

update:
I get this on the node edit form.

warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/html/concern-6.x/sites/all/modules/default_filter/default_filter.module on line 203.

#31

Todd Nienkerk - January 29, 2009 - 01:34

Subscribing.

#32

mikey_p - February 11, 2009 - 01:03

@mrfelton: Could you put a print_r($form); at the top of the default_filter_form_alter function, before line #203 and then paste the results here?

I'm guessing you have another module modifying the form structure, or a content type with no body. If that is the case I will add a check to see that body_field exists before checking for the 'format' key.

Thanks.

#33

mrfelton - February 11, 2009 - 07:46

I believe this content type has no body.

#34

mikey_p - March 19, 2009 - 01:42

I think the better approach here is to move to the Better Formats module for D6 usage. Please see http://drupal.org/project/better_formats.

That module replaces default_filter, filter_default and several others quite nicely, in a way more similar to how Drupal 7 will work.

#35

Todd Nienkerk - April 23, 2009 - 15:23

I've been using the patched D6.x version of this module for many, many weeks. Everything works great.

#36

Todd Nienkerk - April 23, 2009 - 16:45

Regarding switching to Better Formats (#34), please note it does not allow default filter roles per node type. It only distinguishes between nodes and comments by role.

#37

Todd Nienkerk - April 23, 2009 - 17:04

Scratch my comment in #36. Better Formats does allow default filters per node type. It can completely replace the Default Filter module.

#38

gangas - May 22, 2009 - 09:14

So...

Fixed...?

#39

Todd Nienkerk - June 8, 2009 - 22:40
Status:reviewed & tested by the community» won't fix

Better Formats does everything Default Filter does and then some. I'd call this "won't fix."

#40

naught101 - June 19, 2009 - 10:49

dllh: would it be possible for you to put some info on the project page about this decision?

#41

crispy - July 9, 2009 - 18:14

subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.