diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml
index 1040552..56552b1 100644
--- a/Configuration/Services.yaml
+++ b/Configuration/Services.yaml
@@ -8,6 +8,8 @@ services:
resource: '../Classes/*'
B13\Backendpreviews\Hooks\BackendPreviewRenderer:
public: true
+ B13\Backendpreviews\Service\DatabaseRowService:
+ public: true
B13\Backendpreviews\Listener\PageContentPreviewRendering:
tags:
- name: event.listener
diff --git a/Configuration/Sets/b13/page.tsconfig b/Configuration/Sets/b13/page.tsconfig
index 58cfce4..244007a 100644
--- a/Configuration/Sets/b13/page.tsconfig
+++ b/Configuration/Sets/b13/page.tsconfig
@@ -3,3 +3,7 @@ mod.web_layout.tt_content.preview.view {
partialRootPaths.0 = EXT:backendpreviews/Resources/Private/Partials
templateRootPaths.0 = EXT:backendpreviews/Resources/Private/Templates
}
+
+[typo3.version < 14]
+ mod.web_layout.tt_content.preview.view.partialRootPaths.1 = EXT:backendpreviews/Resources/Private/PartialsLegacy
+[END]
diff --git a/Resources/Private/Partials/Defaults/CTypeLabel.html b/Resources/Private/Partials/Defaults/CTypeLabel.html
index 7e8b253..e72d8c8 100644
--- a/Resources/Private/Partials/Defaults/CTypeLabel.html
+++ b/Resources/Private/Partials/Defaults/CTypeLabel.html
@@ -10,9 +10,12 @@
{CType-label}
+
+ {f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {record.CType -> f:format.case(mode: 'capital')}
+
- {f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {CType -> f:format.case(mode: 'capital')}
+ {f:translate(key: 'LLL:EXT:backendpreviews/Resources/Private/Language/locallang_db.xlf:CType.label')}: {CType -> f:format.case(mode: 'capital')}
-