Help - Search - Members - Calendar
Full Version: Notification email: Redirecting variable
Movable Type Community Forum > Additional Resources > Tips and Tricks
hnrk
Hi there. I am trying to change the value of the _REDIRECT code underneath that is sent out in the confirmation email for subscribers. It's not very satisfying that they get sent directly to the main webpage.

CODE
<<TMPL_VAR NAME="SCRIPT_PATH">?__mode=confirm;email=<TMPL_VAR NAME="EMAIL">;magic=<TMPL_VAR NAME="MAGIC">;blog_id=<TMPL_VAR NAME="BLOG_ID">;_redirect=<TMPL_VAR NAME="_REDIRECT">>


Can anyone help me with this, please?

Thanks.
The Ancient One
This is what I use on my index.html page for subscribing to the notification list.
CODE
<form method="post" action="<$MTCGIPath$>mt-add-notify.cgi">
<input type="hidden" name="blog_id" value="<$MTBlogID$>" />
<input type="hidden" name="_redirect" value="http://www.whateverurl.com" />
<input name="email" size="20" />
<input type="submit" value="add" />
</form>


My URL for the redirect value is to a success.html page which congratulates them on subscribing. The URL in this value is what's going to be in the confirmation E-mail.
hnrk
Oh, I see....

Thanks a lot!

(stupid me...)
The Ancient One
Worry not. It took me about 6 hours (over the course of two days) to get my subscription stuff to work. And even now, my unsubscribe stuff I've found doesn't work with the Berekely Database installation of MT.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.