Page 1 of 1
Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 07 Jul 2023, 09:18
by morphinestyle
Hello everyone!
I'm using Akeeba Social Login to make faster login, but on J4 it needs Phoca Cart use
onUserLoginButtons event to be rendered as described on Akeeba Social Login documentation page
https://github.com/akeeba/sociallogin/w ... t-joomla-4.
There is a way to fix, or i need to wait Phoca Chart using new J4 onUserLoginButtons event?
Thank you very much!
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 07 Jul 2023, 15:04
by Jan
Hi, the event is located here: libraries/src/Helper/AuthenticationHelper.php so not sure where exactly in Phoca Cart should be implemented and how?
Jan
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 07 Jul 2023, 16:50
by morphinestyle
Hi Jan,
i use Akeeba Social Login to allow auto-registration by Google or Facebook.
Social Login in Joomla 4 (unlike joomla 3) uses onUserLoginButtons event to append automatically social buttons where login buttons are rendered as explained here:
https://github.com/akeeba/sociallogin/w ... t-joomla-4.
As described by Nicholas Dionysopoulos:
Joomla 4
As noted, our code DOES NOT render the login buttons in Joomla 4. Our code simply responds to the onUserLoginButtons event which was added in Joomla 4. Plugins responding to this event convey all the information Joomla needs to render additional login buttons such as WebAuthn (included in Joomla), SocialLogin etc.
If your extension does not render these buttons please talk to its developer. They need to update its code for Joomla 4. There is nothing you can do with an override.
There's no way to override to render Social login buttons, so i'm asking how can i solve to make visible it to make a super fast registration and/or login.
How can i solve?
Thank you Jan!
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 07 Jul 2023, 23:31
by Jan
Hi, would like to give you clue advice, but I just don't understand this:
"If your extension does not render these buttons please talk to its developer. They need to update its code for Joomla 4. There is nothing you can do with an override."
I unfortunately have no idea which buttons are talking about, how such buttons are related to Phoca Cart extension, etc.
Jan
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 08 Jul 2023, 07:51
by mino182
Maybe login form in checkout? And render social login buttons there...
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 08 Jul 2023, 09:57
by morphinestyle
mino182 wrote: 08 Jul 2023, 07:51
Maybe login form in checkout? And render social login buttons there...
Exactly: just to render Akeeba Social Login buttons on Phoca Cart login!
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 08 Jul 2023, 13:18
by Jan
Hi, OK, will be set in next version:
Jan
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 22 Nov 2024, 19:10
by Maradona
Jan wrote: 07 Jul 2023, 23:31
Hi, would like to give you clue advice, but I just don't understand this:
"If your extension does not render these buttons please talk to its developer. They need to update its code for Joomla 4. There is nothing you can do with an override."
I unfortunately have no idea which buttons are talking about, how such buttons are related to Phoca Cart extension, etc. :idea:
Jan
May I know where and how? :D
Re: Please use onUserLoginButtons event just to render Akeeba Social Login buttons
Posted: 23 Nov 2024, 18:59
by Jan
Hi, sorry, I don't understand your question.