modal-on-load again...

13 replies · opened Aug 19, 2020

Ooskar321Aug 19, 2020

Hi there,
i'm trying to avoid to load all plugins from plugins.min.js but there is a error and I need your help.

I need the lightbox plugin for my modal-on-load. If I use the single plugin plugins.lightbox.js it's not loading but with plugins.min.js it's working fine. That means, that in the single plugin must be something missing, right?

Can you check that please. I don't use most of the plugins, that's why I don't want to load all of them and waste memory and loading time.

Thanks and regards
Oskar

SSemicolon WebSTAFFAug 20, 2020

Hello,

Using the Standalone Plugin File should work fine, but we are pretty sure that this issue is due to incorrect usage of the Plugins Linkings. Consider checking the Documentations on how to use the Plugins Files here: http://docs.semicolonweb.com/docs/getting-started/javascript/ and see if this fixes your issue.

Meanwhile, using your Page without linking the plugins.min.js File is a very safe option as only the Plugins required on the Page is loaded automatically and you do not need any manual setup. Just use this:

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ooskar321Aug 20, 2020

This is how I used it:

<script src="js/plugins.easing.js"></script>
<script src="js/plugins.bootstrap.js"></script>
<script src="js/plugins.lazyload.js"></script>
<script src="js/plugins.swiper.js"></script>
<script src="js/plugins.animations.js"></script>
<script src="js/plugins.textrotator.js"></script>
<script src="js/plugins.carousel.js"></script>
<script src="js/plugins.lightbox.js"></script>
Ooskar321Aug 20, 2020

If I use the declaration this way, modal on load isn't working but if I use only
<script src="js/plugins.min.js"></script>
It's working

That's why I'm asking for help.

:)

Ooskar321Aug 20, 2020

It's also not working, if I just delete
<script src="js/plugins.min.js"></script>
from my code.

SSemicolon WebSTAFFAug 20, 2020

Hello,

Apologies about the Inconveniences caused!

Please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Ooskar321Aug 20, 2020

Thanks for your work good people :)

Ooskar321Aug 20, 2020

Hi :)
I updated the js file and changed the position for the plugin declaration. It didn't helped.

Ooskar321Aug 20, 2020

I updated to all js files from 605 just to be sure. Still nothing has changed.

SSemicolon WebSTAFFAug 20, 2020

Hello,

YES! A Bug! Thank You so much for reporting this!

Please find the following code in the js/functions.js File:


pluginfn: '$().magnificPopup && typeof Cookies !== "undefined"',

and replace it with:


pluginfn: '$().magnificPopup',

This will fix the issue. An Update will be released shortly to address this. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ooskar321Aug 20, 2020

Hi there :D
It works perfect in all versions of declaration.
Thank you soo much.

With my best regards
Oskar

SSemicolon WebSTAFFAug 20, 2020

Hello,

Glad to know the issue was resolved!

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard