Return to Snippet

Revision: 4424
at December 9, 2007 12:08 by jpdamen


Updated Code
temp.right = COA
temp.right {
	10 = CONTENT
	10  {
		table = tt_content
		select {
			selectFields = uid, header, bodytext
			pidInList = this
			orderBy = sorting
			where = colPos=2
		}
		renderObj = COA
		renderObj {
			10 = TEXT
			10 {
				field = header
				stdWrap.dataWrap = <div class="contentHeader_{field:uid}">|</div>
			}
			20 = TEXT
			20 {
				field = bodytext
				stdWrap.dataWrap = <div class="contentBody_{field:uid}">|</div>
			}
		}
		field = uid
		wrap = <div class='rightContentWrap'>|</div>
	}
}

Revision: 4423
at December 9, 2007 11:34 by jpdamen


Updated Code
temp.right = COA
temp.right {
	10 = CONTENT
	10  {
		table = tt_content
		select {
			pidInList = this
			orderBy = sorting
			where = colPos=2
		}
		renderObj = COA
		renderObj.10 = TEXT
		renderObj.10 {
			field = header
			wrap = <div class="contentHeader">|</div>
		}
		renderObj.20 = TEXT
		renderObj.20 {
			field = bodytext
			wrap = <div class="contentBody"> | </div>
		}
		wrap = <div class='rightContentWrap'>|</div>
	}
}

Revision: 4422
at December 9, 2007 11:33 by jpdamen


Initial Code
temp.right = COA
temp.right {
	10 = CONTENT
	10  {
		table = tt_content
		select {
			pidInList = this
			orderBy = sorting
			where = colPos=2
		}
		renderObj = COA
		renderObj.10 = TEXT
		renderObj.10 {
			field = header
			wrap = <div class="contentHeader">|</div>
		}
		renderObj.20 = TEXT
		renderObj.20 {
			field = bodytext
			wrap = <div class="contentBody"> | </div>
		}
		wrap = <div class='rightContentWrap'>|</div>
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
render content elements in Typoscript

Initial Tags
textmate

Initial Language
Other