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.
-
AuthorPosts
-
February 25, 2017 at 6:51 am #1245777
Samy
ParticipantHi,
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
February 27, 2017 at 2:46 pm #1246512Winfried
ParticipantI 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.
February 27, 2017 at 9:03 pm #1246666Zach Tirrell
KeymasterNice 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.
February 28, 2017 at 2:25 pm #1247210Zach Tirrell
KeymasterGood news! I have the patch out for review and if all goes well, it should get included in the next maintenance release.
March 8, 2017 at 9:07 pm #1251512George
ParticipantHello!
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,
GeorgeMarch 30, 2017 at 9:35 am #1262072Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘CSV import of events, disables show map link, show map fields’ is closed to new replies.
