1. ruud
  2. General
  3. Thursday, April 06 2017, 03:40 PM
Hi, working on a new website. Just installed easy-profile.
In my login module I have post text {socialconnect_icons} to display the social buttons under the login button in the module.

What is happening is that the buttons appear twice... when I remove the tag from the post text in the login module they are appearing once???

Found out that the buttons are placed on the login module via the easy-profile component setting:
Show Social Login Buttons on Login page = yes
Show Social Buttons as icons (login page) = yes

as it turns out these setting do not only place the buttons on the actual login page, but also on the login module.

This is not correct.

When e.g. logged in and you press the logout button: the login module appears as a popup, not only with the logout button but also with the easy-profile text (dutch) 'Log in met: ' as you can see in the attached image.

How can I prevent easy-profile from placing automatically the social connect buttons on the login module?

setting:
Show Social Login Buttons on Login page = no

works, but then I do not have the buttons on the login page :(
Attachments (1)
Accepted Answer
admin Accepted Answer
Admin
Hi,
this happen because basically the option "Show Social Login Buttons on Login page" add buttons at the end of all container with class "login" (Read Note Above).
Probably your login module have a class "login" (and it comes from a module layout override).

Solutions
1. remove "login" class from your module overide (you will find it in /templates/your-template-folder/html/mod_login/default.php)

2. disable option "Show Social Login Buttons on Login page" and add the buttons manually in login page:
- way 1: add a Joomla Custom Module before/after the login page (you can set Access:Guest and to show it only on login page)
- way 2: in the login page menu item id there is a parameter called "Login Description Text" (see screenshots from this site Sign In menu item)


NOTES
Why this way?
Because normal Joomla output of login page is something like
<div class="login">
<form ..... >HERE FORM</form>
</div>
<ul>HERE LINKS TO CREATE ACCOUNT, FORGOT PASSWORD,....</ul>

and as you see this is the only place, because a button into a form is never a good idea
Attachments (2)
  1. more than a month ago
  2. General
  3. # Permalink
ruud Accepted Answer
Thanks, that did the trick!
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.