Topic-icon [9.0.215 Bugs] Social buttons alignment

Active Subscriptions:

None
1 year 3 months ago - 1 year 3 months ago #68407 by joomleb
Hi guys, 
about the Enh: Core - Social Button alignment in Joomla login / register views (jfbconnect-2366)
PHP 7.4.33 + Joomla 4.2.6 + Helix Ultimate 2.0.11 + JFBConnect last 9.0.215 (SCLogin)
JFBC Configuration > General > Login / Logout > COM_JFBCONNECT_CONFIG_LOGIN_JOOMLA_ALIGNMENT: Center

1 - You forgot to apply the same setting to the "div intro" - I add an image for you.
Please, Can you confirm ? Can you fix it ?
Meanwhile, Please, Where (file) can I manually fix it ?

2 - As far as I see you missed to add the Languages strings:
COM_JFBCONNECT_CONFIG_LOGIN_JOOMLA_ALIGNMENT_LABEL
COM_JFBCONNECT_CONFIG_LOGIN_JOOMLA_ALIGNMENT_DESC
Please, Can you confirm ? Can you add them and add here the new language file ?
Attachments:
Last edit: 1 year 3 months ago by joomleb.
The topic has been locked.
Active Subscriptions:

None
1 year 3 months ago #68438 by joomleb
Hi guys, 
Please, Can you confirm and, in case, provide the fixings here ?
The topic has been locked.
Support Specialist
1 year 2 months ago - 1 year 2 months ago #68459 by mel
1. [Edit] Hit submit too soon. Let me figure out the fix.

2. Looking at our logs, I apparently checked the language file in but forgot to push it until after the release was build. They're in all my subsequent internal builds.
COM_JFBCONNECT_CONFIG_LOGIN_JOOMLA_ALIGNMENT_LABEL="Joomla Login Alignment"
COM_JFBCONNECT_CONFIG_LOGIN_JOOMLA_ALIGNMENT_DESC="Alignment of social buttons when included on Joomla login pages"


They go in /administrator/language/en-GB/en-GB.com_jfbconnect.ini

-Melissa
Last edit: 1 year 2 months ago by mel.
The topic has been locked.
Support Specialist
1 year 2 months ago #68460 by mel
1. In /components/com_jfbconnect/libraries/widget/login.php, around line 158, change
$text = empty($text) ? "" : '<div class="d-flex justify-content-start intro">' . $text . '</div>';
to
$text = empty($text) ? "" : '<div class="d-flex justify-content-'.$justify.' intro">' . $text . '</div>';

2. The html may be cached, so you may have to go into JFBConnect backend > Configuration > Advanced section and turn the cache duration to 0 to take effect.
The topic has been locked.
Active Subscriptions:

None
1 year 2 months ago #68462 by joomleb
Hi Mel, 
Thank You. 
I tested all your suggestions and I can confirm that they are working as expected.
I'll stay tuned for the next fixed release...
The topic has been locked.
Support Specialist
1 year 2 months ago #68464 by mel
Thanks for letting us know.
The topic has been locked.