mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-21 22:36:10 +01:00
TYPO3 Extension providing events with import of destination data one
https://docs.typo3.org/p/werkraummedia/events/main/en-us/
Daniel Siepmann
1929a4a566
Extbase will properly use mm sorting. But categories can't be sorted within the TCA tree component. Therefore it makes more sense to use actual sys_category sorting. In order to do so, we add our own model and pass the sorting. That way PHP can do the sorting. That's the easiest approach. Also events shouldn't contain to many categories. A performance impact should not be high. Relates: #8459 |
||
---|---|---|
Classes | ||
Configuration | ||
Documentation | ||
Resources | ||
Tests/Unit | ||
.gitignore | ||
composer.json | ||
ext_emconf.php | ||
ext_localconf.php | ||
ext_tables.php | ||
ext_tables.sql | ||
ExtensionBuilder.json | ||
phpcs.xml.dist | ||
README.md |
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';