diff --git a/Configuration/TSconfig/Page/All.tsconfig b/Configuration/TSconfig/Page/All.tsconfig index af89161..decb162 100644 --- a/Configuration/TSconfig/Page/All.tsconfig +++ b/Configuration/TSconfig/Page/All.tsconfig @@ -5,3 +5,34 @@ + +# ### +# BE module settings +# ### + +mod { + # content element wizard + wizards.newContentElement { + wizardItems { + common { + elements { + shortcut < mod.wizards.newContentElement.wizardItems.special.elements.shortcut + } + + show := addToList(shortcut) + } + + special { + show := removeFromList(shortcut) + } + + mask > + } + } + + # BE default language optimization + SHARED { + defaultLanguageFlag = de + defaultLanguageLabel = Deutsch + } +} diff --git a/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig b/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig index 07c2111..fad18c3 100644 --- a/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +++ b/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig @@ -8,7 +8,7 @@ mod { title = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.default config { backend_layout { - colCount = 2 + colCount = 3 rowCount = 1 rows { 1 { @@ -16,18 +16,19 @@ mod { 1 { name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal colPos = 0 + colSpan = 2 } 2 { name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.marginal colPos = 1 - width = 25% + colSpan = 1 } } } } } } - icon = EXT:sitepackage/Resources/Public/Icons/BackendLayouts/example.svg + icon = EXT:sitepackage/Resources/Public/Icons/BackendLayouts/default.svg } } } diff --git a/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/home.tsconfig b/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/home.tsconfig index b2cf4a3..a90be62 100644 --- a/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/home.tsconfig +++ b/Configuration/TSconfig/Page/Mod/WebLayout/BackendLayouts/home.tsconfig @@ -8,7 +8,7 @@ mod { title = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.home config { backend_layout { - colCount = 1 + colCount = 3 rowCount = 2 rows { 1 { @@ -16,21 +16,30 @@ mod { 1 { name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal colPos = 0 + colspan = 3 } } } 2 { columns { 1 { - name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.footer + name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.footer-left colPos = 200 } + 2 { + name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.footer-center + colPos = 201 + } + 3 { + name = LLL:EXT:sitepackage/Resources/Private/Language/locallang_be.xlf:backend_layout.column.footer-right + colPos = 202 + } } } } } } - icon = EXT:sitepackage/Resources/Public/Icons/BackendLayouts/example.svg + icon = EXT:sitepackage/Resources/Public/Icons/BackendLayouts/home.svg } } } diff --git a/Configuration/TSconfig/Page/RTE.tsconfig b/Configuration/TSconfig/Page/RTE.tsconfig index 26f9321..3a9ae9c 100644 --- a/Configuration/TSconfig/Page/RTE.tsconfig +++ b/Configuration/TSconfig/Page/RTE.tsconfig @@ -3,6 +3,6 @@ ############# RTE { default { - preset = sitepackage + preset = sitepackage_default } } diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index be5662d..d1fe4ba 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -110,9 +110,15 @@ page { marginal-content < styles.content.get marginal-content.select.where = colPos=1 - footer-content < styles.content.get - footer-content.select.where = colPos=200 - footer-content.slide = -1 + footer-left < styles.content.get + footer-left.select.where = colPos=200 + footer-left.slide = -1 + footer-center < styles.content.get + footer-center.select.where = colPos=201 + footer-center.slide = -1 + footer-right < styles.content.get + footer-right.select.where = colPos=202 + footer-right.slide = -1 # breadcrumbSingleRecordEntry is used to extend the breadcrumb path # it allows us to display the title of a single record (like tx_news detail page) diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf new file mode 100644 index 0000000..498fe07 --- /dev/null +++ b/Resources/Private/Language/de.locallang.xlf @@ -0,0 +1,45 @@ + + + +
+ Christian Seyfferth + info@chrosey.de +
+ + + You are here + Sie sind hier + + + Brotkrumenpfad + + + + Home + Startseite + + + Logo + Logo + + + Main navigation + Hauptnavigation + + + + Meta navigation + Meta Navigation + + + + Language navigation + Sprachnavigation + + + Select your language + Sprache wählen + + +
+
diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index 6d51cd2..3a217c0 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -6,6 +6,33 @@ info@chrosey.de + + You are here + + + Breadcrumb + + + + Home + + + Logo + + + Main navigation + + + + Meta navigation + + + + Language navigation + + + Select your language + diff --git a/Resources/Private/Language/locallang_be.xlf b/Resources/Private/Language/locallang_be.xlf index 6a60882..cf741f4 100644 --- a/Resources/Private/Language/locallang_be.xlf +++ b/Resources/Private/Language/locallang_be.xlf @@ -18,8 +18,14 @@ Marginal - - Footer + + Footer links + + + Footer mitte + + + Footer rechts diff --git a/Resources/Private/Layouts/Page/Default.html b/Resources/Private/Layouts/Page/Default.html index 47b9644..fcdd6fe 100644 --- a/Resources/Private/Layouts/Page/Default.html +++ b/Resources/Private/Layouts/Page/Default.html @@ -1,8 +1,13 @@ -
-
- +
+ +
+
+ +
+
+ diff --git a/Resources/Private/Partials/Page/Navigation/Breadcrumb.html b/Resources/Private/Partials/Page/Navigation/Breadcrumb.html new file mode 100644 index 0000000..1ee771d --- /dev/null +++ b/Resources/Private/Partials/Page/Navigation/Breadcrumb.html @@ -0,0 +1,53 @@ + + + + + + diff --git a/Resources/Private/Partials/Page/Navigation/Language.html b/Resources/Private/Partials/Page/Navigation/Language.html new file mode 100644 index 0000000..764a060 --- /dev/null +++ b/Resources/Private/Partials/Page/Navigation/Language.html @@ -0,0 +1,23 @@ + + + + + diff --git a/Resources/Private/Partials/Page/Navigation/Main.html b/Resources/Private/Partials/Page/Navigation/Main.html new file mode 100644 index 0000000..1c6879c --- /dev/null +++ b/Resources/Private/Partials/Page/Navigation/Main.html @@ -0,0 +1,48 @@ + +{f:variable(name: 'hasChildrenClasses', value: ' has-dropdown')} + + + {f:variable(name: 'listClasses', value: ' off-canvas-list menu vertical accordion-menu')} + {f:variable(name: 'listAttributes', value: ' data-accordion-menu data-submenu-toggle="true"')} + {f:variable(name: 'hasChildrenClasses', value: ' has-submenu')} + + + + + + + + + + diff --git a/Resources/Private/Partials/Page/Navigation/Meta.html b/Resources/Private/Partials/Page/Navigation/Meta.html new file mode 100644 index 0000000..fdd0b78 --- /dev/null +++ b/Resources/Private/Partials/Page/Navigation/Meta.html @@ -0,0 +1,13 @@ + + + + + diff --git a/Resources/Private/Partials/Page/SiteFooter.html b/Resources/Private/Partials/Page/SiteFooter.html new file mode 100644 index 0000000..48f2f31 --- /dev/null +++ b/Resources/Private/Partials/Page/SiteFooter.html @@ -0,0 +1,11 @@ + +
+
+
+
{footer-left -> f:format.raw()}
+
{footer-center -> f:format.raw()}
+
{footer-right -> f:format.raw()}
+
+
+
+ diff --git a/Resources/Private/Partials/Page/SiteHeader.html b/Resources/Private/Partials/Page/SiteHeader.html new file mode 100644 index 0000000..f95a14c --- /dev/null +++ b/Resources/Private/Partials/Page/SiteHeader.html @@ -0,0 +1,23 @@ + + + diff --git a/Resources/Private/Templates/Page/Default.html b/Resources/Private/Templates/Page/Default.html index 14f7e0d..8ffb81b 100644 --- a/Resources/Private/Templates/Page/Default.html +++ b/Resources/Private/Templates/Page/Default.html @@ -23,10 +23,6 @@
- -
- {footer-content -> f:format.raw()} -
diff --git a/Resources/Private/Templates/Page/Home.html b/Resources/Private/Templates/Page/Home.html index 175560d..9227def 100644 --- a/Resources/Private/Templates/Page/Home.html +++ b/Resources/Private/Templates/Page/Home.html @@ -6,8 +6,5 @@ {main-content -> f:format.raw()} -
- {footer-content -> f:format.raw()} -
diff --git a/Resources/Public/Icons/BackendLayouts/default.svg b/Resources/Public/Icons/BackendLayouts/default.svg new file mode 100644 index 0000000..c14c39c --- /dev/null +++ b/Resources/Public/Icons/BackendLayouts/default.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Resources/Public/Icons/BackendLayouts/example.svg b/Resources/Public/Icons/BackendLayouts/example.svg index d05abec..29eef2e 100644 --- a/Resources/Public/Icons/BackendLayouts/example.svg +++ b/Resources/Public/Icons/BackendLayouts/example.svg @@ -1 +1,9 @@ - \ No newline at end of file + + + + + + + + + diff --git a/Resources/Public/Icons/BackendLayouts/home.svg b/Resources/Public/Icons/BackendLayouts/home.svg new file mode 100644 index 0000000..70d27ef --- /dev/null +++ b/Resources/Public/Icons/BackendLayouts/home.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Resources/Public/Icons/Extension.svg b/Resources/Public/Icons/Extension.svg index d853637..219a642 100644 --- a/Resources/Public/Icons/Extension.svg +++ b/Resources/Public/Icons/Extension.svg @@ -1,3 +1,23 @@ - - + + + + + + + + + + + + background + + + + + + + chrosey.de + + + diff --git a/Resources/Public/Images/Frontend/logo.svg b/Resources/Public/Images/Frontend/logo.svg new file mode 100644 index 0000000..d882159 --- /dev/null +++ b/Resources/Public/Images/Frontend/logo.svg @@ -0,0 +1 @@ + diff --git a/ext_localconf.php b/ext_localconf.php index ea0c682..823b538 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,12 +1,23 @@ '); + /*************** + * Add default RTE configuration + */ + $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['sitepackage_default'] = 'EXT:sitepackage/Configuration/RTE/Default.yaml'; + + /*************** + * PageTS + */ + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(''); + + /*************** + * MaskExport + */ + $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\IchHabRecht\MaskExport\Controller\ExportController::class] = [ + 'className' => \Chrosey\Sitepackage\Controller\MaskExport\ExportController::class + ]; + +});