my-calendar
my-calendar copied to clipboard
Going through the Export and Import feature
I am looking at the Export and Import feature.
Testing. A local site with the older Desktop Server running PHP (7.3.1). My Calendar version Version 3.4.10 WordPress version 6.1.1 Brave Browser
1- I opened the local site in Desktop Server. Made a new event. Containing a title, some content, excerpt, time and a featured image.

2- Went to My Calendar Settings. Import and Export Settings. Clicked Export settings (which actually is just exporting the My Calendar json file.
Perhaps it should say: Export My Calendar JSON file. Instead of Export settings. As adding the word settings it seems like it goes to another page where the export settings are.

3- Downloaded the JSON file. Which contained this information.
{"display_single":["ical","address","gcal","description","image","tickets","access","link","gmap_link"],"display_main":["address","description","image","link","more"],"display_mini":["address","description","image","link","more"],"use_permalinks":"true","use_styles":"false","show_months":"1","calendar_javascript":"0","list_javascript":"0","mini_javascript":"0","ajax_javascript":"0","show_js":false,"notime_text":"All day","hide_icons":"true","event_link_expires":"false","apply_color":"background","input_options":{"event_host":"on"},"input_options_administrators":"false","default_admin_view":"list","event_mail":"false","event_mail_to":"[email protected]","event_mail_from":"[email protected]","event_mail_subject":false,"event_mail_message":false,"event_mail_bcc":false,"html_email":"true","week_format":"M j, 'y","date_format":"F j, Y","templates":{"title":"{time}: {title}","title_list":"{title}","title_solo":"{title}","link":"More information","grid":"\n<span class=\\\"event-time value-title\\\">{time}{endtime before=\\\"<span class=\\'time-separator\\'> - <\/span><span class=\\'end-time\\'>\\\" after=\\\"<\/span>\\\"}<\/span>\n{image before=\\\"<div class=\\'mc-event-image\\'>\\\" after=\\\"<\/div>\\\"}\n<div class=\\\"sub-details\\\">\n\t{hcard before=\\\"<div class=\\'mc-location\\'>\\\" after=\\\"<\/div>\\\"}\n\t{excerpt before=\\\"<div class=\\'mc-excerpt\\'>\\\" after=\\\"<\/div>\\\"}\n<\/div>","list":"\n<span class=\\\"event-time value-title\\\">{time}{endtime before=\\\"<span class=\\'time-separator\\'> - <\/span><span class=\\'end-time\\'>\\\" after=\\\"<\/span>\\\"}<\/span>\n{image before=\\\"<div class=\\'mc-event-image\\'>\\\" after=\\\"<\/div>\\\"}\n<div class=\\\"sub-details\\\">\n\t{hcard before=\\\"<div class=\\'mc-location\\'>\\\" after=\\\"<\/div>\\\"}\n\t{excerpt before=\\\"<div class=\\'mc-excerpt\\'>\\\" after=\\\"<\/div>\\\"}\n<\/div>","mini":"\n<span class=\\\"event-time value-title\\\">{time}{endtime before=\\\"<span class=\\'time-separator\\'> - <\/span><span class=\\'end-time\\'>\\\" after=\\\"<\/span>\\\"}<\/span>\n{image before=\\\"<div class=\\'mc-event-image\\'>\\\" after=\\\"<\/div>\\\"}\n<div class=\\\"sub-details\\\">\n\t{hcard before=\\\"<div class=\\'mc-location\\'>\\\" after=\\\"<\/div>\\\"}\n\t{excerpt before=\\\"<div class=\\'mc-excerpt\\'>\\\" after=\\\"<\/div>\\\"}\n<\/div>","details":"\n<span class=\\\"event-time value-title\\\" title=\\\"{dtstart}\\\">{time}<span class=\\\"time-separator\\\"> - <\/span><span class=\\\"end-time value-title\\\" title=\\\"{dtend}\\\">{endtime}<\/span><\/span>\n{image before=\\\"<div class=\\'mc-event-image\\'>\\\" after=\\\"<\/div>\\\"}\n<div class=\\\"event-data\\\">\n\t{runtime before=\\\"<p class=\\'mc-runtime\\'>\\\" after=\\\"<\/p>\\\"}\n\t{categories before=\\\"<p class=\\'mc-categories\\'>\\\" after=\\\"<\/p>\\\"}\n<\/div>\n<div class=\\\"sub-details\\\">\n\t{hcard before=\\\"<div class=\\'mc-location\\'>\\\" after=\\\"<\/div>\\\"}\n\t{description before=\\\"<div class=\\'mc-description\\'>\\\" after=\\\"<\/div>\\\"}\n\t{map before=\\\"<div class=\\'mc-map\\'>\\\" after=\\\"<\/div>\\\"}\n<\/div>","label":"Read more"},"css_file":"twentytwentyone.css","style_vars":{"--primary-dark":"#313233","--primary-light":"#fff","--secondary-light":"#fff","--secondary-dark":"#000","--highlight-dark":"#666","--highlight-light":"#efefef"},"show_weekends":"true","convert":"true","topnav":"toggle,timeframe,jump,nav","bottomnav":"key,print","default_direction":"DESC","remote":"false","gmap_api_key":"","uri":"https:\/\/test-calendar.dev.cc\/my-calendar","uri_id":"6","open_uri":"false","drop_tables":false,"drop_settings":"true","api_enabled":false,"default_sort":false,"current_table":false,"open_day_uri":"false","mini_uri":"","show_list_info":"false","show_list_events":"false","event_title_template":false,"heading_text":false,"hosted_by":false,"posted_by":false,"buy_tickets":false,"event_accessibility":false,"view_full":false,"week_caption":false,"next_events":false,"previous_events":false,"today_events":false,"caption":false,"month_format":false,"time_format":"g:i a","location_controls":false,"cpt_base":"mc-events","location_cpt_base":"mc-locations","default_category":false,"skip_holidays_category":false,"use_list_template":false,"use_mini_template":false,"use_details_template":false,"use_grid_template":false,"list_link_titles":"false","default_location":false,"hide_past_dates":"false","map_service":"google","migrated":"true"}
4- Went to an online dev site running WordPress 6.2 beta 4. My Calendar 3.4.10 (same My Calendar version as the first site). Clicked Choose file and Import Settings. Should it just say Import? Imported the file. I expected to see the one event I had made in the Desktop Server site added to the Events screen. But the event was not added.
You're not the first to say this; what about 'settings' makes you expect it to include event data?
Settings = To me means going to a Settings page to select among various options to define something. Export settings = To me means going to an export settings page.
"...what about 'settings' makes you expect it to include event data?" To me it is the wrong word to use. I have no expectations of settings will include data. Settings to me just means a screen that contains options. I am not sure if I answered your question.
Import and Export - Exporting I expect it to export everything I have done inside a specific plugin and that will then be brought over to the other installation. If some things are not exported I would like to know before I export.
Say it in another way. Export settings is kinda double up. I expect the export to automatically contain the settings and do not understand what the word settings is added to it.
What I'm taking from that is that "settings", for you, includes the events you've added.
What would be a word for you that would represent your options and configurations, but not events, categories, and locations? E.g., if you were setting up a new site where you wanted the same settings, but that would be different events, what term would capture that for you?
For me, "settings" would never include data - if I was exporting settings for WordPress, I would never expect that to include posts and terms, only how the site is configured.
Ahhh gotcha. I would actually write it out. As it would tell me right away what an export contains and does not contain.
Export does not contain events, categories and locations. They do contain General, Text, Display, Input Permissions, Notifications and other settings configured through ...........
If we for instance just said Export configurations or settings. I would still wonder what that actually meant. Not really understanding what the Export and Import feature handles.
Import and Export Settings
Will only export and import configurated settings pages such as.....
In general having a clarity in what is exported and not exported will help a lot.