[Typo3-dev] One pass through TS only?
    Ingmar Schlecht 
    ingmars at web.de
       
    Thu May 27 12:54:43 CEST 2004
    
    
  
Peter Niederlag schrieb:
> you can either copy '<' or reference '=<' TS-Objects, you can split them 
> up into differnet templates, you can use custom functions(cached/non 
> cached), you can use conditions.
It's important to notice that making copies by using '<' is a TypoScript 
feature, whereas making references '=<' is not. The reference thing is 
only implemented in the function cObj_getSingle() which is the function 
returning cObjects.
That means, the following is possible:
   something = TEXT
   something.value = Hello World!
   page.20 = < something
   (This would ouput "Hello World!")
Whereas this is not possible:
   something = TEXT
   something.value = Hello World!
   page.20 = TEXT
   page.20.value = < something.value
   (This would ouput "< something.value")
See also: 
http://typo3.org/documentation/document-library/doc_core_ts/TypoScript_Syntax/
cheers,
Ingmar
    
    
More information about the TYPO3-dev
mailing list