I created a custom subscribe page (subscribe-newsletter.php), and it works perfectly.
When the user fills the form and clicks on the subscribe button, he is redirected to a “thank you” page.
I know that I can customize it inside PHPlist but customization is fairly limited and I would like to create my own “thank you page” with my entire design. How can I do to redirect the newly subscribed user to my OWN thank you page named “thankyou.php” ??
And if the user click on the confirmation link received by email, he is redirected to a “confirmation page” which displays the lists he subscribed to. Here too, I would like to redirect to my own confirmation page, named “final.php”. How can I do this ??
I did not found (yet) these informations in the doc nor in the forum.
You can change a lot of things in Config > Settings, I think the text and things, but I don’t think you can change that page. I guess this is something a more advanced user pay be able to answer. Wait around and somone will turn up I am sure
Thank you for your message… I would like to change the page displayed when the confirmation page ("?p=confirm&uid=…") is loaded (after having confirmed the inscription) and I did not found how to do this…
The best way would be via .htaccess modification.
Reroute the URI Match to your custom page.
Of course, your custom page would require a significant amount of PHP/MySql in order to perform correctly.
Yes indeed, @trucmuche2005 - you can edit the text of the welcome email, that might be the best thing to do, rather than all this complexity. Also, when the API is finished (soon) you could just bypass the formal sign up process, that would also be simpler.
Well. I finally wrote a custom subscription form using jquery, ajax post and ?p=asubscribe url. It was a bit tricky due to the crossDomain request but I managed to do this
Thanks !
Hi all! I’m trying to do this too… there SEEMS to be a really simple hack which I’ve been trying:
I just find the confirmation page section in lists/index.php - and in the section where it defines what gets output to the browser (around line 726 in function confirmPage()
So - that works, in that the page indeed redirects. But for some reason, it doesn’t send the confirmation email. And that I cannot figure out. I would have thought that work is already done by the time this function gets to this point. As in the line, earlier (line 707)
Your email address has been added to our system. You will receive a message with a request to confirm your membership. Please make sure to click the link in that message to confirm your subscription.