Dropfiles Frontend editing jquery issue

dpodesta
78 Posts
dpodesta posted this 20 July 2017

Hi is there any chance to do something about incompatibility with dropfiles component frontend management.

I spoke to the component developer and they have said the following.

I have checked this issue and see your template did override the default jQuery of Joomla, so it's missing jQuery in the frontend file manager so it don't work.

There isn't any solution except edit your template to don't remove jQuery on front-end but it may cause other problem on your site..

I get these errors below , can anything be done?

David
jquery-migrate.min.js:2 Uncaught ReferenceError: jQuery is not defined
at jquery-migrate.min.js:2
/~racichem/components/com_dropfiles/assets/js/modal.min.js:7 Uncaught TypeError: Cannot read property 'fn' of undefined
at /~racichem/components/com_dropfiles/assets/js/modal.min.js:7
at /~racichem/components/com_dropfiles/assets/js/modal.min.js:7
jquery-ui-1.9.2.custom.min.js:6 Uncaught ReferenceError: jQuery is not defined
at jquery-ui-1.9.2.custom.min.js:6
jquery.ui.touch-punch.min.js:6 Uncaught ReferenceError: jQuery is not defined
at jquery.ui.touch-punch.min.js:6
jquery.gritter.min.js:12 Uncaught ReferenceError: jQuery is not defined
at jquery.gritter.min.js:12
dropfiles.js:12 Uncaught ReferenceError: jQuery is not defined
at dropfiles.js:12
jquery.filedrop.min.js:10 Uncaught ReferenceError: jQuery is not defined
at jquery.filedrop.min.js:10
jquery.textselect.min.js:1 Uncaught ReferenceError: jQuery is not defined
at jquery.textselect.min.js:1
jquery.nestable.js:463 Uncaught TypeError: Cannot read property 'fn' of undefined
at jquery.nestable.js:463
at jquery.nestable.js:485
/~racichem/components/com_dropfiles/assets/js/jaofiletree.js:181 Uncaught ReferenceError: jQuery is not defined
at /~racichem/components/com_dropfiles/assets/js/jaofiletree.js:181
jquery.restable.js:233 Uncaught ReferenceError: jQuery is not defined
at jquery.restable.js:233
jquery.tagit.js:590 Uncaught ReferenceError: jQuery is not defined
at jquery.tagit.js:590
jquery.minicolors.min.js:11 Uncaught ReferenceError: jQuery is not defined
at jquery.minicolors.min.js:11
at jquery.minicolors.min.js:11
chosen.jquery.min.js:1 Uncaught ReferenceError: jQuery is not defined
at chosen.jquery.min.js:1
at chosen.jquery.min.js:2
fielduser.min.js:1 Uncaught ReferenceError: jQuery is not defined
at fielduser.min.js:1
index.php:66 Uncaught ReferenceError: jQuery is not defined
at index.php:66
index.php:279 Uncaught ReferenceError: jQuery is not defined
at index.php:279

Hi is there any chance to do something about incompatibility with dropfiles component frontend management. I spoke to the component developer and they have said the following. I have checked this issue and see your template did override the default jQuery of Joomla, so it's missing jQuery in the frontend file manager so it don't work. There isn't any solution except edit your template to don't remove jQuery on front-end but it may cause other problem on your site.. I get these errors below , can anything be done? David jquery-migrate.min.js:2 Uncaught ReferenceError: jQuery is not defined at jquery-migrate.min.js:2 /~racichem/components/com_dropfiles/assets/js/modal.min.js:7 Uncaught TypeError: Cannot read property 'fn' of undefined at /~racichem/components/com_dropfiles/assets/js/modal.min.js:7 at /~racichem/components/com_dropfiles/assets/js/modal.min.js:7 jquery-ui-1.9.2.custom.min.js:6 Uncaught ReferenceError: jQuery is not defined at jquery-ui-1.9.2.custom.min.js:6 jquery.ui.touch-punch.min.js:6 Uncaught ReferenceError: jQuery is not defined at jquery.ui.touch-punch.min.js:6 jquery.gritter.min.js:12 Uncaught ReferenceError: jQuery is not defined at jquery.gritter.min.js:12 dropfiles.js:12 Uncaught ReferenceError: jQuery is not defined at dropfiles.js:12 jquery.filedrop.min.js:10 Uncaught ReferenceError: jQuery is not defined at jquery.filedrop.min.js:10 jquery.textselect.min.js:1 Uncaught ReferenceError: jQuery is not defined at jquery.textselect.min.js:1 jquery.nestable.js:463 Uncaught TypeError: Cannot read property 'fn' of undefined at jquery.nestable.js:463 at jquery.nestable.js:485 /~racichem/components/com_dropfiles/assets/js/jaofiletree.js:181 Uncaught ReferenceError: jQuery is not defined at /~racichem/components/com_dropfiles/assets/js/jaofiletree.js:181 jquery.restable.js:233 Uncaught ReferenceError: jQuery is not defined at jquery.restable.js:233 jquery.tagit.js:590 Uncaught ReferenceError: jQuery is not defined at jquery.tagit.js:590 jquery.minicolors.min.js:11 Uncaught ReferenceError: jQuery is not defined at jquery.minicolors.min.js:11 at jquery.minicolors.min.js:11 chosen.jquery.min.js:1 Uncaught ReferenceError: jQuery is not defined at chosen.jquery.min.js:1 at chosen.jquery.min.js:2 fielduser.min.js:1 Uncaught ReferenceError: jQuery is not defined at fielduser.min.js:1 index.php:66 Uncaught ReferenceError: jQuery is not defined at index.php:66 index.php:279 Uncaught ReferenceError: jQuery is not defined at index.php:279
Vote to pay developers attention to this features or issue.
4 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 21 July 2017

Hi,

Themler theme overrides joomla jquery to be sure that the proper jquery version required by the theme features is used. Theme overrides system jquery in two steps: 1. via /js folder in the theme with empty files (with a single comments). When the /js folder exists in the theme joomla loads jquery from the theme and 2. load jquery from the theme root. We did it to be sure that scripts will be loaded in a strictly defined sequence to avoid possible script conflicts. We need second step to control
the sequence of loading scripts.

Unfortunately this functionality cannot be disabled.

Thank you,
Olivia

Hi, Themler theme overrides joomla jquery to be sure that the proper jquery version required by the theme features is used. Theme overrides system jquery in two steps: 1. via `/js` folder in the theme with empty files (with a single comments). When the `/js` folder exists in the theme joomla loads jquery from the theme and 2. load jquery from the theme root. We did it to be sure that scripts will be loaded in a strictly defined sequence to avoid possible script conflicts. We need second step to control the sequence of loading scripts. Unfortunately this functionality cannot be disabled. Thank you, Olivia
dpodesta
78 Posts
dpodesta posted this 21 July 2017

Ok thanks, for looking at it for me.

Ok thanks, for looking at it for me.
Support Team
Support Team posted this 21 July 2017

You are welcome. Feel free to contact us in any other occasion.

Sincerely,
Hella

You are welcome. Feel free to contact us in any other occasion. Sincerely, Hella
Claudia Krug
7 Posts
Claudia Krug posted this 02 September 2020

Hello,

I have sort of same problem. I am using WP Download Manager and get an error blank page when trying to upload files from the frontend.
The support mentioned it is because my theme (made with themler) is removing some required scripts like jquery-form.
When I use another (Wordpress origin) theme the upload works.

Where and what code can I add to get rid of this error?
Thanks for a quick answer
Claudia

Hello, I have sort of same problem. I am using WP Download Manager and get an error blank page when trying to upload files from the frontend. The support mentioned it is because my theme (made with themler) is removing some required scripts like jquery-form. When I use another (Wordpress origin) theme the upload works. Where and what code can I add to get rid of this error? Thanks for a quick answer Claudia
You must log in or register to leave comments