Changing text on entry form and confirmation

Home Forums Calendar Products Community Events Changing text on entry form and confirmation

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #41049
    Julia
    Participant

    I 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!!

    #41147
    Casey
    Participant

    Julia,
    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!

    #41155
    Julia
    Participant

    I can edit the plugin thats fine, which file contains the defined values for the text?

    Thanks

    #41156
    Casey
    Participant

    Julia,
    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!

    #41164
    Julia
    Participant

    Sweet 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!

    #41190
    Casey
    Participant

    Great! 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.

    #978714
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Changing text on entry form and confirmation’ is closed to new replies.