[TYPO3] Default content using TS - solved
tapio
tapio.markula at dnainternet.net
Thu Mar 2 13:30:57 CET 2006
tapio wrote:
> hi,
>
> i have the follow script in my template:
>
> CONTENTRECHTS = COA
> CONTENTRECHTS {
> 1 = COA
> 1 {
> 10 < styles.content.getBorder
> }
> 1.10.ifEmpty {
> 10 < styles.vidsoft.contentRechts
> }
> }
>
> it doesn't work... i don't know why...
>
> I tried with
>
> temp.getRight = COA
> temp.getRight {
> 1 = COA
> 1 {
> 10 < styles.content.getRight
> }
> 1.10.ifEmpty {
> 10 =TEXT
> 10.value =test
> }
> }
>
> ...
> subpart.colRight < temp.getRight
>
>
> any ideas or solutions ???
> I didn't find the whole thread (this was in cache - other deleted)
Need CONTENT instead of COA
temp.getRight = CONTENT
temp.getRight < styles.content.getRight
temp.getRight {
stdWrap.ifEmpty.cObject = CONTENT
stdWrap.ifEmpty.cObject {
table = tt_content
select {
pidInList = 690
orderBy = sorting
where = colPos = 2
languageField = sys_language_uid
}
}
}
More information about the TYPO3-english
mailing list