Language TypoScript
Date: | 07/29/08 |
Author: | Martin Hentschel |
URL: | n/a |
Comments: | 0 |
Info: | http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/current/view/ |
Score: | (2.75 in 4 votes) |
# TypoScript is the configuration language of Typo3, a webbased # content management framework released under GPL (http://typo3.org/). # It is rumored that TypoScript isn't a programming language. page = PAGE page.1 = TEXT page.1 { stdWrap.prefixComment = 24 | split { token.char = 9 cObjNum = 1 |*||*| 2 || 3 1.cObject = COA 1.cObject.10 = LOAD_REGISTER 1.cObject.10.counter { cObject = TEXT cObject.data = register:counter cObject.wrap = |+1 prioriCalc = intval } 1.cObject.20 = LOAD_REGISTER 1.cObject.20.current { cObject = TEXT cObject.data = register:counter cObject.wrap = 99-| prioriCalc = intval } 1.cObject.30 = TEXT 1.cObject.30.data = register:current 1.cObject.30.noTrimWrap ( |Take one down, pass it around<br>| bottles of beer on the wall<br>| ) 1.cObject.40 = TEXT 1.cObject.40.data = register:current 1.cObject.40.noTrimWrap = |<br>| bottles of beer on the wall<br>| 1.cObject.50 = TEXT 1.cObject.50.data = register:current 1.cObject.50.noTrimWrap = || bottles of beer<br>| 2.cObject = TEXT 2.cObject.value ( Take one down, pass it around<br> One bottle of beer on the wall<br><br> ) 3.cObject = TEXT 3.cObject.value ( One bottle of beer on the wall<br> One bottle of beer<br> Take one down, pass it around<br> No more bottles of beer on the wall ) } wrap ( <blockquote>99 bottles of beer on the wall<br> 99 bottles of beer<br>|</blockquote> ) }
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments