redirect after clicking the confirmation email

13 years 1 month ago #152699 by developpeur
hello everyone
version cb 3.1
after more research and more testing, I am able to do a redirect to the home page to connect, and solve the problem of blank page.
Just add two line in comprofiler.php
and more precisely in the body of the function confirm ().
The modefication is as follows
Remove the line:::: echo $ messagesToUser;
Replace with:
global $ mainframe;
$mainframe->redirect("index.php?option=com_acceuil&view=connect&Itemid=10",$messagesToUser);
you can redirect to the page that you prefer.
I am in your disposal for any question

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.142 seconds

Facebook Twitter LinkedIn