I am trying to figure out the CSV Importer addon and have several questions.
1. How do I get the “sample.csv” file mentioned in the guide?
2. I would like to use the CSV Importer not just to add new events, but also update existing events. How can I do this? It looks like I could possibly use the “event_id (int)” column for this, but the explanation is non-existent. I’ve tried assigning my own unique ID or taking the post ID from the event I want to update, but no luck either try, I just end up creating duplicates.
Thank you,
Abigail
Hello,
1. Please go to EventON > CSV Format:
You’ll get much better example. Make sure to add event before downloading it.
2. WordPress assigned ids to Posts, Pages, Events and so on automatically, so you cannot manually assign them.
Just add events to wp-admin > Events. After, follow 1 and download the .csv file where you’ll be able to find all added events with their event_id present. Just change the data except event_id and upload the file to update events.
Thank you, I have done that; but I found out that the CSV format exported doesn’t match what I need to use for importing events, and in fact, if I copy the column names, I will have errors. An example would be that when I download the CSV format, it has the column name “repeat_type”. That’s not the correct column name though, and it took several tries to get the right one, which is “evcal_rep_freq”.
I did figure out the post ID situation. It would be nice if the export and import format was the same, so I could simply export the list, edit that one, and then import it again.
One other example is I am trying to upload tags with my events, but the CSV Format has no column example for tags I can see. I actually dont’ see it in the guide either. So how do I do this?
Thank you.
Sorry about some mistakes in the .csv file. We are going to look into this.
Please make sure to use column names from EventON > CSV Import > Guide.
Tags aren’t supported at the moment. Please use Event Type for this. You can reserve Event Type 3, for example.
You can also try adding Tags by following:
https://docs.myeventon.com/documentations/import-additional-fields-using-hooks/
_field_var_name is post_tag.
OK, I can try that. My goal is to have a little badge next to the event like there is for ‘Repeating Event’ or ‘Featured Event’. I want a badge that has my custom text input. Can I do that?
You can try Custom Meta:
https://docs.myeventon.com/documentations/setup-use-custom-meta-fields-events/
Add it manually, but you need to use CSS to move it out of EventTop.
Also take a look
https://docs.myeventon.com/documentations/hook-eventtop/
You can add the same badge through the code.
If you just want to add it to Single Event Page, please follow
https://docs.myeventon.com/documentations/customize-single-events-page/