[TYPO3-english] question about "styles.content.get"
    typo3 study 
    typostudy at gmail.com
       
    Wed Jun  6 05:23:32 CEST 2012
    
    
  
Hi ,
In template->setup, I changed below code A
 page = PAGE
 page.typeNum = 0
 page.10 = CONTENT
 page.10.table = tt_content
 page.10.select {
      orderBy = sorting
      where = colPos = 0
 }
 page.10.renderObj = COA
 page.10.renderObj {
   10 = TEXT
   10.field = header
   10.wrap = <h1>|</h1>
   20 = TEXT
   20.field = bodytext
   20.wrap = <p>|</p>
 }
To code B
page = PAGE
 page.typeNum = 0
 page.10 < styles.content.get
A can work, but B can not work: no output. So is there anything wrong with
code B?
Tom
    
    
More information about the TYPO3-english
mailing list