I spent a lot of time trying to determine why wysiwyg_filter wasn't modifying the form altered by input formats module.
It seems the current inclusion of wysiwyg_filter.admin.inc in wysiwyg_filter_filter (when $op == 'settings') doesn't always works. I meant, the inclusion of an inc file to execute a form alter.
This patch just moves the implementation of the hook_FORM_ID_alter from wysiwyg_filter.admin.inc to wysiwyg_filter.module. This is the only way I founded to give a change to alter "again" the configuration for of the input format.
Sorry, for this short explanation, but, explain this more detailed is a bit difficult, but I would appreciate this get in before next release of wysiwyg_filter.
Thanks again.
Comment | File | Size | Author |
---|---|---|---|
wysiwyg_filter-form-alter.patch | 2.44 KB | dagmar | |
Comments
Comment #1
dagmarI forgot change the status.
Comment #2
bleen CreditAttribution: bleen commentedI just tried the patch in #1 and I still get the errors below whenever I include "WYSIWYG Filter" as port of one of my input filters. Additionally, I still have weirdness with my admin-theme changing back and fourth between Rubik & Garland:
UPDATE: I didn't actually apply the patch in #1 .. I just moved the function in question from admin.inc to .module
Comment #3
bleen CreditAttribution: bleen commentedrelated: #894710: Input Formats breaks Admin Theme
Comment #4
alexbk66- CreditAttribution: alexbk66- commentedI have the same problem, there's related issue #885632: Don't export variables with a default value. It's closed, but is it fixed?
I tried to move 'function wysiwyg_filter_form_filter_admin_configure_alter' from wysiwyg_filter.admin.inc to wysiwyg_filter.module, no difference.
What's strange, I cant change Rules for URLs used within inline styles anymore, it's always empty. I removed all HTML elements and attributes, but still getting:
Any ideas?
Comment #5
alexbk66- CreditAttribution: alexbk66- commentedUpdate.
I disabled Form.module and it's all good now!
Comment #6
stefan.r CreditAttribution: stefan.r commentedDoes not apply to 7.x as Input formats is 6.x only, closing this issue.