diff --git a/Classes/Extension.php b/Classes/Extension.php index 52a98b9..fd2d1c8 100644 --- a/Classes/Extension.php +++ b/Classes/Extension.php @@ -91,7 +91,7 @@ class Extension thuecat_tourist_attraction{ title = ' . $languagePath . '.thuecat_tourist_attraction description = ' . $languagePath . '.thuecat_tourist_attraction.description - iconIdentifier = tx_thuecat_tourist_attraction + iconIdentifier = tt_content_thuecat_tourist_attraction tt_content_defValues { CType = thuecat_tourist_attraction } diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index 0181abf..1eb4e24 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -7,6 +7,11 @@ defined('TYPO3') or die(); . 'locallang_tca.xlf:' . $tableName; \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA'][$tableName], [ + 'ctrl' => [ + 'typeicon_classes' => [ + 'contains-thuecat' => 'pages_module_thuecat', + ], + ], 'columns' => [ 'tx_thuecat_flexform' => [ 'label' => $languagePath . '.tx_thuecat_flexform', @@ -33,6 +38,16 @@ defined('TYPO3') or die(); \WerkraumMedia\ThueCat\Extension::TCA_SELECT_GROUP_IDENTIFIER, $languagePath . '.group' ); + + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem( + $tableName, + 'module', + [ + 0 => $languagePath . '.module.thuecat', + 1 => 'thuecat', + 2 => 'pages_module_thuecat', + ] + ); })( \WerkraumMedia\ThueCat\Extension::EXTENSION_KEY, 'pages' diff --git a/Configuration/TCA/Overrides/tt_content_tourist_attraction.php b/Configuration/TCA/Overrides/tt_content_tourist_attraction.php index f6a5b8e..c23fd6d 100644 --- a/Configuration/TCA/Overrides/tt_content_tourist_attraction.php +++ b/Configuration/TCA/Overrides/tt_content_tourist_attraction.php @@ -9,7 +9,7 @@ defined('TYPO3') or die(); \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA'][$tableName], [ 'ctrl' => [ 'typeicon_classes' => [ - $cType => 'tx_' . $cType, + $cType => 'tt_content_' . $cType, ], ], 'types' => [ @@ -54,7 +54,7 @@ defined('TYPO3') or die(); [ $languagePath, $cType, - \WerkraumMedia\ThueCat\Extension::getIconPath() . 'tx_' . $cType . '.svg', + \WerkraumMedia\ThueCat\Extension::getIconPath() . 'tt_content_' . $cType . '.svg', \WerkraumMedia\ThueCat\Extension::TCA_SELECT_GROUP_IDENTIFIER, ] ); diff --git a/Documentation/Changelog/1.3.0.rst b/Documentation/Changelog/1.3.0.rst index 79ab2c2..518a11e 100644 --- a/Documentation/Changelog/1.3.0.rst +++ b/Documentation/Changelog/1.3.0.rst @@ -80,6 +80,10 @@ Tasks * Remove seconds from opens and closes of opening hours as we don't expect them to be used. +* Use new icons in streamlined color and UI. + Provide new icon for storage folders. + Provide new icon for content element. + Deprecation ----------- diff --git a/Resources/Private/Language/locallang_tca.xlf b/Resources/Private/Language/locallang_tca.xlf index 2f9cebd..ff409e0 100644 --- a/Resources/Private/Language/locallang_tca.xlf +++ b/Resources/Private/Language/locallang_tca.xlf @@ -309,6 +309,9 @@ Configuration + + ThÜCAT + diff --git a/Resources/Public/Icons/Extension.svg b/Resources/Public/Icons/Extension.svg index e27befb..65195a0 100644 --- a/Resources/Public/Icons/Extension.svg +++ b/Resources/Public/Icons/Extension.svg @@ -1 +1,20 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/pages_module_thuecat.svg b/Resources/Public/Icons/pages_module_thuecat.svg new file mode 100644 index 0000000..1360247 --- /dev/null +++ b/Resources/Public/Icons/pages_module_thuecat.svg @@ -0,0 +1,22 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/pages_tourist_attraction.svg b/Resources/Public/Icons/pages_tourist_attraction.svg index 922ad4a..88f6c16 100644 --- a/Resources/Public/Icons/pages_tourist_attraction.svg +++ b/Resources/Public/Icons/pages_tourist_attraction.svg @@ -1 +1,66 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tt_content_thuecat_tourist_attraction.svg b/Resources/Public/Icons/tt_content_thuecat_tourist_attraction.svg new file mode 100644 index 0000000..39e576d --- /dev/null +++ b/Resources/Public/Icons/tt_content_thuecat_tourist_attraction.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_import_configuration.svg b/Resources/Public/Icons/tx_thuecat_import_configuration.svg index c64b1aa..61bc9d7 100644 --- a/Resources/Public/Icons/tx_thuecat_import_configuration.svg +++ b/Resources/Public/Icons/tx_thuecat_import_configuration.svg @@ -1 +1,41 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_import_log.svg b/Resources/Public/Icons/tx_thuecat_import_log.svg index 0dc041b..24ad36d 100644 --- a/Resources/Public/Icons/tx_thuecat_import_log.svg +++ b/Resources/Public/Icons/tx_thuecat_import_log.svg @@ -1 +1,56 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + LOG + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_import_log_entry.svg b/Resources/Public/Icons/tx_thuecat_import_log_entry.svg index cf72782..24ad36d 100644 --- a/Resources/Public/Icons/tx_thuecat_import_log_entry.svg +++ b/Resources/Public/Icons/tx_thuecat_import_log_entry.svg @@ -1 +1,56 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + LOG + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_organisation.svg b/Resources/Public/Icons/tx_thuecat_organisation.svg index cb94ffa..90a5159 100644 --- a/Resources/Public/Icons/tx_thuecat_organisation.svg +++ b/Resources/Public/Icons/tx_thuecat_organisation.svg @@ -1 +1,77 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_parking_facility.svg b/Resources/Public/Icons/tx_thuecat_parking_facility.svg index 35905ca..47254f3 100644 --- a/Resources/Public/Icons/tx_thuecat_parking_facility.svg +++ b/Resources/Public/Icons/tx_thuecat_parking_facility.svg @@ -1 +1,42 @@ - \ No newline at end of file + + + + + + + + + + + + + P + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_tourist_attraction.svg b/Resources/Public/Icons/tx_thuecat_tourist_attraction.svg index bc820f8..f12811b 100644 --- a/Resources/Public/Icons/tx_thuecat_tourist_attraction.svg +++ b/Resources/Public/Icons/tx_thuecat_tourist_attraction.svg @@ -1 +1,30 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_tourist_information.svg b/Resources/Public/Icons/tx_thuecat_tourist_information.svg index 8adf897..a09cc51 100644 --- a/Resources/Public/Icons/tx_thuecat_tourist_information.svg +++ b/Resources/Public/Icons/tx_thuecat_tourist_information.svg @@ -1 +1,55 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + i + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/tx_thuecat_town.svg b/Resources/Public/Icons/tx_thuecat_town.svg index 35905ca..f337a8e 100644 --- a/Resources/Public/Icons/tx_thuecat_town.svg +++ b/Resources/Public/Icons/tx_thuecat_town.svg @@ -1 +1,56 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file