1

I'm using the Poll module in Drupal core (also using Poll blocks and Ajax poll).

As designed, when I vote I'm taken to the results page, but I'm wondering if it's possible to display the results as a popup on the front page, where the poll block is.

I searched a bit and I know something similar can be done with lightbox2, colorbox, colorbox node, etc., but these solutions require that I assign a class or rel attribute to an anchor tag, and then open whatever URL I enter as a popup. However, the poll calls the results page on clicking the submit button. Is there a way I can change this to accomplish what I need?

1

Please check answer. I think this may help you toy solve your problem.

ANSWER LINK

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.