By Uwe on Saturday, 29 October 2022
Posted in Technical Issues
Replies 9
Likes 0
Views 537
Votes 0
Hi,

I have created an override in mytemplate/html/mod_easysocial_login/default.php to redirect the registration link to an initial page where new users can decide before registration which group of users they want to join.

So what I did to achieve this, is to exchange the following code


<li>
<a href="<?php echo ESR::registration();?>"><?php echo JText::_('MOD_EASYSOCIAL_LOGIN_REGISTER_NOW');?></a>
</li>


by


<li>
<a href="sign-up"><?php echo JText::_('MOD_EASYSOCIAL_LOGIN_REGISTER_NOW');?></a>
</li>


But when I click on the link, noting happens. The URL changes from mydomain.com/login to my domain/sign-up but the page does not change. I still see the login form as before.

The same happens when I click on the Forgot Username or Forgot Passwort link. The URL changes but the page does not. Something is preventing the links from working.

Can you please have a look at this issue? I am stuck and cannot find out how to solve it. SuperUser is included in the additional information.

Thanks
Uwe
Hey Uwe,

Referring to the attached screenshot, when I switch the template style to the default in the menu item, the content shows differently.

I would say this issue is not EasySocial related. It's more to how you configure your templates and menu items. Unfortunately I'm not familiar with your template to provide any configuration advice.
·
Monday, 31 October 2022 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Uwe,

That /sign-up page is actually a page from page builder. I'm not sure how it is setup because I could not access it(attached).

Can you set the page to be accessible so I can check the content of that page? If you are not sure how to change the access, you have to consult pagebuilder regarding this.
·
Monday, 31 October 2022 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

I have set the access to Public for this page. So you can now access it with Pagebuilder. The page has just one module which is ES Social Login.

Thanks
Uwe
Uwe
·
Monday, 31 October 2022 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Uwe,
The page has just one module which is ES Social Login.
Does that mean it's already showing the correct content, which is the login form? Or are you expecting something else to show on that page? I'm referring to the page /sign-up.
·
Monday, 31 October 2022 14:59
·
0 Likes
·
0 Votes
·
0 Comments
·
The page is styled exactly like I want it to be. So it is showing the correct content. The module is working fine regarding login. Also the registration with LinkedIn is working fine.

Apart from that you can see 4 links on /de/login (I am currently working on the German version)

-> Go to decision page first (this link should go to /de/sign-up which is another page)
Registrieren (this is the "regular" ES Registration page - it is working but I don't need it)
Benutzername vergessen (forgot username - not working)
Passwort vergessen (reset password - not working)
Uwe
·
Monday, 31 October 2022 15:09
·
0 Likes
·
0 Votes
·
0 Comments
·
The page de/sign-up is referring to index.php?option=com_sppagebuilder&view=page&id=83

You can find this menu item in the menu Hidden DE. In the Pagebuilder Pages list this page is called Login Weiche DE.

But instead of going to this page when I click the link -> Go to decision page first, the user stays on de/login. The URL changes but the page does not.
Uwe
·
Monday, 31 October 2022 15:11
·
0 Likes
·
0 Votes
·
0 Comments
·
If you add the non-sef link to the URL you will see the page.
Uwe
·
Monday, 31 October 2022 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Raymond,

Wow ... I had no idea that this may have an impact. But you are right. If I change the template, the link is working. Let me do some tests. I will get back to you. But anyways thanks for leading me on this path ;-)
Uwe
·
Monday, 31 October 2022 16:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure Uwe. You're most welcome.
·
Monday, 31 October 2022 18:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post