0
Gridelements 7.0.5와 함께 Typo3 7.6.10을 사용하고 있습니다. gridelement 출력을 다음 코드로 감싸려고하지만 래핑이 작동하지 않습니다. 두 파일 모두로드됩니다. 2-cols-50-50 요소는 백엔드에서 사용할 수 있으며 정적 gridelements 템플릿이로드됩니다. 그립 요소의 내용은 gridelements.ts 파일에 정의 된 줄 바꿈없이 표시됩니다.Typo3 Gridelements - 설정이 작동하지 않습니다.
나는 모든 도움을 드리겠습니다.
tsconfig.ts
tx_gridelements {
overruleRecords = 1
setup {
2-cols-50-50 {
title = 2-Columns
description = 2-columns contentelement
topLevelLayout = 0
config {
colCount = 2
rowCount = 1
rows {
1 {
columns {
1 {
name = Left
colPos = 11
}
2 {
name = Right
colPos = 12
}
}
}
}
}
}
}
}
gridelements.ts
tt_content.gridelements_pi1.20.10.setup >
tt_content.gridelements_pi1.20.10.setup {
2-cols-50-50 < lib.gridelements.defaultGridSetup
2-cols-50-50 {
columns {
11 < .default
11.wrap = <div class="left">|</div>
12 < .default
12.wrap = <div class="right">|</div>
}
wrap = <div class="well">|</div>
}
}
''2-cols-50-50 ''대신'2-cols-50-50'을 사용해야합니다. 따라서''' –
도 제거하십시오. –