Forums

Issue with demo form for Joomla user registration

Matten 12 Feb, 2020
Good evening,

In order to replace the standard joomla registration I added a form based upon the demo form for the Joomla user registration.
This is working fine apart from the the email that's sent after the submit.
This email should give the user the correct URL where he/she can activate the account.

The code used in the email action is as follows:

Activation link: {url.full:activate$activation_code=(session:activation_code)}



What this gives me is this (for example and the URL is not valid anymore):
http://www.psvbadmintonbrugge.com/CMS30/CMS30/index.php/registreren?chronoform=register&event=activate&activation_code=4f1859f3-ce06-47b0-9af4-102852a18998

The problem is that there's info in this URL that renders it useless.
As you can see, there's two times "CMS30" where it should only be there once.

Any suggestions as to how this can be fixed are most welcome.
I tried to "hardcode" the correct URL (apart from the dynamic part of the activation code but I couldn't make that work.

Thank you in advance for your help!

KR,
Matthias.
healyhatman 12 Feb, 2020
Answer
Just hardcode it, make sure you include everything after index.php/registeren with ?chronoform=register&event=activate&activation_code={session:activation_code}
Matten 14 Feb, 2020
Thanks man, that does the trick!

KR,
Matthias.
This topic is locked and no more replies can be posted.