Yclas Update 3.5.0 Issue on Dropzone

User avatar
Delo Ramci
Posts: 17
Joined: Thu Jan 26, 2017 12:17 pm

Yclas Update 3.5.0 Issue on Dropzone

Mon Aug 27, 2018 2:12 pm

Yclas have currently have an issue on dropzone causing for advertiser or user unable to publish ads with image. If you published with images its often to be like - you may think ah.. my ads is take too long or not publish yet, but when you refresh your page you'll noticed thaT it was actually published.

It's not yet fix, currently. No free support for this issues. I found some fixed but not sure if this will help!

The issues i found is from here:
if ($('textarea[name=description]:not(.disable-bbcode)').length) {
$('textarea[name=description]:not(.disable-bbcode)').sceditor('instance').updateOriginal();
}
and solution is to add this to new.js next to:

Code: Select all

                break;
            case 'textarea':
                $template.find('div[data-input]').replaceWith($('<textarea/>').attr({   'id'          : idx,
                                                                                        'name'        : idx,
                                                                                        'class'       : 'form-control',
                                                                                        'placeholder' : customfield.label,
                                                                                        'rows'        : 10,
                                                                                        'cols'        : 50,
                                                                                        'data-type'   : customfield.type,
                                                                                        'data-toggle' : 'tooltip',
                                                                                        'title'       : customfield.tooltip,
                                                                                        'required'    : customfield.required,
                                                                                    }).append($('#custom-fields').data('customfield-values')[idx]));
// Add this code below                                                                                    
                break;
            case 'textarea_bbcode':
                $template.find('div[data-input]').replaceWith($('<textarea/>').attr({   'id'          : idx,
                                                                                        'name'        : idx,
                                                                                        'class'       : 'form-control',
                                                                                        'placeholder' : customfield.label,
                                                                                        'rows'        : 10,
                                                                                        'cols'        : 50,
                                                                                        'data-type'   : customfield.type,
                                                                                        'data-toggle' : 'tooltip',
                                                                                        'title'       : customfield.tooltip,
                                                                                        'required'    : customfield.required,
                                                                                    }).append($('#custom-fields').data('customfield-values')[idx]));

I still have an issues so im still searching for other problem. Let me know if you guys can add something.


Return to “Open-Classified Theme”

Links

In total there are 6 users online :: 1 registered, 0 hidden and 5 guests
Registered users: Bing [Bot]
Most users ever online was 33 on Sat Mar 09, 2019 8:21 pm
Total posts 481
Total topics 363
Total members 70
Our newest member Mirasoida
No birthdays today