Home › Forums › Calendar Products › Community Events › Changing text on entry form and confirmation
- This topic has 6 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
February 26, 2013 at 11:38 am #41049
Julia
ParticipantI want to add additional text after an event is submitted user side and I followed the template override directions but I cannot see where to edit the “Event submitted. | Submit another event” text in the event-form.php file. I see a php call for but I do not see where its defined. Any help is appreciated!
Thank you!!
February 27, 2013 at 9:06 am #41147Casey
ParticipantJulia,
Unfortunately there’s no easy way to update this text without either creating a new translation file, or actually editing the plugin.I hope that helps to answer your question, but let me know if you have further questions. Thanks!
February 27, 2013 at 9:34 am #41155Julia
ParticipantI can edit the plugin thats fine, which file contains the defined values for the text?
Thanks
February 27, 2013 at 9:37 am #41156Casey
ParticipantJulia,
If you look on line 1545 of tribe-community-events.class.php, you’ll find this code:
$this->message = __( 'Event submitted.', 'tribe-events-community' );
Just replace ‘Event submitted.’ with your own text.
Keep in mind that we don’t recommend editing plugin files directly, as any of your changes will be overwritten next time you update the plugin.
Let me know if that does the trick. Thanks!
February 27, 2013 at 11:39 am #41164Julia
ParticipantSweet thanks for the information, yea im working on what best way to make a child of the file so it doesn’t overwrite or when time comes do it carefully. But thank you very much for the info, much appreciated!
February 27, 2013 at 6:49 pm #41190Casey
ParticipantGreat! Thanks for confirming that this got you sorted. Unless you disagree, I’m going to mark this thread “Answered” and close it out.
We really appreciate your support and please let us know if you need anything else in the future. If you find yourself with a few minutes and would be so kind as to give us a “Works” rating or a positive star voting on the WordPress.org repo (http://wordpress.org/extend/plugins/the-events-calendar/), or even a shoutout to your followers on Facebook or Twitter, it would mean a lot to us. Thanks again for using the plugin.
July 7, 2015 at 6:26 am #978714Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Changing text on entry form and confirmation’ is closed to new replies.
