How do I implement event trigger to open the login box?
I am using Joomla and installed everything as well as created an account on oneall. I selected a position in joomla and everything seems to be working fine but I would like to have a popup windown like you have in your demo.
If I need to use this:
https://docs.oneall.com/api/javascript/library/events/#on_open_popup_uiWhere do I paste it? In the header?
Thanks
Answers
As you can see now, in the topbar I have "Ingresar" "Registrar" and "Publica Gratis" and next to it the oneall social login module.
What I want to achieve is that upon clicking anyone of these that a popup window appears with the oneall social login window. IF they are logged inalready, then just show that they are logged in.
Translation: Ingresar - Login // Registrar - Register // Publica Gratis - Publish for Free
here an example for a modal opening:
<a id="my_link">Click Me</a> <script type="text/javascript"> var _oneall = _oneall || []; _oneall.push(['social_login', 'set_providers', ['facebook','google']]); _oneall.push(['social_login', 'set_callback_uri', 'http://conex.com.py/']); _oneall.push(['social_login', 'attach_onclick_popup_ui', 'my_link']); </script>