Download & Extend

Show a confirmation page after voting

Project:Decisions
Version:6.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

I have a page listed:

http://star.txstate.edu/smstars

I need to be able to have users click vote and not be re-directed to the actual node page.

HELP PLEASE!!!

Comments

#1

Title:Auto-return results without loading node page» Show a confirmation page after voting
Category:support request» feature request
Priority:critical» normal

I mistook this for a spam. :) I'm not sure how that could be done. Right now the form handler redirects to the node page, i think. Maybe it could instead just show a confirmation message? Would that be okay for you?

#2

So there's been another one asking for this (#605024: Redirect users after they vote) so it seems it's something that needs to be customizable. Except I don't know how far we're supposed to go with this... Would one URL configured in the preferences site-wide be enough? Or per decision?

#3

I would prefere to make it configurable per decision. Different decisions - different needs for getting data from the user after finishing the decision. For instance using a webform node to collect data.

#4

I also need this functionality. Per decision is the way to go. An extended feature I am looking for is... I need the ability to assign "Results" permissions. I want the ability to show the results to a particular role and disallow to others.

#5

Status:active» postponed (maintainer needs more info)

Hi folks!

There's now a patch waiting for review/resting in #660578: Allow users to override results with display of text... does it do what you want or you really want a redirection?

#6

For me patch #770578 is not enough. I would like to redirect users to a webform after voting, where they can leave contact details to enter a sweepstake.

In module WebForm it is possible to define a field 'Confirmation message or redirect URL' with the following description:

Message to be shown upon successful submission or a path to a redirect page. Preface message with message: for a simple message that does not require a page refresh. Redirect pages must start with http:// for external sites or internal: for an internal path. i.e. http://www.example.com or internal:node/10

Copying this code would work for me (but then my favorite saying is: everything is possible if you don't what you're talking about ;-)