Support

Home Forums Event Espresso Premium EE4: Modify registration templates

EE4: Modify registration templates

Posted: February 14, 2017 at 3:43 am

Viewing 6 reply threads


speedpartner

February 14, 2017 at 3:43 am

Hi, I need to modify the registration templates so that it shows more than the standard user-information forms by default. I know that there is no easy way (e.g. editing a template file) to achieve this, but maybe you get nudge me in the right direction in which files the registration forms/process gets generated.
Also another question – as I need to make changes in non-template files, is there a way to override them which custom files at another location – same as with the template files?

thanks and cheers
Mario


Tony

  • Support Staff

February 14, 2017 at 11:29 am

Hi Mario,

We’ll need more specific details on what your wanting to add and where you want to add it to be able advise you on this, so can you provide more details please?

Also another question – as I need to make changes in non-template files, is there a way to override them which custom files at another location – same as with the template files?

Similar to the above.

Most templates can be overridden but not other files, however we have multiple hooks through Event Espresso that allow for customization but it depends on what your looking to do.


speedpartner

February 16, 2017 at 2:58 am

I would like some custom registration form groups show up by default. As I understand it, there is no way to achieve that without changeing the registration generation code directly.


Tony

  • Support Staff

February 16, 2017 at 3:42 am

Its actually not the registration page you would need to edit as the questions are tied into the events not just the registration.

Can you not just add the questions to the Personal Information question group?

You do that within Event Espresso -> Registration Form -> Questions.

Create the custom questions you want to ask.

Then go to Question Groups -> Personal Information.

Select the additional questions you want to request and save.

Now those additional questions will show up by default for any registrant you request the personal information question group.

If not the simpler solution is to create a custom question group containing all of the questions, then just enable that group on the events. So you would have a custom question group shown in this section – http://take.ms/1CBvc

Would that not work?


speedpartner

February 16, 2017 at 6:04 am

Sorry, not really, I want/need the groups in different containers (for intern organisation and layout reasons).
Enabling the groups manually is also impractical, as they will be used on every event.
As the question groups are tied to the events, I could just populate the events custom question group array (or whichever datastructure it is) with the ids (or the groups object) when ee loads the event in the frontend? Which file I would edit in this case?


speedpartner

February 20, 2017 at 11:23 am

so, can you give me a tip in which file I should fetch the other groups as well?


Tony

  • Support Staff

February 21, 2017 at 4:09 am

Currently its not possible to do this without modifying multiple sections within core which is not something we can provide support for.

As the question groups are tied to the events, I could just populate the events custom question group array (or whichever datastructure it is) with the ids (or the groups object) when ee loads the event in the frontend?

As mentioned above, its not the front end registration form you need to edit, you can’t just modify the front end output to include the additional question groups as the groups will then not be assigned to the event, anywhere that relies on the relationship to know which question groups to be pulled in will not work correctly.

I checked and currently we do not have a hook you can use to set the default question groups within core, I can create a feature request ticket for this but in the mean time you would need to manually select the question groups for the events.

Viewing 6 reply threads

The support post ‘EE4: Modify registration templates’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso