feat: change to other sitepakage

This commit is contained in:
2024-12-12 12:31:41 +01:00
parent 948513cc41
commit 2bac342a5e
147 changed files with 1060 additions and 28057 deletions

View File

@@ -0,0 +1,47 @@
#
# BACKENDLAYOUT: DEFAULT
#
mod {
web_layout {
BackendLayouts {
default {
title = Default
config {
backend_layout {
colCount = 12
rowCount = 2
rows {
1 {
columns {
1 {
name = LLL:EXT:base/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal
colPos = 0
colspan = 12
identifier = main
}
}
}
2 {
columns {
1 {
name = Footer Left
colPos = 90
colspan = 6
identifier = footer-left
}
2 {
name = Footer Right
colPos = 91
colspan = 6
identifier = footer-right
}
}
}
}
}
}
icon = EXT:test/Resources/Public/Icons/BackendLayouts/example.svg
}
}
}
}

View File

@@ -0,0 +1,71 @@
lib.dynamicContent = COA
lib.dynamicContent {
5 = LOAD_REGISTER
5 {
colPos.cObject = TEXT
colPos.cObject {
field = colPos
ifEmpty.cObject = TEXT
ifEmpty.cObject {
value.current = 1
ifEmpty = 0
}
}
slide.cObject = TEXT
slide.cObject {
override {
field = slide
if {
isInList.field = slide
value = -1, 0, 1, 2
}
}
ifEmpty = 0
}
pageUid.cObject = TEXT
pageUid.cObject {
field = pageUid
ifEmpty.data = TSFE:id
}
contentFromPid.cObject = TEXT
contentFromPid.cObject {
data = DB:pages:{register:pageUid}:content_from_pid
data.insertData = 1
}
wrap.cObject = TEXT
wrap.cObject {
field = wrap
}
elementWrap.cObject = TEXT
elementWrap.cObject {
field = elementWrap
}
}
20 = CONTENT
20 {
table = tt_content
select {
includeRecordsWithoutDefaultTranslation = 1
orderBy = sorting
where = {#colPos}={register:colPos}
where.insertData = 1
pidInList.data = register:pageUid
pidInList.override.data = register:contentFromPid
}
slide = {register:slide}
slide.insertData = 1
renderObj {
stdWrap {
dataWrap = {register:elementWrap}
required = 1
}
}
stdWrap {
dataWrap = {register:wrap}
required = 1
}
}
90 = RESTORE_REGISTER
}
lib.dynamicContentSlide =< lib.dynamicContent
lib.dynamicContentSlide.20.slide = -1

View File

@@ -0,0 +1,36 @@
################
#### CONFIG ####
################
config {
absRefPrefix = auto
no_cache = {$config.no_cache}
uniqueLinkVars = 1
pageTitleFirst = 1
linkVars = L
prefixLocalAnchors = {$config.prefixLocalAnchors}
renderCharset = utf-8
metaCharset = utf-8
doctype = html5
removeDefaultJS = {$config.removeDefaultJS}
inlineStyle2TempFile = 1
admPanel = {$config.admPanel}
debug = 0
cache_period = 86400
sendCacheHeaders = {$config.sendCacheHeaders}
intTarget =
extTarget =
disablePrefixComment = 1
index_enable = 1
index_externals = 1
index_metatags = 1
headerComment = {$config.headerComment}
// Disable Image Upscaling
noScaleUp = 1
// Compression and Concatenation of CSS and JS Files
compressJs = 1
compressCss = 1
concatenateJs = 1
concatenateCss = 1
}

View File

@@ -0,0 +1,79 @@
##############
#### PAGE ####
##############
page = PAGE
page {
typeNum = 0
shortcutIcon = EXT:base/Resources/Public/Icons/favicon.ico
10 = PAGEVIEW
10 {
paths {
0 = EXT:base/Resources/Private/PageView/
1 = {$page.pageview.paths}
}
dataProcessing {
10 = files
10 {
references.fieldName = media
}
20 = menu
20 {
levels = 2
includeSpacer = 1
as = mainnavigation
}
30 = page-content
}
}
meta {
viewport = {$page.meta.viewport}
robots = {$page.meta.robots}
apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable}
X-UA-Compatible = {$page.meta.compatible}
X-UA-Compatible {
attribute = http-equiv
}
}
includeCSSLibs {
}
includeCSS {
main = EXT:base/Resources/Public/Scss/main.scss
}
includeJSLibs {
navigation = EXT:base/Resources/Public/JavaScript/navigation.js
}
includeJS {
}
includeJSFooterlibs {
}
includeJSFooter {
test_scripts = EXT:base/Resources/Public/JavaScript/main.js
}
}
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:base/ContentBlocks" extensions="typoscript">
lib.contentElement {
layoutRootPaths {
0 = EXT:base/Resources/Private/ContentElements/Layouts/
}
}
lib.contentBlock {
partialRootPaths.0 < lib.contentElement.partialRootPaths.0
layoutRootPaths.0 < lib.contentElement.layoutRootPaths.0
settings < lib.contentElement.settings
}

View File

@@ -0,0 +1,5 @@
name: cloonar-typo3/base
label: 'Base Design'
dependencies:
- typo3/fluid-styled-content
- typo3/fluid-styled-content-css

View File

@@ -0,0 +1,21 @@
@import './PageTsConfig/BackendLayouts/'
RTE {
default {
preset = base
}
}
TCEFORM {
pages {
}
tt_content {
}
}
TCEMAIN {
}

View File

@@ -0,0 +1,28 @@
styles:
templates:
layoutRootPath: 'EXT:base/Resources/Private/ContentElements/Layouts/'
partialRootPath: 'EXT:base/Resources/Private/ContentElements/Partials/'
templateRootPath: 'EXT:base/Resources/Private/ContentElements/Templates/'
page:
pageview:
paths: 'EXT:base/Resources/Private/PageView/'
meta:
viewport: 'width=device-width, initial-scale=1'
robots: 'index,follow'
apple-mobile-web-app-capable: 'no'
compatible: 'IE=edge'
tracking:
google:
trackingID: ''
anonymizeIp: '1'
config:
no_cache: '0'
removeDefaultJS: '0'
admPanel: '1'
prefixLocalAnchors: 'all'
headerComment: 'build by get.typo3.org/sitepackage'
sendCacheHeaders: '1'

View File

@@ -0,0 +1 @@
@import './TypoScript/'