tuberb

Forum Replies Created

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • in reply to: edd_price #642593
    tuberb
    Participant

    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

    tuberb
    Participant

    The 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

    in reply to: Additional field values being modified #147547
    tuberb
    Participant

    Yes 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.

Viewing 3 posts - 16 through 18 (of 18 total)