[TYPO3] treeLevel problem, (am I right?)

Marcus Biesioroff vsbies at wp.pl
Thu Jul 24 18:53:39 CEST 2008


ellou' again

you wrote:

> ellou' List!

> I'm trying use a treeLevel to add some functions only on pages of
> certain level ... :) (that's natural)

> But... unfortunately it doesn't seems to work...


Oh I recognized that below code is working. Is this correct???

Sorry for dumb questions, but I didn't use it yet and have no sure
which way is correct (last one is working ;) )
:

[treeLevel = 5]
multiNormal = COA
multiNormal {
 
  10 = TEXT
  10.value = TEST OF TREELEVEL

  20 = CONTENT
  20 {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 0
    select.languageField  = sys_language_uid
  }
}

[else]

multiNormal = COA
multiNormal {
 
  20 = CONTENT
  20 {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 0
    select.languageField  = sys_language_uid
  }
}

[global]






-- 
greets,
 Marcus 'biesior' Biesioroff




More information about the TYPO3-english mailing list