<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m not really sure how to do this, I've looked into the poll.module and the redirect there is set to FLASE, also It looks like there is some sort of logic after the form is submited, and I don't really know how to get the NID so I can redirect to the page.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Idan<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></a></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> development-bounces@drupal.org [mailto:development-bounces@drupal.org] <b>On Behalf Of </b>Lee Rowlands<br><b>Sent:</b> Tuesday, August 03, 2010 2:32 AM<br><b>To:</b> development@drupal.org<br><b>Subject:</b> [development] [Fwd: Polls redirecting to view page instead of node page]<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi Idan<br>You need an implementation of hook_form_alter for the poll form's form_id that adds a #redirect property.<br><a href="http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#redirect">http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#redirect</a> <br>You may need to compete with views on this property (especially if the view has an exposed form) so your module might need a lower system weight than views<br>Lee<br>-------- Forwarded Message --------<br><br><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><b>From</b>: Idan Arbel &lt;<a href="mailto:Idan%20Arbel%20%3cidan@arbel-designs.com%3e">idan@arbel-designs.com</a>&gt;<br><b>Reply-to</b>: development@drupal.org<br><b>To</b>: <a href="mailto:development@drupal.org">development@drupal.org</a><br><b>Subject</b>: [development] Polls redirecting to view page instead of node page<br><b>Date</b>: Tue, 3 Aug 2010 01:53:58 +0300<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br>&nbsp;<br><br>I have a view with a bunch of poles being displayed (using the poll module).<br><br>The problem is that after submiting a&nbsp; poll (via the views page) the page refreshes and stays on the view page. Any way to get the poll to redirect to the poll node page once the user votes on a poll?<br><br>&nbsp;<br><br>Thanks<br><br>&nbsp;<br><br>Idan<br><br><o:p></o:p></p></blockquote><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>