I have multiple membership levels in one install. The first level does not even access a protected area but rather is taken to a thank you page I specified in the "protected directory" area in setup. The second level gets access to a protected directory. I need to take each one to a form (unique to that level) after they pay rather than to the login area. How can this be done? We have tried making the following change to "thanks.html" {assign var="title" value=$smarty.const._TPL_THX_TITLE} <p>{foreach from=$products item=p} {if $p.product_id eq "1"} /student-member-enrollment-form.htm {elseif $p.product_id eq "4"} /student-member-enrollment-form.htm {else} /discovery-member-enrollment-form.htm {/if} {/foreach}</p> <p>{if $config.google_analytics} {include file="google_analytics.js" sale="1"} {/if} {include file="footer.html"}</p> That simply delivers them to a page with nothing more than /student-member-enrollment-form.htm, a solid line and the CGI copyright. Any thoughts? Many thanks, Sam
Hi, The site I run wanted to do the same thing, so this is what we came up with. Using the thanks.php script we inserted the following: it may help you. switch($p.product_id ) { case "1": $t->display("thanks_1.html"); break; case "2": $t->display("thanks_baa.html"); break; case "3": $t->display("thanks_2.html"); break; case "4": $t->display("thanks_3.html"); break; case "5": $t->display("thanks_4.html"); break; case "6": $t->display("thanks_5.html"); break; default: $t->display("thanks.html"); } Best reagrds Dereck