Editing the plugin to include unique custom fields

Home Forums Calendar Products Events Calendar PRO Editing the plugin to include unique custom fields

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #81836
    Jim
    Participant

    I would like to edit the plugin to include custom fields. I understand the plugin already includes a feature for custom fields, but I’m looking for custom fields that have their own ID(#) or class.

    I would like to include some fields like Game Number, Season, Gender, etc. so that I can import data for these fields using the CSV import function.

    Would it be possible to edit the plugin to include a few extra fields, so that I could map a column in my CSV file to a custom coded event field. (Similar to the Start Time, End Time, etc.)

    If it is possible, which files would contain the code that I would need to customize to suit my needs?

    I’m thinking that this would be a fairly easy task, I am a very skilled PHP/Javascript programmer, I am just looking for a push in the right direction.

    Thanks in advance for you assistance.

    #81864
    Barry
    Member

    Hi Jim,

    So there seem to be two sides to this question, the first centring on your need to add IDs and classes to custom fields. With that in mind, it could first of all be worth investigating the possibility of filtering and modifying existing additional field output to achieve this – without the need to build up a new system that functions in parallel.

    If that isn’t workable and you do want to add a new type of custom field I’m afraid we would have to leave the details to you. Adding a new meta box for instance to the event editor to expose this new feature is not really any different to accomplishing the same task with a built-in WordPress post type, ie in the post or page editors (and this is well documented over on the WordPress codex). With a bit of digging around you could probably also expose WordPress’s own custom fields UI if that’s sufficient to meet your needs.

    In terms of altering the CSV uploader, I’m not too sure how easy it would be to accomplish that at this time – so once again we would need to leave you to investigate and determine if hooking into this part of the system is the right way to do things or not. Of course, we’d welcome any suggestions for improvement you might come up with along the way and these can be posted on our feature request page:

    tribe.uservoice.com

    Sorry we can’t offer too much more here, but really this is very much a custom development issue and that’s generally not something we can assist with.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Editing the plugin to include unique custom fields’ is closed to new replies.