CSV import of events, disables show map link, show map fields

Home Forums Calendar Products Events Calendar PRO CSV import of events, disables show map link, show map fields

  • This topic has 6 replies, 6 voices, and was last updated 9 years ago by Samy.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1245777
    Samy
    Participant

    Hi,

    when i try to import events via the buildt in csv import, the values of the fields show map link, show map are always ignored. When i check the event no map is shown and i have to manually check the checkboxes on the edit event page.

    I tried setting the values to “TRUE” and “1” and also checked that the corresponding venues have show on map enabled before importing.

    What am i doing wrong? How can i enable the show map link, show map from csv import?

    best,

    Samy

    #1246512
    Winfried
    Participant

    I had the same issue. After somkjke fiddling around, I found, that in “File_Importer_Events.php” of the “the-event-calender” Plugin, in line 206/207 (see: https://bitbucket.org/snippets/wneessen/Ae9pa) are two lines: $event[‘EventShowMap’] = $show_map_setting; and $event[‘EventShowMapLink’] = $show_map_setting;

    For my imports the $show_map_setting (which seems to be the value of “Tribe__Events__Aggregator__Settings::instance()->default_map( ‘csv’ )”) is always “no”. So the 1 of my actual CSV file is overwritten with the “no” value and therefore the checkboxes are not checked. I worked around this by commenting out the two lines – still there should be an official fix for this, as any update of the plugin will overwrite my changes.

    #1246666
    Zach Tirrell
    Keymaster

    Nice work sleuthing down that bug Winfried!

    In lucky coincidence, I am currently working on another semi-related bug fix in Event Aggregator in the same block of code. I’ll take a look at this and see if I can get a fix included in an upcoming maintenance release.

    #1247210
    Zach Tirrell
    Keymaster

    Good news! I have the patch out for review and if all goes well, it should get included in the next maintenance release.

    #1251512
    George
    Participant

    Hello!

    I wanted to post a quick note here that we have published a new Maintenance Release today that should address some of the problems reported in this thread.

    You can read about the details of this release here → https://theeventscalendar.com/maintenance-release-events-calendar-4-4-4-event-tickets-4-4-4-premium-add-ons/

    I hope this update helps!

    If issues persist, open a new thread in the forums and be sure to include your site’s complete, un-edited “System Information” as per the instructions in this knowledgebase guide.

    Cheers,
    George

    #1262072
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘CSV import of events, disables show map link, show map fields’ is closed to new replies.