Closed (fixed)
Project:
Columns filter
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 00:06 UTC
Updated:
1 Jul 2011 at 19:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
codi commentedFirst crack at a D7 release of columns_filter. I don't know about the wysiwyg plugin as I use ckeditor which I'll have some integration for in a bit.
I also removed the theme functions for now, but if you just need div separators as is then this will work for you.
Same filter order applies. Keep it just under the 'Limit allowed HTML tags' and you're good.
Comment #2
joachim commentedThanks for working on this!
Changing status so I remember to look at this when I have time.
Comment #3
Anonymous (not verified) commentedI've tried your version of the D7 port, and it works fine. I juste made a small change because I found it odd behaviour to add the column number in the class attribute, and instead added the number of total columns.
But it doesn't work with any wysiwyg editor. I tried CKEditor, tinyMCE, markitup and nicEdit. On all of them the paragraph break get ignored and the wysiwyg button (plugin) gets ignored too.
Comment #4
codi commentedSame issue for me. I'll take a look, but i'm not terribly familiar with wysiwyg editors.
Comment #5
joachim commentedI've taken a look at the zipfile.
The code needs a bit more work:
- we've lost a few function docblocks
- Implementation of hook_filter <-- it's not, it's now a callback
- callbacks like _columns_filter_filter can lose the initial _
Also, this should be run through coder module.
I've started a 7.x-1.x branch. Can you post your version as a patch on that please?
Comment #6
dboulet commentedMight try porting this tomorrow...
EDIT: Lack of time, will have to wait until next week.
Comment #7
dboulet commentedOk, had a little bit of trouble creating this patch, still getting used to git : ).
Please test, code works well for me.
Comment #8
RandalK commentedApplying this patch gives a few whitespace errors:
And this IMHO should be moved into columns_filter.info
(see http://drupal.org/node/171205#stylesheets and system_add_module_assets)
Other then that I see no problems.
Comment #9
dboulet commentedThanks for the review RandalK! Here's a new patch.
Comment #10
joachim commentedCommitted this to the 7 branch and made a dev release which should show up in a while.
I noticed one problem but I've filed it as a new bug rather than held this up as it's minor: #1192148: filter UI description no longer matches core style.
Thanks everyone :)
Comment #11
joachim commentedAlso, this: #1192152: review setup instructions for D7.