Manage registrations view customization

Created on 3 February 2025, 3 months ago

Problem/Motivation

I have configured 2 separate registration types. With many distinct fields. I would like to have those fields in the "Manage registrations" view and use them as exposed filters (and also for a data export display).
Since they are not the same I thought I could clone the main block and change the registration type in the filter. But the new block is not being taken into account and the original one shows up for the other registration type, with the wrong fields.

Is there some documentation on how to customize this?

πŸ’¬ Support request
Status

Active

Version

3.3

Component

Documentation

Created by

πŸ‡«πŸ‡·France lizuka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lizuka
  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Hi @lizuka, can you clarify what you mean by "clone the main block". You should be able to change the view, and not have to do anything else, and the updates should carry over to the Manage Registrations page.

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Regarding distinct fields - Views allows you to hide columns when they are empty for all rows in the dataset. So if you force a registration type to be selected, you could essentially have "two listings in one" by hiding fields that are empty. Presumably they will be empty for every row, either one set of fields or the other, depending on registration type.

  • πŸ‡«πŸ‡·France lizuka

    Thanks for your reply.

    I was referring to cloning the default block display provided by the module. And have one per registration type with different fields configured. I usually don't overload the same display with different data.

    It could be enough as is but I'm adding exposed filters based on the different fields and based on the workflow states of one of the registration types (I coded a custom views filter to fetch those) .
    And I'm also adding a data export display.

    I'll look into programmatically altering the view to suit the needs of the project.

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Sounds good. Would like to know how it works out.

Production build 0.71.5 2024