### NewsLayouts ###
tx_news.templateLayouts {
  1 = List-Card
  #99 = LLL:fileadmin/somelocallang/locallang.xlf:someTranslation
}
tx_news.module {
  preselect {
    sortingField = datetime
    sortingDirection = desc
  }
}

## Default Image cropping ##
TCEFORM.sys_file_reference.crop.config.cropVariants {
  default {
    title = Desktop
    selectedRatio = NaN
    allowedAspectRatios {
      NaN {
        title = Free
        value = 0.0
      }
      21:9 {
        title = 21:9
        value = 2.3333333
      }
      16:9 {
        title = 16:9
        value = 1.7777777
      }
      4:3 {
        title = 4:3
        value = 1.3333333
      }
      5:7 {
        title = 5:7
        value = 0.71428571428571
      }
      3:2 {
        title = 3:2
        value = 1.5
      }
      1:1 {
        title = 1:1
        value = 1
      }
    }
  }
  /*
  tablet {
    title = Tablet
    selectedRatio = NaN
    allowedAspectRatios {
      NaN {
        title = Free
        value = 0.0
      }
      21:9 {
        title = 21:9
        value = 2.3333333
      }
      16:9 {
        title = 16:9
        value = 1.7777777
      }
      4:3 {
        title = 4:3
        value = 1.3333333
      }
      5:7 {
        title = 5:7
        value = 0.71428571428571
      }
      3:2 {
        title = 3:2
        value = 1.5
      }
      1:1 {
        title = 1:1
        value = 1
      }
    }
  }
  mobile {
    title = Mobile
    selectedRatio = NaN
    allowedAspectRatios {
      NaN {
        title = Free
        value = 0.0
      }
      21:9 {
        title = 21:9
        value = 2.3333333
      }
      16:9 {
        title = 16:9
        value = 1.7777777
      }
      4:3 {
        title = 4:3
        value = 1.3333333
      }
      5:7 {
        title = 5:7
        value = 0.71428571428571
      }
      3:2 {
        title = 3:2
        value = 1.5
      }
      1:1 {
        title = 1:1
        value = 1
      }
    }
  }
  */
}
## Default Image cropping  - END ##

### Powermail ###
TCEFORM {
	tx_powermail_domain_model_form {
		css {
			removeItems = layout1, layout2, layout3
			addItems {
				col-md-12 = 1/1
				col-md-11 = 11/12
				col-md-10 = 10/12
				col-md-9 = 3/4
				col-md-8 = 2/3
				col-md-7 = 7/12
				col-md-6 = 1/2
				col-md-5 = 5/12
				col-md-4 = 1/3
				col-md-3 = 1/4
				col-md-2 = 2/12
				col-md-1 = 1/12
			}
		}
	}
	tx_powermail_domain_model_page < .tx_powermail_domain_model_form
	tx_powermail_domain_model_field < .tx_powermail_domain_model_form
}

#####################

# Show only the chosen columns in the page module
# 0=normal, 1=left, 2=right, 3=border
# mod.SHARED.colPos_list = 1,0,2

# Remove the 'border' option from selectbox 'column' in content records	
# TCEFORM.tt_content.colPos.keepItems = 1,0,2

// PageTSConfig
TCEFORM.tt_content.header_layout.addItems  {
  6 = Layout 6
}

# Set the default label and flag
mod.SHARED.defaultLanguageLabel = Deutsch
mod.SHARED.defaultLanguageFlag = de

# Show the content element wizard with tabs (for consistency)
mod.wizards.newContentElement.renderMode = tabs

# Reduce header layouts to default,1,2,3
#TCEFORM.tt_content.header_layout.removeItems = 5

# Erzeuge bei Elemente Einträge im Section Framedropdown
#TCEFORM.tt_content.section_frame.removeItems = 1,2,5,6,10,11,12,20,21,66
#TCEFORM.tt_content.section_frame.addItems.101 = Profi-Features-Liste
#TCEFORM.tt_content.section_frame.addItems.102 = Factsheet-Button
#TCEFORM.tt_content.section_frame.addItems.102 = Kundenzitat

# Erzeuge bei Elemente Einträge im Layoutdropdown für DIVs
TCEFORM.tt_content.layout.altLabels {
  1 = Box
  2 = Layout 2
  #3 = Box Blau
}
TCEFORM.tt_content.layout.addItems {
  box-product = Box Produkt
  10 = Start-Link
  20 = Border-Box
  100 = 2 Columns
  101 = 2 Columns Gap
  102 = 3 Columns
  103 = 3 Columns Gap
  104 = 4 Columns
  105 = 4 Columns Gap
  106 = 5 Columns
  107 = 5 Columns Gap
  108 = 6 Columns
  109 = 6 Columns Gap
}

# There is no need for the Alias field in page properties when we use RealURL
TCEFORM.pages.alias.disabled = 1

# Disable "Copy" in CE-Title #
TCEMAIN.table.tt_content {
  disablePrependAtCopy = 1 
}

# Keep <br> in RTE
#RTE.default.proc.dontConvBRtoParagraph = 1

# Custom config of CKEditor #
RTE.default.preset = mh_preset
#RTE.default.preset = full