Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2350557-link-to-event.patch | 871 bytes | Jon Pugh |
Comments
Comment #1
atpaust CreditAttribution: atpaust commentedI 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.
Comment #2
Jon PughPatch 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}"
Comment #3
roball CreditAttribution: roball commentedA solution for the user being able to view all her registrations is adding a view - see #1462796: Allow user to manage his own registrations.