
# ===============================================================================
# tt_content configuration
# ===============================================================================
tt_content {

	# **********************************************************
	# Textmedia
	# **********************************************************
	textmedia {
		dataProcessing {
			20 >
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				disableAutoRow =  {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}

	# **********************************************************
	# Textpic
	# **********************************************************
	textpic {
		dataProcessing {
			20 >
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				disableAutoRow =  {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}

	# **********************************************************
	# Image
	# **********************************************************
	image {
		dataProcessing {
			20 >
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				disableAutoRow =  {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}


	# **********************************************************
	# Bullet List
	# **********************************************************
	bullets {
		dataProcessing {
			10.if.value = 5
			20.if.value = 5
		}
	}

	# **********************************************************
	# Table
	# **********************************************************
	table {
		dataProcessing {
			 10 = T3SBS\T3sbootstrap\DataProcessing\CommaSeparatedValueProcessor
			 10 {
				 fieldName = bodytext
				 fieldDelimiter.char.cObject = TEXT
				 fieldDelimiter.char.cObject {
					 field = table_delimiter
				 }
				 fieldEnclosure.char.cObject = TEXT
				 fieldEnclosure.char.cObject {
					 field = table_enclosure
				 }
				 maximumColumns.field = cols
				 as = table
			 }
		 }
	}

	# **********************************************************
	# Fluidtemplate
	# **********************************************************
	t3sbs_fluidtemplate = COA
	t3sbs_fluidtemplate {
		10 = FLUIDTEMPLATE
		10 {
			file.stdWrap.cObject = TEXT
			file.stdWrap.cObject.field = subheader
			file.stdWrap.cObject.ifEmpty {
				cObject = TEXT
				cObject.value = EXT:t3sbootstrap/Resources/Private/Templates/Content/FluidTemplate.html
			}
			variables < page.10.variables
			settings < page.10.settings
		}
	}

	# **********************************************************
	# menu_section
	# **********************************************************
	menu_section {
		dataProcessing >
		dataProcessing {
			10 = menu
			10 {
				special = list
				special {
					value {
						field = pages
						override {
							data = page:uid
							if {
								isFalse.field = pages
							}
						}
					}
				}
				dataProcessing {
					10 = files
					10 {
						references.fieldName = media
					}
					20 = database-query
					20 {
						table = tt_content
						pidInList.field = uid
						as = content
						where = sectionIndex = 1 AND ( colPos = 0 OR colPos > 199 )
						orderBy = {$bootstrap.extconf.sectionOrder}
						dataProcessing {
							10 = files
							10 {
								references.fieldName = media
							}
						}
					}
				}
			}
		}
	}
}
