I'm so close, just missing something here... What I'm trying to do is have both free and pay accounts and automate everything. I have most everything working right so that if a person signs up for a premium account, it works up until it prints a new template I created called join_pay.htm Where I think I'm getting stuck is in user/join.cgi..
I've replaced this line at the very end of user/join.cgi
GMail::NoAuth->print_page($CFG->{templates}->{join_success});
with the following
if ( $IN->param(users_account_type => 'Premium') ) {
GMail::NoAuth->print_page($CFG->{templates}->{join_pay});
} else {
GMail::NoAuth->print_page($CFG->{templates}->{join_success});
}
I think what's wrong is this line
if ( $IN->param(users_account_type => 'Premium') ) {
and that it's not matching the field in my signup page called users_account_type...
Anyone have any ideas what I need to do to match that parameter so it will print the right template for me...
Thx...
I've replaced this line at the very end of user/join.cgi
GMail::NoAuth->print_page($CFG->{templates}->{join_success});
with the following
if ( $IN->param(users_account_type => 'Premium') ) {
GMail::NoAuth->print_page($CFG->{templates}->{join_pay});
} else {
GMail::NoAuth->print_page($CFG->{templates}->{join_success});
}
I think what's wrong is this line
if ( $IN->param(users_account_type => 'Premium') ) {
and that it's not matching the field in my signup page called users_account_type...
Anyone have any ideas what I need to do to match that parameter so it will print the right template for me...
Thx...