dpi / rng_quick

Provides a faster method to register for events.
https://www.drupal.org/project/rng_quick
GNU General Public License v2.0
0 stars 2 forks source link

Redirect to event instead of registration detail page #5

Open JPustkuchen opened 6 years ago

JPustkuchen commented 6 years ago

After successfully submitting the registration form the user is being redirected to the detail form of the registration without a link back to the source event.

This doesn't seem the best option for most cases. I'd suggest to add a setting to select whether the user:

  1. Is redirected back to the event
  2. Is redirected to the registration detail page + add a link to the parent event entity (3. Is redirected to a custom (token) path)

What do you think?

JPustkuchen commented 6 years ago

Sorry I think the rng core module is the better place for this issue, so I created an issue there. See https://github.com/dpi/rng/issues/160

But we should keep in mind that the implementation in Drupal\rng_quick\Form\RegisterBlockForm may also be affected with its redirects.