Posted: March 15, 2021 at 12:58 pm
Hi (Tony?), |
|
Hi Rob, When you say a submit button, what is that submitting? I’m assuming a form but that would need to be managed outside of Event Espresso as EE can’t add additional questions on the thank you page. So yes, it is possible, but I’m just checking you are aware that this submit/form would be outside of EE itself? |
|
Hi Tony, Thank you [NAME] for registering for [WEBINAR NAME] on [WEBINAR DATE]. For any any webinar related questions, please contact Patrice Knap (yrcourses@yellowresearch.nl) 1. Required invoice information: Name: Contact details for in case we have a question about the invoice details (please provide information of financial administration of colleague at research support 2. Additional invoice information: The above information and any other information that is relevant for sending the invoice should be sent to admin@yellowresearch.nl We expect to receive all required information within 14 calendar days from the date of your subscription to our training. Thank you for your corporation. We appreciate your confidence in our company. With kind regards, Patrice Knap If possible text within [ ] would be taken from the registry form and underneath the page a button sending the form back to yellowresearch, who will, outside EE, process the information |
|
Hi Tony, |
|
Hi Rob, My Apologies for the delayed reply. So, yes, this is possible but will likely need some PHP to do it. How comfortable with PHP are you? Just to confirm, is it the text within the yellow bow on the thank you page you want to change? We have a bunch of hooks on the thank you page which can allow for this depending on where you want to display the form. One option here is to use something like Ninja Forms to create a custom form within that, then call that form on the page to display, that takes most of the work out of this for you it just leaves pulling the details from the transaction/registration into that form. |
|
Hi Tony, |
|
Without PHP or using translations, you can’t. With PHP it looks something like this: https://gist.github.com/lorenzocaum/b0fef298c2ecb2965353 or https://gist.github.com/joshfeck/9e50f1757bf0533c95917a69e758af4b The site is in English so I assume your not using any translations, right? |
|
which php file is the thank you file? |
|
If you are asking me to point you in the direction of modifying core files, it’s not something we support so I’m not going to help with doing that. The hook above can do exactly the same thing as modifying the file itself, without needed to hack up core to do it. You create a custom functions plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ Pleace the code on lines 4-7 from this function into that plugin and then change the string that is returned to be whatever you want it to be. Hacking up core to do this when the filter is available is just going to lead to more problems for you in the long run. |
|
Hi Tony, I will look into the reply this evening (I don’t know what you mean with ‘.. the hook above..’, but for now I have a more pressing issue. A language one ….. I will open it in a new support question. It is quite urgent. |
|
Regarding ‘the hook above’, WordPress uses ‘hooks’, which is basically a way for you to ‘hook in’ and change something without having the modify the file itself. So referring to using the functions I included above rather than editing the files directly. |
|
The support post ‘Change 'Thank you for registering'’ 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.