0
하위 개체의 콘텐츠를 표시하고 특정 div에 래핑하고 싶습니다. 여기 내 코드는 다음과 같습니다.Typoscript : Wrap 콘텐츠 요소
lib.content = CONTENT
lib.content {
stdWrap.wrap = <div id="sub-content-scroll">|</div>
renderObj.stdWrap.wrap = <div class="page">|</div>
table = tt_content
select {
pidInList.cObject < lib.allPid
where = colPos = 0
orderBy = pid
}
}
내 질문은 : 어떻게 pid 당 하나만 감쌀 수 있습니까? 이제는 모든 content 요소를 페이지 div로 래핑합니다. 그러나 사이트별로 랩을 달성하고 싶습니다. 추신 : lib.allPid는 ID가있는 kommaseparated 목록입니다.
나를 도와 줄 사람이 있습니까?
는 Coreblade
: http://typo3.org/documentation/ 스 니펫/sd/38 / – Adrian