We Recommend

Building Websites with TYPO3 Building Websites with TYPO3
Follow a clear path through the power and complexity of TYPO3 to get started, and build your own TYPO3 website This book is a fast paced tutorial to creating a website using TYPO3. If you have never used TYPO3, or even any web content management system before, then you need not look further than this book as it walks you through each step to create your own TYPO3 site.


Posted By

jpdamen on 12/09/07


Tagged

textmate typoscript content renderObj


Versions (?)


render content elements in Typoscript


Published in: Other 


  1. temp.right = COA
  2. temp.right {
  3. 10 = CONTENT
  4. 10 {
  5. table = tt_content
  6. select {
  7. selectFields = uid, header, bodytext
  8. pidInList = this
  9. orderBy = sorting
  10. where = colPos=2
  11. }
  12. renderObj = COA
  13. renderObj {
  14. 10 = TEXT
  15. 10 {
  16. field = header
  17. stdWrap.dataWrap = <div class="contentHeader_{field:uid}">|</div>
  18. }
  19. 20 = TEXT
  20. 20 {
  21. field = bodytext
  22. stdWrap.dataWrap = <div class="contentBody_{field:uid}">|</div>
  23. }
  24. }
  25. field = uid
  26. wrap = <div class='rightContentWrap'>|</div>
  27. }
  28. }

Report this snippet 

You need to login to post a comment.