diff --git a/Configuration/TypoScript/constants.typoscript b/Configuration/TypoScript/constants.typoscript index fe3c153..a852354 100644 --- a/Configuration/TypoScript/constants.typoscript +++ b/Configuration/TypoScript/constants.typoscript @@ -1,15 +1,15 @@ plugin.tx_events { view { - # cat=plugin.tx_ddevents/file; type=string; label=Path to template root (FE) + # cat=plugin.tx_events/file; type=string; label=Path to template root (FE) templateRootPath = EXT:events/Resources/Private/Templates/ - # cat=plugin.tx_ddevents/file; type=string; label=Path to template partials (FE) - partialRootPath = EXTevents/Resources/Private/Partials/ - # cat=plugin.tx_ddevents/file; type=string; label=Path to template layouts (FE) + # cat=plugin.tx_events/file; type=string; label=Path to template partials (FE) + partialRootPath = EXT:events/Resources/Private/Partials/ + # cat=plugin.tx_events/file; type=string; label=Path to template layouts (FE) layoutRootPath = EXT:events/Resources/Private/Layouts/ } persistence { - # cat=plugin.tx_ddevents//a; type=string; label=Default storage PID + # cat=plugin.tx_events//a; type=string; label=Default storage PID storagePid = } } diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index c5e2892..5b73fd5 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -1,6 +1,6 @@ - +
diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index 9cf10c9..0570651 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -3,6 +3,12 @@
+ + Events + + + Event Modul + Event diff --git a/Resources/Public/Icons/Extension.svg b/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..ec1bdec --- /dev/null +++ b/Resources/Public/Icons/Extension.svg @@ -0,0 +1 @@ +Extension \ No newline at end of file diff --git a/ext_emconf.php b/ext_emconf.php index f1e8e00..e434a35 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,7 +12,7 @@ $EM_CONF[$_EXTKEY] = [ 'title' => 'Events', - 'description' => 'Extension to manage Destination Data managed events', + 'description' => 'Extension to manage events', 'category' => 'plugin', 'author' => 'Dirk Koritnik', 'author_email' => 'koritnik@werkraum-media.de', diff --git a/ext_localconf.php b/ext_localconf.php index b1b917a..1960708 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -18,29 +18,30 @@ call_user_func( ] ); - // wizards - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( - 'mod { - wizards.newContentElement.wizardItems.plugins { - elements { - events { - iconIdentifier = events-plugin-events - title = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:txevents_events.name - description = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events_events.description - tt_content_defValues { - CType = list - list_type = events_pi1 + // wizards + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( + 'mod { + wizards.newContentElement.wizardItems.plugins { + elements { + events { + iconIdentifier = events-plugin + title = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events.name + description = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events.description + tt_content_defValues { + CType = list + list_type = events_pi1 + } } } + show = * } - show = * - } - }' - ); + }' + ); + $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class); $iconRegistry->registerIcon( - 'events-plugin-events', + 'events-plugin', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg'] ); diff --git a/ext_tables.php b/ext_tables.php index debb376..960f0f4 100644 --- a/ext_tables.php +++ b/ext_tables.php @@ -10,7 +10,7 @@ call_user_func( 'Wrm.Events', 'Pi1', 'Events', - 'EXT:dd_events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' ); */