Hallo Zusammen
Habe ein Problem, und zwar will ich mit Hilfe dieses TypoScripts den Seiten
Titel an die UserFunc übergeben...
lib.OnePagerContent = COA
lib.OnePagerContent {
10 = CONTENT
10 {
table = pages
select {
pidInList.field = uid
orderBy = sorting ASC
#languageField.data = TSFE:sys_language_uid
}
renderObj = COA
renderObj {
# Prallax Bild
10 = FILES
10 {
references {
table = pages
uid.data = field:uid
fieldName = media
}
renderObj = COA
renderObj {
10 = IMG_RESOURCE
10 {
stdWrap.wrap = <section class="parallax-section" style="background-image:
url('mustercom/|');"></section>
file.import.data = file:current<i class="mmforum-iconset-20-razz"></i>
}
}
}
17 = TEXT
17 {
field = title
wrap = <div class="containerWidth"><div class="container"><h1>|</h1>
}
20 = USER
20 {
userFunc = user_contentTitle->getContentTitle
userFunc {
currentUid < .17
}
}
# Inhaltselement(e)
30 = CONTENT
30 {
table = tt_content
select {
languageField = sys_language_uid
pidInList.field = uid
orderBy = sorting
where = tx_gridelements_container = 0
}
wrap = <div class="content-inner" data-pid="{field:uid}">|</div>
wrap.insertData = 1
}
wrap = <div class="content-section">|</div></div></div>
}
}
}
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german