TCEFORM.tt_content {
    header_layout {
        altLabels {
            0 = Standardüberschrift [h2]
            1 = Überschrift 1. Ordnung [h1]
            2 = Überschrift 2. Ordnung [h2]
            3 = Überschrift 3. Ordnung [h3]
            4 = Überschrift 4. Ordnung [h4]
            5 = Überschrift 5. Ordnung [h5]
        }
        addItems  {
            6 = Überschrift 6. Ordnung [h6]
        }
        removeItems = 4,5,6,100
    }

    frame_class {
        addItems {
            graybox = graue Box
            bluebox = blaue Box
        }
        #removeItems = default,ruler-before,ruler-after,indent,indent-left,indent-right,none
        #removeItems = ruler-before,ruler-after,indent,indent-left,indent-right,none,graybox,bluebox
        removeItems = ruler-before,ruler-after,indent,indent-left,indent-right,graybox,bluebox
    }

    layout {
        addItems {
            4 = Layout 0815
        }
        removeItems = 1,2,3,4
    }
}

## Frontend layouts
TCEFORM.pages.layout {
    addItems {
        4 = RIALox
        5 = RIAMos-Mix
        6 = Fakuma
        7 = Login
    }

    altLabels {
        1 = RIABlend
        2 = RIALene
        3 = RIAMaxx
    }

    removeItems = 1,2,3,4,5,6,7
}

## Custom image cropping
TCEFORM.sys_file_reference.crop.config.cropVariants {
    default {
        title = Desktop
        selectedRatio = NaN
        allowedAspectRatios {
            NaN {
                title = Frei
                value = 0.0
            }
            3:4 {
                title = 3:4
                value = 0.75
            }
            1:1 {
                title = 1:1
                value = 1.0
            }
            4:3 {
                title = 4:3
                value = 1.3333333333333333
            }
            3:2 {
                title = 3:2
                value = 1.5
            }
            2:1 {
                title = 2:1
                value = 2.0
            }
            16:9 {
                title = 16:9
                value = 1.777777777777777
            }
            21:9 {
                title = 21:9
                value = 2.3333333333333333
            }
        }
    }
    tablet {
        title = Tablet
        selectedRatio = NaN
        allowedAspectRatios {
            NaN {
                title = Frei
                value = 0.0
            }
            3:4 {
                title = 3:4
                value = 0.75
            }
            1:1 {
                title = 1:1
                value = 1.0
            }
            4:3 {
                title = 4:3
                value = 1.3333333333333333
            }
            3:2 {
                title = 3:2
                value = 1.5
            }
            2:1 {
                title = 2:1
                value = 2.0
            }
            16:9 {
                title = 16:9
                value = 1.777777777777777
            }
            21:9 {
                title = 21:9
                value = 2.3333333333333333
            }
        }
    }
    mobile {
        title = Smartphone
        selectedRatio = NaN
        allowedAspectRatios {
            NaN {
                title = Frei
                value = 0.0
            }
            3:4 {
                title = 3:4
                value = 0.75
            }
            1:1 {
                title = 1:1
                value = 1.0
            }
            4:3 {
                title = 4:3
                value = 1.3333333333333333
            }
            3:2 {
                title = 3:2
                value = 1.5
            }
            2:1 {
                title = 2:1
                value = 2.0
            }
            16:9 {
                title = 16:9
                value = 1.777777777777777
            }
            21:9 {
                title = 21:9
                value = 2.3333333333333333
            }
        }
    }
}

## RTE: Configuration CKEditor
#  Presets: default, minimal, full
RTE.default.preset = custom

## Default backend language
mod.SHARED {
    defaultLanguageFlag = de
    defaultLanguageLabel = Deutsch
}

## avoid "copy 1" on copying content elements
TCEMAIN.table.pages.disablePrependAtCopy = 1
TCEMAIN.table.tt_content.disablePrependAtCopy = 1

## avoid hiding on copying content elements
[backend.user.isAdmin]
TCEMAIN.table.pages.disableHideAtCopy = 1
TCEMAIN.table.tt_content.disableHideAtCopy = 1
[END]

## EXT:news
/*
tx_news.predifine.author = 1
tx_news.predifine.archive = +1 month
*/
# Linkhandler für EXT:news
# Quelle: https://usetypo3.com/linkhandler.html
/*
TCEMAIN.linkHandler.tx_news {
    handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
    label = News
    configuration {
        table = tx_news_domain_model_news
        storagePid = {$const.newsStoragePid}
        hidePageTree = 1
    }
    scanAfter = page
}
*/
tx_news.templateLayouts {
    1 = Übersicht News
    2 = Detail News
    3 = Übersicht Referenzen
    4 = Detail Referenzen
    5 = Übersicht myWEYTEC
}

## Gruppe für neue Seiten
/*
TCEMAIN.permissions {
    groupid = 2
    group = show,editcontent,edit,new,delete
}
*/

mod.wizards.newContentElement.wizardItems.mask {
    header = LLL:EXT:t3template/Resources/Private/Language/locallang_mask.xlf:new_content_element_tab
}

mod.wizards.newContentElement.wizardItems {
   // add the content element to the tab "common"
   common {
      elements {
         gated_uploads {
            iconIdentifier = content-text
            title = Gated file downloads
            description = Gated file downloads
            tt_content_defValues {
               CType = gated_uploads
            }
         }
      }
      show := addToList(gated_uploads)
   }
}