Closed (outdated)
Project:
Wordfilter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Feb 2011 at 18:57 UTC
Updated:
28 Mar 2022 at 07:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
q0rban commentedPatch attached. I'm not sure how helpful this is though, as I'm thinking people would probably rather export a whole language, not individual words. Not sure the best way to implement that yet though.
Comment #2
q0rban commentedComment #3
q0rban commentedDarn, accidentally uploaded the same file. ;)
Comment #4
q0rban commentedAdded support for disabled items.
Comment #5
csevb10 commentedOk. I admit that I made your life (or mine) a little more difficult, but now that I've separated out admin functionality into a separate file, getting your patch to apply to the latest code might be harder than just writing it from scratch. :-/ If you can re-roll a patch based on the re-work of the code that I did, I would love to add exportable functionality.
Regardless, this functionality is definitely on my list of features to develop moving forward, so if you don't have time, I will get to this as soon as time allows.
Comment #6
q0rban commentedHmm, I was working off of the latest in the 7 branch when I made my patch. Is there a separate branch I should be working from?
Comment #7
csevb10 commentedYou did everything correctly, I just happened to be making changes at the exact same time to a lot of the same code, so pulling all of your changes into what I did became very difficult. Does that make sense? If you can roll off the current d7 branch, it'll just make life easier, otherwise, I'll get to this myself as soon as I can.
Comment #8
q0rban commentedOk, I'm going to try to re-roll this patch, and also make it exportable by language. This will mean I'll have to increase the language support a bit.
Comment #9
q0rban commentedHere's a new patch, made with git format-patch. The language stuff is in a separate commit, so if you don't want that to be included with this work, you can separate it out, and we can create a new issue for that (or post to the existing one for 6: #265565: Multilanguage support (at least for 6.x)).
To apply this patch:
Comment #10
q0rban commentedActually, the language portion is going to need work, as caching needs to be updated to be on a per language level.
Comment #11
q0rban commentedUpdated patch to fix caching as mentioned in #10. It will be harder to separate out the language stuff from this patch, so let me know if you need a hand with that.
Comment #12
adamtong commentedhow to use this? also, the bulk add is not working.
there is error:
Fatal error: Call to undefined function _wordfilter_language_options() in /mydrupal/sites/all/modules/wordfilter/wordfilter.admin.inc on line 62
Comment #13
mxh commented