*

webcity

  • *****
  • 283 posts
osclass v8.4 - widget content post not saving
« on: Yesterday at 04:32:11 AM »
Hi,

Thanks for the great new release!

I'm getting a small problem when trying to create a footer widget, when i enter text into the content area at the top, the information is not saved. If i use the code area it is saved.

Can you suggest a solution?

*

MB Themes

Re: osclass v8.4 - widget content post not saving
« Reply #1 on: Yesterday at 11:19:50 AM »
This is a small Osclass 8.4 bug. The visual Content editor was not copied into the form on save. The Code field is a normal text box, so it saved as expected. Database structure is fine.

Until they update Osclass:

Workaround: put the HTML in the Code field. That still works.
Hotfix: replace oc-admin/themes/omega/appearance/add_widget.php with the 8.4 file that includes this save fix.

after line 193:
Code: [Select]
        submitHandler: function(form){
add:
Code: [Select]
          if(typeof tinyMCE !== 'undefined') {
            tinyMCE.triggerSave();
          }
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots