TYPO3 Extension providing events with import of destination data one https://docs.typo3.org/p/werkraummedia/events/main/en-us/
Find a file
Daniel Siepmann ca4d7d3a01 Add basic cleanup command
Allows to remove all existing records regarding events.
It will search for all pages providing either organizer or events, and
will delete both types of records.

As DataHandler is used for deletion, there is already logging within
TYPO3, as well as recursive deletion for dates and sys_file_references.

To speedup for large data sets, truncate organizer and dates, as they
don't have recursive deletions, e.g. to sys_file_references. Also add
keys to database.
2019-09-18 18:04:29 +02:00
Classes Add basic cleanup command 2019-09-18 18:04:29 +02:00
Configuration Add basic cleanup command 2019-09-18 18:04:29 +02:00
Documentation Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00
Resources Several changes 2019-09-13 09:10:41 +02:00
Tests/Unit Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00
.gitignore Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00
composer.json Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00
ext_emconf.php Added map, changed gulp 2019-07-25 12:42:37 +02:00
ext_localconf.php Implement date search 2019-08-14 17:22:01 +02:00
ext_tables.php Added map, changed gulp 2019-07-25 12:42:37 +02:00
ext_tables.sql Add basic cleanup command 2019-09-18 18:04:29 +02:00
ExtensionBuilder.json Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00
README.md Refactored the import command 2019-08-12 15:49:52 +02:00

Destination Data Event Import Extension

Start Symfony Command to import Events local
TYPO3_CONTEXT=Development php vendor/bin/typo3 events:import
Start Symfony Command to import Events on Stage
TYPO3_CONTEXT=Production/Staging /usr/local/bin/php7.1.6-cli typo3cms/stage.thueringer-staedte.de/current/vendor/bin/typo3 events:import
Clean category relations
TRUNCATE TABLE tx_events_domain_model_event;
TRUNCATE TABLE tx_events_domain_model_date;
TRUNCATE TABLE tx_events_domain_model_organizer;
DELETE FROM sys_category_record_mm WHERE tablenames = 'tx_events_domain_model_event';
DELETE FROM sys_file_reference WHERE tablenames = 'tx_events_domain_model_event';
DELETE FROM sys_file WHERE identifier LIKE '%/events/%';
DELETE FROM sys_file_metadata WHERE alternative = 'DD Import';