Customization path needed for Organizer related files

Home Forums Calendar Products Events Calendar PRO Customization path needed for Organizer related files

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #60498
    tmbond
    Participant

    Hi,
    I have succeeded in adding and displaying new fields and values for Organizer by editing the following files:
    1. the-events-calendar/admin-views/organizer-meta-box.php
    2. the-events-calendar/lib/public/advanced-functions/meta.php
    3. the-events-calendar/lib/public/template-tags/organizer.php
    It works when the above main files are edited directly.

    BUT my customized organizer fields/values don’t display when I follow the suggested customization path rules, as in below.

    1. my-theme/tribe-events/admin-views/organizer-meta-box.php
    2. my-theme/tribe-events/lib/public/advanced-functions/meta.php
    3. my-theme/tribe-events/lib/public/template-tags/organizer.php

    Kindly let me know what path to use so as to show the above paths. My customization works when I do it directly in the main files, which is not what I should do.

    #61224
    Rob
    Member

    Ah, we totally dropped the ball on getting you a reply here tmbond. I apologize for that. While this is a bit outside my personal area of expertise, know that I’ve prioritized it with another member of the team and that we should have you a substantive response in as timely a fashion as possible.

    Really appreciate your patience and support in the interim.

    #61427
    Barry
    Member

    Hi tmbond,

    As you’re probably aware (since you want to make the changes outside of core plugin files) we never recommend editing core code in this manner.

    You should also be aware that, currently, there is no direct support for overriding admin views (ie, those templates used to generate what site admins see, as opposed to public views that generate what your visitors see) and nor is it intended that you can override and replace core libraries such as those files contained in advanced-functions or template-tags.

    Instead, the override paths only apply to the views listed in our Themer’s Guide: https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    Many of the functions in those libraries do however contain filters – and though I don’t know exactly what you are attempting here it’s probably that use of actions and filters is the safest way to go 🙂

    #63420
    Rob
    Member

    Hey there tmbond. Just wanted to check in on whether you’d had a chance to review Barry’s note. Do you need anything else at this time?

    #980445
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Customization path needed for Organizer related files’ is closed to new replies.