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 @@
+
+
+