[TYPO3] TemplaVoila Main Template

Kuldev Singh kuldev at fivee.in
Wed May 2 14:32:30 CEST 2007


Hi All,

I am creating a site where I have to change top banner and some
contents, on few pages, so I created Content Element on Main Template in
templavoila as you can see attachment image. I have also written some TS 
code,
so that image can inherit by child page if there is no image specified.

but it is not working. plz suggest me what I do or is there any mistake?.

TS:

temp.ContentUpper.current = CONTENT
temp.ContentUpper.current  {
   table = tt_conten
    select.pidInList.data = leveluid : -1
   select.pidInList.data = 1
   select.orderBy = sorting
   select.where = colPos=1
}

lib.contentlower < temp.ContentUpper.current
lib.contentlower.stdWrap.ifEmpty.cObject < temp.ContentUpper.current

lib.contentlower.stdWrap.ifEmpty.cObject {
   select.pidInList.data = leveluid : -2
    stdWrap.ifEmpty.cObject  < temp.ContentUpper.current
   stdWrap.ifEmpty.cObject {
     select.pidInList.data = leveluid : -3
     stdWrap.ifEmpty.cObject  < temp.ContentUpper.current
     stdWrap.ifEmpty.cObject {
       select.pidInList.data = leveluid : -4
         stdWrap.ifEmpty.cObject  < temp.ContentUpper.current
         stdWrap.ifEmpty.cObject {
           select.pidInList.data = leveluid : -5
       }
     }
   }

  }

regard
kuldev bisht
--www.fivee.in---



More information about the TYPO3-english mailing list