Forum Replies Created
-
AuthorPosts
-
tuberbParticipant
I ended up poking around in the TEC and EDD code and figuring out how to call TribeEDDTickets::save_ticket from inside my script that is importing data from a csv to populate events, with prices.
I will say that the documentation for the EDD Tickets side of things is a little sparse compared to the rest of the documentation. And I am not all that big a fan of that documentation, given the absence of examples.
Barry
August 11, 2014 at 3:15 pm in reply to: Events Calendar Pro fatal error Call to undefined function get_current_screen() #642556tuberbParticipantThe code is written like a standalone plugin, runs in the Admin environment, and is attached to a menu option under tools.
I ended up moving the require_once statement inside my script right before the call to tribe_get_events(), and that seems to have fixed the problem for me, so I no longer have a modified version of the plugin script.
So I guess I’m all set.
Barry
tuberbParticipantYes the pipe was transformed into a comma.
I ended up setting up logic to convert an arbitrary string (i used [NL]) which the sanitation did not touch and which I converted to a <br /> in the template.
It might be nice to be able to turn off the sanitation, or have a WYSIWYG field type available for additional fields, but I guess I am all set for now, assuming the user remembers the [NL] or can find my documentation about it. -
AuthorPosts