Topic-icon [9.0.215 Bugs] Social buttons alignment

2 months 2 weeks ago - 2 months 2 weeks 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: 2 months 2 weeks ago by joomleb.
The topic has been locked.
2 months 1 week ago #68438 by joomleb
Hi guys, 
Please, Can you confirm and, in case, provide the fixings here ?
The topic has been locked.
Support Specialist
2 months 5 days ago - 2 months 5 days 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: 2 months 5 days ago by mel.
The topic has been locked.
Support Specialist
2 months 5 days 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.
2 months 4 days 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
2 months 18 hours ago #68464 by mel
Thanks for letting us know.
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Get the Hide and Seek Toy on Amazon