Home › Forums › Calendar Products › Events Calendar PRO › Customization path needed for Organizer related files
- This topic has 4 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
August 14, 2013 at 4:42 pm #60498
tmbond
ParticipantHi,
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.phpKindly 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.
August 19, 2013 at 1:16 pm #61224Rob
MemberAh, 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.
August 19, 2013 at 3:47 pm #61427Barry
MemberHi 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 🙂
August 28, 2013 at 1:01 pm #63420Rob
MemberHey 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?
July 7, 2015 at 6:27 am #980445Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Customization path needed for Organizer related files’ is closed to new replies.
