Support

Home Forums Event Espresso Premium Registration Confirmation Message / Questions Order

Registration Confirmation Message / Questions Order

Posted: June 17, 2014 at 5:06 am

Viewing 7 reply threads


Robert Endersby

June 17, 2014 at 5:06 am

Hello,
I have almost completed modifying EE for my client (http://actuary.eu/events/a-sample-event/) but am currently stuck. Please can I suggest that you make the modal messages easier to edit as I cannot find them anywhere in the plugin folder. The phrase (cherish it) is a too casual for a corporate site.

“Full description of your purchases and registration information. Print it, download it, cherish it”

This needs to be changed from “Print it, download it, cherish it” to “print/download” I read I can add a string to a .php file but I am not a coder, if you can tell me wht the whole file should look like I can make a translation file maybe?

Also I saw somenone else asking about the order of questions on the order confirmation screen. I can edit the question groups order query with DESC/ASC – is there any way the code can be altered for the actual questions? ie a bit of php added to the template to set the order. It is important in my case as the questions are in chronological order but on the confirmation they are seemingly randomised. The order is kept in the emails so why not on this screen please?

Thanks for your assistance,
Rob


Lorenzo Orlando Caum

  • Support Staff

June 17, 2014 at 5:35 am

Hi Robert,

What version of Event Espresso 4 are you running and what would you like to change the messaging to?

We are aware of a sorting issue with the questions. It shows them in reverse order and sometimes does not cluster them by question groups. A fix will be available in an upcoming version of Event Espresso 4.


Lorenzo


Dean

June 17, 2014 at 5:41 am

Hi,

Just to add to Lorenzo’s answer, there’s a filter to change the wording. Add the following function to your themes functions.php or appropriate custom functions plugin and you can change the wording.

function removecherish() {
return “Print/Download”;
}
add_filter(‘FHEE__payment_overview_template__order_conf_desc’, ‘removecherish’);

You should also be able to translate that using the language files – https://eventespresso.com/wiki/how-to-change-wording-with-poedit/


Robert Endersby

June 17, 2014 at 5:42 am

Hi Lorenzo,

This is what I require please:
CHANGE FROM
“Full description of your purchases and registration information. Print it, download it, cherish it”

TO
“Full description of your purchases and registration information. print/download”

thanks again,
Rob


Lorenzo Orlando Caum

  • Support Staff

June 17, 2014 at 5:59 am

Add the following code to your child theme’s functions.php or in a site specific plugin:

add_filter ('FHEE__payment_overview_template__order_conf_desc', 'ee_override_confirmation_text');

function ee_override_confirmation_text() {
    return 'Full description of your purchases and registration information.';
}

function ee_override_confirmation_text_link( $translated, $original, $domain ) {
 
    $strings = array(
        'View Full Order Confirmation' => 'Print/Download',
    );
 
    if ( isset( $strings[$original] ) ) {
        $translations = &get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    }
 
    return $translated;
}
 
add_filter( 'gettext', 'ee_override_confirmation_text_link', 10, 3 );

It should then look like this: http://cl.ly/image/2U3I420T0X0f


Lorenzo


Robert Endersby

June 18, 2014 at 4:06 am

Thanks! I found a site specific plugin the easiest option and it works fine.
Rob


Dean

June 18, 2014 at 5:12 am

Hi Rob,

Is this thread resolved now?


Robert Endersby

June 18, 2014 at 5:14 am

Yes indeed.

Viewing 7 reply threads

The support post ‘Registration Confirmation Message / Questions Order’ 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