Custom Thank You Page for PHPList

Solutions for other advanced phplisters

Custom Thank You Page for PHPList

Postby jontron » 11:02am, Thu 19 Feb, 2009

Hi, I am trying to show a custom thank you page after the user enters their email address and adds it to my list. I have found some threads on this forum but none of the tips seem to work! I have tried editing the subscribelib2.php file with no luck. I think maybe I am just typing in the code wrong, so I was hoping someone can tell me exactly what needs to be done (with examples please!)

Thanks :?
jontron
phpList newbie
 
Posts: 1
Joined: 10:55am, Thu 19 Feb, 2009

Postby dimasko » 9:27am, Tue 17 Mar, 2009

subscribelib2.php file line 297

something like:
# personalise the thank you page
if ($subscribepagedata["thankyoupage"]) {
//$thankyoupage = $subscribepagedata["thankyoupage"];
header("location: link");
} else {
//$thankyoupage = '<h3>'.$strThanks.'</h3>'. $strEmailConfirmation;
header("location: link");
}

works for me :D
dimasko
phpList newbie
 
Posts: 1
Joined: 9:20am, Tue 17 Mar, 2009

Postby TraderDan » 5:09pm, Wed 25 Mar, 2009

Worked perfectly... thank you!
TraderDan
phpList newbie
 
Posts: 3
Joined: 3:26pm, Wed 25 Mar, 2009

Re: Custom Thank You Page for PHPList

Postby zotek » 11:58am, Mon 11 Mar, 2013

so do i have to comment out this?

Code: Select all
//$thankyoupage = $subscribepagedata["thankyoupage"];


//$thankyoupage = '<h3>'.$strThanks.'</h3>'. $strEmailConfirmation;



what this code do?
"$thankyoupage = '<h3>'.$strThanks.'</h3>'. $strEmailConfirmation;"

thanks
zotek
PL Nut
 
Posts: 17
Joined: 7:30am, Mon 11 Mar, 2013


Return to Advanced Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest