Posted: October 23, 2012 at 7:39 am
|
Hi, I would like to customize the text on the three ‘pages’/stages of the registration process, i.e. the Cart page (Multi Event Registration), the Attendee Details page and the Payment page. It would seem that all three pages are built on the Registration page, with the shortcode [ESPRESSO_EVENTS], and so whatever text I add here shows up on all three ‘pages’. I’d he happy to set up 3 divs which I could hide on pages that I didn’t want it to show on, but I can’t find any distinct css class to apply this to. Is there a way of doing this? Thanks, Nick
|
Hello Nick, What text are you wanting to modify? The 3 files you will need to edit are: |
|
|
Hi Jonathan, I am just wanting to have different text above the cart, above the registration form where attendees enter their personal details, and above the payment overview, instructions as to what the stage/page is about. I was hoping that I could just add three DIVs to my Event Registration page, each with their own unique ID, and then hide the DIVs I don’t need on the different stages of the registration process. To do this of course I would need to have a unique parent class or id generated by the three templates, but I couldn’t see any unique divs. If the only way to do this is adjust the templates themselves I will do this. Nick |
Hello Nick, Yes, modifying the templates will be the best way to go about it. Just be sure to move those template files into the /wp-content/uploads/espresso/templates/ directory to prevent your changes from being overwritten during an update of Event Espresso. |
|
The ESPRESSO_EVENTS page is a “page” as much as a WordPress theme’s template file is a “page” (e.g. page.php). The shortcode basically triggers the entire process, from event list through payment, and calls different template files along the way based on where you are in the process. So, to make an analogy to WordPress, this would be like trying to add specific content that displays on various pages by editing a single page’s content OR trying to do the same with php by editing the page.php and doing a lot of On the other hand, this is why the template files in Event Espresso are template files, and why they are customizable — so these exact sorts of changes and modifications can be made. We fully realize that the checkout process may not be what everyone wants, and so have built a system that allows people to customize their user experience based on the overall design/experience of the site. |
|
|
Thanks Jonathan. I will do just that. Nick |
|
And thanks for the info Chris. I am comfortable editing PHP files, so no problem, but it may be that offering an admin setting for additional text for these stages of the registration process would be a welcome added feature. Nick |
You’re welcome, Nick. 🙂 I will also add your suggestion to our feature request so our developers will be aware of it. |
|
|
It turned out that I needed to edit different files than those you suggested Jonathan, at least as far as I could tell from some experimentation. shopping_cart.php was correct for the cart page. but i needed to edit: includes/process-registration/add_attendees_to_db.php and functions/cart.php for the final payment page Am I right in thinking that these files can’t be moved to the uploads folder to preserve them during updates? Nick |
|
Hi Nick, Generally it is just the templates and gateway files that can be copied (not moved) to the uploads folder. |
The support post ‘Customising text on 3 stages of registration process’ 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.