diff --git a/Configuration/FlexForms/DateList.xml b/Configuration/FlexForms/DateList.xml index e971c51..8c9f409 100644 --- a/Configuration/FlexForms/DateList.xml +++ b/Configuration/FlexForms/DateList.xml @@ -13,6 +13,7 @@ select + selectSingle Start @@ -33,6 +34,7 @@ select + selectSingle @@ -128,6 +130,7 @@ select + selectSingle Default @@ -164,11 +167,12 @@ select + selectSingle tx_events_domain_model_region AND tx_events_domain_model_region.deleted = 0 AND tx_events_domain_model_region.hidden = 0 - 3 + 1 0 - 2 + 1 @@ -179,6 +183,7 @@ select + selectSingle And @@ -202,6 +207,7 @@ select + selectTree 20 sys_category AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.title ASC @@ -233,4 +239,4 @@ - \ No newline at end of file + diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index b0fb92b..e52eb3a 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -8,7 +8,7 @@ call_user_func(function () { 'Events', 'Pi1', 'Events Plugin', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/Extension.svg' ); $pluginSignature = 'events_pi1'; @@ -26,7 +26,7 @@ call_user_func(function () { 'Events', 'DateSearch', 'Events: Date Search', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/Extension.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['events_datesearch'] = 'pi_flexform'; @@ -42,7 +42,7 @@ call_user_func(function () { 'Events', 'DateList', 'Events: Date List', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/Extension.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['events_datelist'] = 'pi_flexform'; @@ -58,7 +58,7 @@ call_user_func(function () { 'Events', 'DateShow', 'Events: Date Show', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/Extension.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['events_dateshow'] = 'pi_flexform'; @@ -75,7 +75,7 @@ call_user_func(function () { 'Events', 'Selected', 'Events: Show selected', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' + 'EXT:events/Resources/Public/Icons/Extension.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['events_selected'] = 'pi_flexform'; diff --git a/Configuration/TCA/Overrides/tx_events_domain_model_event.php b/Configuration/TCA/Overrides/tx_events_domain_model_event.php index cd6e18b..9e75ded 100644 --- a/Configuration/TCA/Overrides/tx_events_domain_model_event.php +++ b/Configuration/TCA/Overrides/tx_events_domain_model_event.php @@ -3,7 +3,7 @@ defined('TYPO3') or die(); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable( - 'dd_events', + 'events', 'tx_events_domain_model_event', 'categories', [ diff --git a/Configuration/TCA/tx_events_domain_model_date.php b/Configuration/TCA/tx_events_domain_model_date.php index 1aa1f5c..3f8636d 100644 --- a/Configuration/TCA/tx_events_domain_model_date.php +++ b/Configuration/TCA/tx_events_domain_model_date.php @@ -20,7 +20,7 @@ return [ 'endtime' => 'endtime', ], 'searchFields' => '', - 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_date.gif' + 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_date.svg' ], 'types' => [ '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, start, end, canceled, event, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'], diff --git a/Configuration/TCA/tx_events_domain_model_event.php b/Configuration/TCA/tx_events_domain_model_event.php index ed72bbf..3900e2e 100644 --- a/Configuration/TCA/tx_events_domain_model_event.php +++ b/Configuration/TCA/tx_events_domain_model_event.php @@ -19,7 +19,7 @@ return [ 'endtime' => 'endtime', ], 'searchFields' => 'title,global_id,slug,teaser,details,price_info,street,district,city,zip,country,web,booking,ticket,facebook,youtube,latitude,longitude', - 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_event.gif' + 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_event.svg' ], 'types' => [ '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, global_id, slug, highlight, teaser, details, price_info, name, street, district, city, zip, country, phone, web, ticket, facebook, youtube, instagram, latitude, longitude, images, pages, categories, dates, organizer, region, partner, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'], diff --git a/Configuration/TCA/tx_events_domain_model_organizer.php b/Configuration/TCA/tx_events_domain_model_organizer.php index 3893357..b3b80c0 100644 --- a/Configuration/TCA/tx_events_domain_model_organizer.php +++ b/Configuration/TCA/tx_events_domain_model_organizer.php @@ -17,7 +17,7 @@ return [ 'endtime' => 'endtime', ], 'searchFields' => 'name,street,district,city,zip,phone,web,email', - 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_organizer.gif' + 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_organizer.svg' ], 'types' => [ '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, street, district, city, zip, phone, web, email, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'], @@ -184,6 +184,6 @@ return [ 'eval' => 'trim' ], ], - + ], ]; diff --git a/Configuration/TCA/tx_events_domain_model_partner.php b/Configuration/TCA/tx_events_domain_model_partner.php index 88320c3..e4e142c 100644 --- a/Configuration/TCA/tx_events_domain_model_partner.php +++ b/Configuration/TCA/tx_events_domain_model_partner.php @@ -17,7 +17,7 @@ return [ 'disabled' => 'hidden', ], 'searchFields' => 'title', - 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_partner.gif' + 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_partner.svg' ], 'types' => [ '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, link, images, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access'], diff --git a/Configuration/TCA/tx_events_domain_model_region.php b/Configuration/TCA/tx_events_domain_model_region.php index 027904e..822b513 100644 --- a/Configuration/TCA/tx_events_domain_model_region.php +++ b/Configuration/TCA/tx_events_domain_model_region.php @@ -17,7 +17,7 @@ return [ 'endtime' => 'endtime', ], 'searchFields' => 'title', - 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_region.gif' + 'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_region.svg' ], 'types' => [ '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'], @@ -121,6 +121,6 @@ return [ 'eval' => 'trim' ], ], - + ], ]; diff --git a/Resources/Public/Icons/Extension.svg b/Resources/Public/Icons/Extension.svg index ec1bdec..f0baaf6 100644 --- a/Resources/Public/Icons/Extension.svg +++ b/Resources/Public/Icons/Extension.svg @@ -1 +1 @@ -Extension \ No newline at end of file + \ No newline at end of file diff --git a/Resources/Public/Icons/relation.gif b/Resources/Public/Icons/relation.gif deleted file mode 100644 index db61d7e..0000000 Binary files a/Resources/Public/Icons/relation.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_date.gif b/Resources/Public/Icons/tx_events_domain_model_date.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_date.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_date.svg b/Resources/Public/Icons/tx_events_domain_model_date.svg new file mode 100644 index 0000000..d859b72 --- /dev/null +++ b/Resources/Public/Icons/tx_events_domain_model_date.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_events_domain_model_event.gif b/Resources/Public/Icons/tx_events_domain_model_event.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_event.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_event.svg b/Resources/Public/Icons/tx_events_domain_model_event.svg new file mode 100644 index 0000000..51822b4 --- /dev/null +++ b/Resources/Public/Icons/tx_events_domain_model_event.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_events_domain_model_events.gif b/Resources/Public/Icons/tx_events_domain_model_events.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_events.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_organizer.gif b/Resources/Public/Icons/tx_events_domain_model_organizer.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_organizer.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_organizer.svg b/Resources/Public/Icons/tx_events_domain_model_organizer.svg new file mode 100644 index 0000000..fdbd451 --- /dev/null +++ b/Resources/Public/Icons/tx_events_domain_model_organizer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_events_domain_model_partner.gif b/Resources/Public/Icons/tx_events_domain_model_partner.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_partner.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_partner.svg b/Resources/Public/Icons/tx_events_domain_model_partner.svg new file mode 100644 index 0000000..e48ac0f --- /dev/null +++ b/Resources/Public/Icons/tx_events_domain_model_partner.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_events_domain_model_region.gif b/Resources/Public/Icons/tx_events_domain_model_region.gif deleted file mode 100644 index 37ba37b..0000000 Binary files a/Resources/Public/Icons/tx_events_domain_model_region.gif and /dev/null differ diff --git a/Resources/Public/Icons/tx_events_domain_model_region.svg b/Resources/Public/Icons/tx_events_domain_model_region.svg new file mode 100644 index 0000000..f604194 --- /dev/null +++ b/Resources/Public/Icons/tx_events_domain_model_region.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/Public/Icons/user_plugin_events.svg b/Resources/Public/Icons/user_plugin_events.svg deleted file mode 100644 index 17e1eb1..0000000 --- a/Resources/Public/Icons/user_plugin_events.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ext_localconf.php b/ext_localconf.php index caa33be..fec78e1 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -36,7 +36,7 @@ call_user_func( $iconRegistry->registerIcon( 'events-plugin', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, - ['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg'] + ['source' => 'EXT:events/Resources/Public/Icons/Extension.svg'] ); /* diff --git a/ext_tables.php b/ext_tables.php index e4fd548..181bc7f 100644 --- a/ext_tables.php +++ b/ext_tables.php @@ -5,15 +5,6 @@ defined('TYPO3') || die('Access denied.'); call_user_func( function () { - /* - \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( - 'Wrm.Events', - 'Pi1', - 'Events', - 'EXT:events/Resources/Public/Icons/user_plugin_events.svg' - ); - */ - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('events', 'Configuration/TypoScript', 'Events'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_events_domain_model_event', 'EXT:events/Resources/Private/Language/locallang_csh_tx_events_domain_model_event.xlf');