First of all, this module is great, it does exactly what you said it does, and it really leverages all the tools in Drupal which are already there. I have a question though.

I would like to change the location of the destination when a user submits a sign up. Right now it is set to the node that you click the sign. I would just like to hack this make it go to a different place. My Drupal coding skills are amazing, but I can bang my way through most problems. So I am wondering,

  • What is the best way to do this?
  • Can I use hook_form_alter? What is the name of the form?
  • Should I just hack the module? Where is this set?
  • Any other suggestions.

I don't want to take up too much of your time, if you could just point me in the right direction, that would be great.

Thanks

Comments

gregbeat’s picture

I have a similar need with the D7 version. I wanted to have the signup submission go to the signup node view page as opposed to the event the signup references. (I want to create a "confirmation" screen the attendee can print out. I figure I can just modify the node-signup.tpl.php to create a confirmation screen.)

I was messing around with hook_form_alter (the form id = signup_node_form), thinking I could just change the form action to remove the "?destination" param to prevent going back to the event, but for the time being I'm just using the rules module (http://drupal.org/project/rules) to redirect to the signup node itself upon new content creation.

Not sure if my "solution" is the best, and it's for D7 (maybe workflow-ng for D6?), but maybe this will help someone.