I would like to have an option for user to return to the original Event (registration) node after its payment is made, so that the user can check his or her Regionstion state after he or her pays money for it. The 7.x-10 Beta1 version can provide only two destination after doing so: user Order tab in User Account; and Front Page.

CommentFileSizeAuthor
#2 2350557-link-to-event.patch871 bytesJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

atpaust’s picture

I would like to have a Block that shows all events that a user has registered, but I can find no fields that are relevant to this issue in Views. Given that a user may register to an event on a Registration enabled node that created by another user, if a paid Registration state is readable in View as an option for Contextual Filter, then it should make sense.

Jon Pugh’s picture

Status: Active » Needs review
FileSize
871 bytes

Patch attached, very simply changed registration_commerce_line_item_title() to return a link.

Uses the same URL creation technique from registration_menu(), so we should be ok for all possible URLs: "{$registration->entity_type}/{$registration->entity_id}"

roball’s picture

A solution for the user being able to view all her registrations is adding a view - see #1462796: Allow user to manage his own registrations.