Support » Plugin: Events Manager » Adding New Fields to Submission Form

  • Resolved grbarrie

    (@grbarrie)


    I have created custom attributes for some new fields for the event submission form and I have a couple of issues. The new fields are showing in the new event form. How do I format them to look the same as the rest of the form? Currently they are displaying as I named them in the attributes (Organizer_Name instead of displaying as Organizer Name:).
    And the second is the info entered into these fields is being displayed in the single event display but, one of the new fields I created is for email and website URL and these aren’t being displayed as links. How to get them to show as links like the category and location fields?

    Thanks

    https://wordpress.org/plugins/events-manager/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    How did you add the extra fields?

    For the submission form I added the following to the Event Attributes section:
    #_ATT{Organizer_Club}
    #_ATT{Organizer_Name}
    #_ATT{Organizer_Email}
    #_ATT{Organizer_Phone}
    #_ATT{Organizer_Website}

    And then I added the following to the Single event page format:

    Organizer Information

    #_ATT{Organizer_Club}
    #_ATT{Organizer_Name}
    #_ATT{Organizer_Phone}
    #_ATT{Organizer_Email}
    #_ATT{Organizer_Website}
    </p>

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hello,

    do you have sample link to your site for us to see and analyze ?

    thanks

    Sorry, its on an internal development server.

    I’ve added the following to the single event page format and it seems to do what I want it to. I’m not sure if its the correct way or if I should be using a template.

    <a href="mailto:#_ATT{Organizer_Email}">#_ATT{Organizer_Email}</a>
    <a href="http://#_ATT{Organizer_Website}">#_ATT{Organizer_Website}</a>

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    That should work fine.

    Okay, that’s fixed then. I still need to clean up the new event form.
    How do I format the new fields that I create on the new event form? For example the field that I have created for Organizer Club is showing as
    Organizer_Club just as I have in the attributes but I would like it to be displayed as the rest of the form which would be Organizer Club:
    Also the drop downs for the time is compressed so the AM and PM are on top of the hours. What file do I edit to correct this?

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Can you post a link to your form? The dropdown problem sounds like a CSS issue.

    I’ve moved the site from my internal server to an external host. I have limited functionality on the site, but there is enough for you to add an event to see the form. The drop downs are displaying properly now on this host for some reason. I still need to get my new form fields to be formatting like the rest of the form which I can’t seem where that code resides.
    The site is at http://173.199.136.209/ you’ll have to log in to access the new event form, user is test_user and p/w is test.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    I think something in your theme is causing the problem. Try adding this to the end of style.css:

    div.time-picker {
    overflow: visible;
    ]

    It looks like it was a problem with my browser (chrome in Ubuntu in a virtualbox) because I just went to the externally hosted page and it does the same thing but in my native OS it loads fine. So I’m happy that it’s working properly. The only outstanding issue I have now is that the new fields that I added aren’t formatted like the rest of the form. You can see it in the new event form down at the bottom in the Organizer section.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    You should be able to adjust those fields like this:

    .event-attributes {
    // your formatting here
    }

    Sorry, where do I add that?

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    To the end of the style.css file of your theme.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Adding New Fields to Submission Form’ is closed to new replies.