Support

Home Forums Event Espresso Premium Change 'Register Now' texts

Change 'Register Now' texts

Posted: February 15, 2017 at 10:53 am

Viewing 6 reply threads


Annie Ngo

February 15, 2017 at 10:53 am

Hi,

Since the EE4 registration is now on two pages instead of 1 like EE3, I’d like to change the “Register Now” button on the calendar tooltip to be “Begin Registration” and the “Register Now” button on the single event page to be “Continue Registration”.

Help?


Tony

  • Support Staff

February 15, 2017 at 11:32 am

Hi Annie,

You can’t change the ‘Register now’ only for the tool tip currently, however you can translate all instances of ‘Register Now’ to ‘Being Registration’ and then change the text on the ticket selector to show ‘Continue Registration’.

Its basically the same results for the above however its important to note that to change the tool tip, any output from EE that shows ‘Register Now’ would be changed to ‘Begin’ registration.

To do that you can use the translation function shown here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

You want to translate ‘Register Now’ to ‘Being Registration’, so within the list of strings add:

'Register Now' => 'Begin Registration',

Then add that function to a Custom Functions Plugin.

After that you can use another function like the top file shown here:

https://gist.github.com/Pebblo/6ca533539b2ed37ed88801825fdd2f2f#file-functions-php

Change ‘Purchase Tickets’ to ‘Continue Registration’.

Does that help?


Annie Ngo

February 15, 2017 at 12:16 pm

Yay! I had tried poedit before and it wouldn’t run on my computer, so I had found a snippet that changed “Register Now” to something, but it changed both buttons to the new text. So your filter did exactly what I was looking for – thanks!

Now… can you please point me to the code that displays all the ticket selections? Most of my events only have one “choice”, so I’d like to remove the radio button in those cases. I’ve gotten to content-espresso_events-tickets.php, but can’t find where “espresso_ticket_selector()” would be modified. Or do I open a new ticket?


Tony

  • Support Staff

February 15, 2017 at 2:05 pm

Please don’t modify the code directly, you’ll lose any modifications on each updaet and we can not provide support if you change the code, generally we have hooks within EE that allow you to make changes, or its possible you can override the template in use for most output.

However you don’t need to modify the ticket selector code for it to display a radio button and a single ticket, edit your event and in the side bar you’ll see the ‘Event Registration Options’, within that you can set the ‘Maximum number of tickets allowed per order for this event:’ to 1 and EE will automatically dipslay a radio button for your ticket.


Annie Ngo

February 16, 2017 at 5:48 am

Hi Tony,

I’m trying to remove the radio button when there’s only one choice.

The Maximum number of tickets was set to 1, and Display Ticket Selector was Yes. When I changed Ticket Selector to No, the radio button went away, but that also removed the Register button so the user can’t continue. Do you know how to remove the radio button only when there’s just one choice?


Tony

  • Support Staff

February 16, 2017 at 7:10 am

When I changed Ticket Selector to No, the radio button went away, but that also removed the Register button so the user can’t continue.

The ticket selector is the whole section your referring to, if you set the option not to display it you remove it from the page 🙂

Do you know how to remove the radio button only when there’s just one choice?

Currently you can’t.

You can remove the fields using CSS but the change applies to all events as you can not conditionally remove the fields based on the amount of tickets in an event using CSS.


Annie Ngo

February 16, 2017 at 1:14 pm

Thats a bummer. Can’t imagine anyone wanting a single radio button floating to the right of the price when there’s only one option.

Thanks again for your time!

Viewing 6 reply threads

The support post ‘Change 'Register Now' texts’ 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