Organizer link won't return

Home Forums Calendar Products Events Calendar PRO Organizer link won't return

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #23731
    Leland
    Participant

    Hi there,

    I’ve created a custom CSV export for my client, and it’s working (almost) perfectly with the exception of one minor issue. I’m having an issue where tribe_get_organizer_link refuses to save to my array and instead always echoes out, regardless of how I set it.

    Here’s the code I’m using, with some testing:

    echo “Website: “;
    echo tribe_get_organizer_link($post->ID, false);
    $events[$count][] = tribe_get_organizer_link($post->ID, false);

    And this is what outputs:
    Website: http://ACTrees.orghttp://ACTrees.org
    It’s blank in my array and doesn’t output to my CSV file at all. All other fields seem to work as expected.

    If it helps at all, the exporter is at http://demo.neighborwoodsmonth.org/csv-exporter/

    What am I doing wrong?

    Cheers!

    #23751
    Leland
    Participant

    Managed to fix this myself; if anyone runs across the same issue, you need to use tribe_get_organizer_link($post->ID, false, false)

    #24012
    Jonah
    Participant

    Thanks for this Leland! Any chance you’d be willing to share your plugin on the .org repo? We’d love to expand our base of add-ons for the plugin 🙂

    Cheers,
    – Jonah

    #24126
    Leland
    Participant

    Hi Jonah,

    It’s fairly no-frills (and fairly hackily written), but I’d be happy to share the code should anyone need it.

    #24145
    Jonah
    Participant

    Thanks for the offer Leland, we appreciate your support!

    – Jonah

    #24721
    headsign
    Member

    Hi. This plugin might be just what I need, so: where do I find the .org repo? Is it publicly accessible at all and if not, could you share the code with me too, please? 🙂

    #25696
    Leah
    Member

    Hey Leland,

    I didn’t see your code on the .org repo. Any chance you could post it here so headsign and others could take a look?

    Thanks!
    Leah

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Organizer link won't return’ is closed to new replies.