Event Additional Categories using xlsx import

  • Stephen Lindell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #100938 by Stephen Lindell
Event Additional Categories using xlsx import was created by Stephen Lindell
When importing events in bulk the only way for additional event categories to show up is for the first additional category to have a tab in front of it. For example if you have an event with 2 additional categories it would need to be set up like this " Cat1 | Cat2".

When you export the event xlsx file there is no tab before the first category.

You may want to consider adding this to the documentation of changing the event export to include the tab so it's possible to use the exported xslx as a guide for importing events.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #100945 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Additional Categories using xlsx import
Thanks Stephen for reporting the issue. Actually, the space character before the first additional categories should not be needed, in the code, I use something like this:

$eventCategories = explode(' | ', $eventCategories);

So basically, the only requirement is that the categories are separated by ' | ' (same as how it is exported)

I will try to check this issue later today, if this bug is valid, I will confirm and add the fix. Again, the space character before the first category is not needed

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc