Hi Idan
You need an implementation of hook_form_alter for the poll form's
form_id that adds a #redirect property.
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#redirect
 
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
Lee
-------- Forwarded Message --------

> From: Idan Arbel <[email protected]>
> Reply-to: [email protected]
> To: [email protected]
> Subject: [development] Polls redirecting to view page instead of node
> page
> Date: Tue, 3 Aug 2010 01:53:58 +0300
> 
> 
> Hello,
> 
>  
> 
> I have a view with a bunch of poles being displayed (using the poll
> module).
> 
> The problem is that after submiting a  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?
> 
>  
> 
> Thanks
> 
>  
> 
> Idan
> 
> 

Reply via email to