We implemented Video Filter 6.x-2.x on ~450 sites via Features and the WYSIWYG button disappears from the toolbar when updating to 6.x-3.x. This is due to the change in video_filter_wysiwyg_plugin
here.
Adding the button again manually via the WYSIWYG module settings form resets this setting and adds the button again. There is no update routine included that does this programmatically when update.php runs, so I can't update these sites to 3.x since all will lose this button from the toolbar. Since the 2.x branch is no longer supported, I am looking for a way to get 3.x working given this issue. Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#8 | video_filter_update_wysiwyg_3.patch | 1.57 KB | blackdog |
#5 | video_filter_update_wysiwyg_2.patch | 1.53 KB | blackdog |
#4 | video_filter_update_wysiwyg_1.patch | 1.53 KB | blackdog |
#3 | video_filter_update_wysiwyg.patch | 1.46 KB | blackdog |
Comments
Comment #1
blackdog CreditAttribution: blackdog commentedHmm, not good. Do you know if there is a way to add it back programmatically?
Comment #2
vinmassaro CreditAttribution: vinmassaro commentedThe change I can see in the database is in the WYSIWYG table that contains the tinyMCE settings. videofilter changed to video_filter in the serialized settings array with 6.x-3.x.
6.x-2.x
6.x-3.x
Comment #3
blackdog CreditAttribution: blackdog commentedCould you try the attached patch?
Comment #4
blackdog CreditAttribution: blackdog commentedEven better to remove the old setting also..
Comment #5
blackdog CreditAttribution: blackdog commentedOr maybe this one?
Comment #6
vinmassaro CreditAttribution: vinmassaro commentedThanks for the patch! It's close, but not working. The button is still disabled after update.php runs. Here's the unserialized output (ignore the add'l settings):
Comment #7
blackdog CreditAttribution: blackdog commentedAhh, we have to move inside the array to update the name there too. I'll get to it.
Comment #8
blackdog CreditAttribution: blackdog commentedTry this one. You'll need to reset the schema column in system table for video filter before trying again.
Comment #9
vinmassaro CreditAttribution: vinmassaro commentedThis one is a winner. Thanks!
Comment #10
blackdog CreditAttribution: blackdog commentedSo, this hasn't been committed. Don't know if it's still valid, or needed. Feedback appreciated.
Comment #11
minnur CreditAttribution: minnur at Chapter Three commentedClosing this issue since D6 no longer supported.