Posted: January 24, 2015 at 4:55 pm
|
I am using this plugin for Vendors ro register for an event. Here is a link to what I have so far: http://cwplantfair.org/events/plant-fair-2015 We would like the orange colored “Goes on Sale” to say Start. I have tried to locate the php files that contain this information so I can just change the words but I have not been able to figure out what the files are named. Thanks for your help. |
|
One other thing: We have a hold harmless statement on this form: http://cwplantfair.org/plant-fair-vendor-sign-up (at the bottom) that we would like to have on the vendor registration form. When I added a text area to the form it does not allow me to enter the paragraph we need them to agree to. How can that get onto the registration form? |
Hi Carrie, we do not recommend editing the core plugin as your changes will be lost on a software update. At this time, I can’t get to registration checkout. Could you ask your web host to adjust the settings for mod security to allow use of base64. This is used by the ticket selector. There is an example here: https://eventespresso.com/topic/403-when-trying-to-register/#post-136070 Please update this support post once that has been done. — |
|
Hi, please see this tutorial here: https://gist.github.com/lorenzocaum/fcd9ce5ecf2e4375d430 It has examples for filters that can be used to adjust the messaging that is used for the ticket action status in the quantity column of the ticket selector. You’ll want to use the second example which is for adjusting the goes on sale messaging / verbiage. It can be added to your child theme’s functions.php file (do not include the opening php tag) or a site specific plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ We’ll need those security rules to be adjusted so we can share feedback on your other questions. — |
|
|
I removed a few unused plugins and a caching plugin. Maybe that will help remove the security block – although I have no problem seeing the pages. Here is a direct link to the registration form page: http://cwplantfair.org/registration-checkout?ee=_register |
Hi there, Try this sample coding for changing attendee to vendor: //* Replace abbreviations for quantity with the actual word function ee_change_attendee_information_registration_checkout_messaging( $translated, $original, $domain ) { $strings = array( '%s Attendee Information' => '%s Vendor Information', ); if ( isset( $strings[$original] ) ) { $translations = &get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'ee_change_attendee_information_registration_checkout_messaging', 10, 3 ); Try this sample coding for adjusting the other messaging relating to the tickets for attendees: //* Change the messaging for the additional tickets/attendees on the registration checkout page add_action( 'FHEE__registration_page_attendee_information__auto_copy_attendee_pg', 'ee_custom_messaging_above_information_additional_tickets_attendees' ); function ee_custom_messaging_above_information_additional_tickets_attendees() { return 'Replace me with new messaging or delete this entire statement to remove the messaging.'; } Both code snippets can be added to your child theme’s functions.php file (do not add or include the opening php tag) or a site specific plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ — |
|
|
Thanks – we are getting very close. The final page (payment area) still says Ticket Name and Description, One the first page where the registration starts under Show Details it also still says Ticket Price Breakdown and This ticket allows access to the following event dates and times. |
Alright, it looks like you are interested in changing the word “ticket” to something else. See this sample coding: https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4 It can be applied in the same manner as the earlier code snippet that I shared (i.e. child themes functions.php file or a site specific plugin). — |
|
|
I am already using that code. It changed most of the Ticket areas but not the ones listed above. |
Alright, this will update those as well: https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4#file-new_gist_file2-php — |
|
|
Can you provide code that changes the Payment screen? See screenshot. |
Hi, Additional entries were added to the first code snippet on this page: https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4 — |
|
|
Hi Lorenzo |
Hi, the following line handles that: http://cl.ly/image/3s210a1g2443 Although it seems like I’m linking to the same page repeatedly, there have been changes to the examples. Can you confirm that you have removed the existing code snippets and replaced them with the newest code snippets? I’ve tested them and they are working: http://cl.ly/image/2C1f2a0e2Q2X — |
|
|
I thought I had them all. I will go back and make sure that is added correctly. There is also a pop up error message that shows the word Ticket. It shows if the registration button is clicked without choosing the one you want to register for on the first screen. |
Thanks, additional entries were made here: https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4#file-new_gist_file-php They are being changed via a gettext filter or a specific filter for that phrase: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function — |
|
|
Hi Lorenzo And there is one more instance of Ticket found (see screenshot)http://cwplantfair.org/wp-content/uploads/Ticket2.png |
Hi there, You can inspect any element on a page using a free tool like Chrome Developer Tools (available with Google Chrome) or Firebug (available as a web browser extension). This will show you the CSS that is handling the styling including the file and line number. Then you can add new styling to your child theme’s stylesheet or through a plugin like Reaktiv CSS builder or My Custom CSS. Try this CSS: .spco-attendee-lgnd {display:none; } Then force refresh to see the changes: http://en.support.wordpress.com/browser-issues/#force-refresh There is a new entry at the end of this example for the other messaging: https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4#file-new_gist_file2-php If you need help with anything else, please open a new support post here: https://eventespresso.com/support/forums/ — |
|
|
Thank you for your help Lorenzo. |
The support post ‘Customization help’ 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.