Need to trigger another plugin's function in Ajax Infinity

5 years 2 weeks ago #8092 by arnaud@agdg.fr
Hi.
I'm using a modal plugin in a blog (Regular Labs Modals plugin). I need to trigger this plugin initialising function after Ajax Infinity loads new articles.
Where (in what file and in what line of code) do I have to put this triggering code?
Thanks !
www.arnaudgautron.com/fr/blog (still under development) -> Modal works fine in first article, not in second one.

Please Log in or Create an account to join the conversation.

5 years 2 weeks ago #8095 by Saka
That would qualify to custom development, but try api.jquery.com/jquery.getscript/

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

5 years 1 week ago #8098 by arnaud@agdg.fr
OK. Thanks for the answer.
What to do to get custom development ?

Please Log in or Create an account to join the conversation.

5 years 1 week ago #8099 by arnaud@agdg.fr
I'm not a developer but I'm still trying to do this by myself.
The developer of RegularLabs Modals told me to trigger a specific function after AjaxInfinity has rendered the new articles.
The function is RegularLabsModals.init();
I am lost with jQuery/Javascript and I don't really understand how and where to put it in the AjaxInfinity plugin code. Any help, please?

Please Log in or Create an account to join the conversation.

5 years 5 days ago #8102 by Saka
Hi,

If you contact me on email we can arrange a custom job for this.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

5 years 2 days ago #8104 by arnaud@agdg.fr
Hi. I finally did it on my own.
It was quite easy, in fact: I simply added a call to the initializing function of RLModals plugin at the end of the callback function of Jscroll. Works well!
Thanks.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch