feat: change to other sitepakage
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user