Forums

Events Manager
[resolved] Add field to event submission form (43 posts)

  1. lindsay
    Member
    Posted 1 year ago #

    Hi

    How do you add a field to the Event Submission Form? And how do you make this show in the event's post?

    Thanks,
    Lindsay

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    you can use events attributes at Settings > General > General Options > Enable event attributes?Yes then put the attributes at Settings > General > General Options > Event Attributes

    It should appear automatically in event submission form then you can use it in Settings > Formats/Layouts > Events Format (e.g. #_ATT{product_url}) to appear in your events page

  3. lindsay
    Member
    Posted 1 year ago #

    It is still not showing up in the events form...?

  4. agelonwl
    Member
    Posted 1 year ago #

    can you provide a sample link?

  5. lindsay
    Member
    Posted 1 year ago #

    The site is on Maintenance mode right now - thanks though!

  6. lindsay
    Member
    Posted 1 year ago #

    #_{#_CONTACTNAME}
    #_{#_CONTACTEMAIL}
    #_{#_LOCATIONNAME}
    #_{#_LOCATIONADDRESS}
    #_{#_LOCATIONTOWN}
    #_{#_LOCATIONSTATE}
    #_{#_LOCATIONCOUNTRY}

    These are the field i need...did i do it right?

  7. agelonwl
    Member
    Posted 1 year ago #

    first, it should be #_ATT{CONTACTEMAIL} but em already has the location fields?

  8. lindsay
    Member
    Posted 1 year ago #

    Yes i just noticed that for adding the ATT. is there a way to take the address box away?

    Thanks

  9. agelonwl
    Member
    Posted 1 year ago #

    yes, you can modify the template file at templates/forms/events-editor.php at around line 106 to 109

    to use the templates - http://wp-events-plugin.com/documentation/using-template-files/

  10. lindsay
    Member
    Posted 1 year ago #

    Thank you @agelonwl

  11. lindsay
    Member
    Posted 1 year ago #

    The submitted info isn't showing up on the event page....?

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    The submitted info isn't showing up on the event page....?
    Are you saying your changes aren't showing up, or that the event isn't being submitted?

  13. lindsay
    Member
    Posted 1 year ago #

    None of the info submitted in the Event Submission Form is showing up in the event's post.

  14. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    does an event actually get created though?

    I'd try testing this out with your other plugins disabled and/or using the 20 11 theme to see if this is caused by one of them.

  15. lindsay
    Member
    Posted 1 year ago #

    The Event is created but none of the info from the submission gets entered into it.

  16. lindsay
    Member
    Posted 1 year ago #

    Im not using many other plugins.

  17. agelonwl
    Member
    Posted 1 year ago #

    hi,

    can you provide us a sample link and also does it exists in the em table wp_em_events ?

  18. lindsay
    Member
    Posted 1 year ago #

    The site is on maintenance mode at the moment so I can not provide a link -sorry! What is the em table wp_em_events??

  19. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    try disabling your other plugins temporarily (buddypress can stay), and revert to the default theme. try again to see if any of these are causing the conflict.

  20. lindsay
    Member
    Posted 12 months ago #

    All the plugins are fine but my custom fields are still not showing up!

    I have this is the General Settings box:
    #_ATT{Contact Name}
    #_ATT{Contact Email}

    It is showing up in the event submission form but not on the event's post.

  21. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 12 months ago #

    You need to also add that to your event formats too, like with other placeholders.

  22. lindsay
    Member
    Posted 11 months ago #

    i have this is in my events format:
    <div style="float:right; margin:0px 0px 15px 15px;">#_MAP</div>
    <p>
    Event Date: #_EVENTDATES
    Event Time: #_EVENTTIMES
    </p>
    Event Contact Name: #_Contact Name
    Event Contact Email: #_Contact Emailbr/>

    Event Description: #_EVENTNOTES

    {has_location}
    <p>
    Location
    #_LOCATIONNAME
    </p>
    {/has_location}

    <p>
    Category(ies)#_CATEGORIES
    </p>
    <br style="clear:both" />

  23. agelonwl
    Member
    Posted 11 months ago #

    instead of

    Event Contact Name: #_Contact Name
    Event Contact Email: #_Contact Emailbr/>

    use this

    Event Contact Name: #_ATT{Contact Name}
    Event Contact Email: #_ATT{Contact Email}
  24. lindsay
    Member
    Posted 11 months ago #

    It worked! Thanks soooo much!!!

  25. lindsay
    Member
    Posted 11 months ago #

    How do I take "Region" out of the Address table in the event submission form?

  26. agelonwl
    Member
    Posted 11 months ago #

    you can remove that using template file at forms/event/location.php

    to use templates - http://wp-events-plugin.com/documentation/using-template-files/

  27. lindsay
    Member
    Posted 11 months ago #

    I don't have forms/event/location.php in my events manager editor files.

  28. agelonwl
    Member
    Posted 11 months ago #

  29. lindsay
    Member
    Posted 11 months ago #

    How do I add that?

  30. agelonwl
    Member
    Posted 11 months ago #

    please see this link - http://wp-events-plugin.com/documentation/using-template-files/

    then you need to create a php file at forms/event/location.php and paste the code above.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic