How do I implement event trigger to open the login box?

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_ui
Where do I paste it? In the header?
Thanks

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Could you please post a link to your Joomla?
  • edited October 2016
    http://conex.com.py/
    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
  • Hello? Claude_Schlesser?
  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Hi Delbert,

    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>

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.