Adding text on submit event and changing the submitted text!

Home Forums Calendar Products Community Events Adding text on submit event and changing the submitted text!

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1089605
    Leia
    Participant

    I have added text and an image on the add events page:
    http://alltomyoga.se/events/community/lagg-till

    But I don’t wan’t it displayed when I have sent it. How can I do that?

    Do you know if there is a code that I can use as else if … to ask if it is the submission page or submittet event?

    Like tribe_.addevent ? .. something

    Big thanks!

    • This topic was modified 10 years, 1 month ago by Leia.
    • This topic was modified 10 years, 1 month ago by Leia.
    #1089985
    Nico
    Member

    Hey Leia,

    Thanks for reaching out to us! Interesting question here, I’ll help you with it.

    Inspecting the site html I’m not sure if you are adding this to the default events template or to a page template. Can you please indicate how you are adding the image and the text?

    Please let me know about it, the solution might be different for some cases,
    Best,
    Nico

    #1090808
    Leia
    Participant

    This reply is private.

    • This reply was modified 10 years, 1 month ago by Leia.
    #1091920
    Nico
    Member

    Hi Leia,

    Thanks for following up! I’m not quite sure if you could sort this out or if it’s still an issue. Can you please let me know about it?

    Best,
    Nico

    #1094554
    Leia
    Participant

    Hi again,

    I have added some text on the template as I pasted above, but I don’t want it to show when someone have submitted an event. How can I do that?

    Do you know if there is a code that I can use as else if … to ask if it is the submission page or submitted event?

    Like tribe_.addevent ? .. something

    #1096078
    Nico
    Member

    Leia,

    Thanks for the patience here, I was out sick yesterday and I’m just catching up with my threads!

    You can use this conditional:


    <?php if ( !isset( $_POST['community-event'] ) ) : ?>

    <!-- the community form has not being submited -->

    <?php endif; ?>

    It will check if the community event form has been submited or not.

    Please let me know if this works for you,
    Best,
    Nico

    #1102533
    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 ‘Adding text on submit event and changing the submitted text!’ is closed to new replies.