[development] [Fwd: Polls redirecting to view page instead of node page]
contact at rowlandsgroup.com
Mon Aug 2 23:31:51 UTC 2010
You need an implementation of hook_form_alter for the poll form's
form_id that adds a #redirect property.
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
-------- Forwarded Message --------
> From: Idan Arbel <idan at arbel-designs.com>
> Reply-to: development at drupal.org
> To: development at drupal.org
> Subject: [development] Polls redirecting to view page instead of node
> Date: Tue, 3 Aug 2010 01:53:58 +0300
> I have a view with a bunch of poles being displayed (using the poll
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development