Integration with Wysiwyg API: signature form should use key 'format' not 'filter' to store input format
devore2008 - December 23, 2008 - 17:04
| Project: | Signatures for Forums |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I am having some problems setting this module up.
> I want to set RTE on by default. This works however the toggle always says Enable RTE and clicking it makes the textarea disappear.
> When I go into user profile the users forum signature (module signature_forum) no RTE is available despite being set to an input format that has RTE enabled in this module.
Anyone got any ideas before I dive into some debugging?

#1
Ok I've fixed the first problem by creating a new user. I haven't got time right now to delve further but I think that this was a bug in the module. I'd earlier had the module configuration set to remember a user's preference, done some testing and then turned it off. I think the preference stored in the profile was being used when building the toggle even though it wasn't being used to decide whether or not to display the editor.
The second problem still remains with the users signature if anyone has any ideas.
#2
Moving to proper project.
As partially covered in #325657: Not showing on blog content-type, the form needs to use the (internal) key "format" (NOT "filter"), so Wysiwyg API is able to detect the input format enabled field.
#3
#4
Fixed this, tested with WYSIWYG 3.x-dev. Previously Signatures for Forums didn't supply any input format information, since the input format is set in the admin settings.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.