Form help  | | |
May 4th, 2004, 05:29 PM
|
#1 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
|
Hey guys, I need some help with this form: HTML Code: <form method="post" action="<$MTCGIPath$>mt-add-notify.cgi"> <div align="center"> <input type="hidden" name="blog_id" value="<$MTBlogID$>" /> <input type="hidden" name="_redirect" value="<$MTBlogURL$>" /> <br /> <input name="email" size="20" /> <br /> <input type="submit" value="Add Me" /> </div> </form> As you can see from this form, once the person hits the 'Add Me' button it will redirect the person to the page. How can I tell it to redirect in '_self'? |
| |
May 4th, 2004, 06:04 PM
|
#2 (permalink)
| | Senior Member
Join Date: Apr 2003 Location: Albany, NY
Posts: 623
|
This should do the trick: HTML Code: <form method="post" action="<$MTCGIPath$>mt-add-notify.cgi" target="_Self"> |
| |
May 5th, 2004, 09:24 AM
|
#3 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
|
Thankyou, ill give it a try. |
| |
May 5th, 2004, 02:21 PM
|
#4 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
|
didn't work, a new page is loaded once the 'add me' button is clicked. |
| |
May 5th, 2004, 02:28 PM
|
#5 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
|
Ah, I figured it out, the target="_self" needs to go here:
<input type="hidden" name="_redirect" value="<$MTBlogURL$>" />
it now works. |
| |
May 6th, 2004, 12:38 AM
|
#6 (permalink)
| | ph34r t3h g04t
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 19,568
|
Welcome to the joys of MovableType, CM.  |
| |
May 6th, 2004, 06:12 AM
|
#7 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
| |
| |
May 6th, 2004, 06:29 AM
|
#8 (permalink)
| | ph34r t3h g04t
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 19,568
|
Ya. I've set up five or six different MT blogs and completely redesigned them from the ground up. I've even embedded on inside another page. Feel free to post or PM me any questions about it. |
| |
May 6th, 2004, 07:00 AM
|
#9 (permalink)
| | Registered User
Join Date: Oct 2001
Posts: 4,097
|
Thanks very much for the help so far!
Actually, I do have another question, I would like to incorporate a voting box into MT.
Do you know of any good 'voting-software' (html, cgi or javascript perhaps?) that can be incorporated into MT? (I am not using any PHP or MySQL features currently as my DB's are over loaded). |
| |
May 6th, 2004, 07:19 AM
|
#10 (permalink)
| | ph34r t3h g04t
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 19,568
|
I don't know of any voting software at all, let alone anything good. But if you find some, I can probably help you get it into the blog.  |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |