Moving a particular additional field

Home Forums Calendar Products Events Calendar PRO Moving a particular additional field

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1125048
    William
    Participant

    Hello!

    I’m fairly sure there isn’t a simple “paste this snippet” way to do this, but I’m wondering if you might have a suggestion for the best approach for me to take on my own.

    I have a particular additional field I’d like to appear under “Cost” in the single-event view. The field is “Cost details,” a grab-bag field for any cost info beyond the general admission fee (donations, variable pricing for members, seniors, kids, military, etc.).

    As you can see in this test event post, the cost details appear in a separate area from the cost: http://calendar.hudsonvalleyone.com/event/event-with-no-location-or-punctuation/

    I’m thinking the right way to do this would involve inserting some php to display the specific field (ecp_custom_2) into the flow under cost, and some other php in the additional fields section to not show that specific field under “Other” (and also for good measure, not show “Other” if there isn’t anything to be displayed beneath it,)

    Another less correct (but easier for me to figure out) way might be to use javascript to move the element from one place to another. In that case if Javascript isn’t turned on the event would still appear in the “Other” column, which isn’t the end of the world.

    Just wanted to get your take. Thanks!

    #1125401
    Hunter
    Moderator

    Hey William,

    Thanks for reaching out! In my personal opinion, I think the best way to achieve what you describe would be option #1. A template override using the ‘ecp_custom_2’ should do the trick! More info on the custom fields that may help can be found here. I wish I was able to help assist more but these types of support requests are a bit outside what we’re able to cover.

    I hope this answer helps reassure your initial idea and have a great upcoming weekend 🙂

    #1131944
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Moving a particular additional field’ is closed to new replies.