<INCLUDE_TYPOSCRIPT: source="FILE:EXT:formations/Configuration/TsConfig/BackendLayouts/simple.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:formations/Configuration/TsConfig/BackendLayouts/listView.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:formations/Configuration/TsConfig/BackendLayouts/detailView.tsconfig">

TCEFORM.tt_content.CType.removeItems = timeline, media, external_media, menu_thumbnail_dir, menu_thumbnail_list, formframework, menu_related_pages, menu_section_pages, menu_sitemap

mod.wizards.newContentElement.wizardItems {
    common{
        show = header,text,textpic,image,textmedia,uploads,boxtextimg, carousel,carousel_fullscreen,carousel_small, div, shortcut, html, keynumber, formation_list, localisation_building, external_link_bloc,pagepro,map_content,sharesocialmedia,tx_carriere_enchiffres
        elements {
            html {
                iconIdentifier = content-special-html
                title = LLL:EXT:wseils_usine/Resources/Private/Language/locallang_content.xlf:wizards.content.htmlWizardTitle
                description = LLL:EXT:wseils_usine/Resources/Private/Language/locallang_content.xlf:wizards.content.htmlWizardDescription
                tt_content_defValues {
                    CType = html
                }
            }
            tx_carriere_enchiffres {
                iconIdentifier = tx_carriere_tx_carriere_enchiffres
                title = LLL:EXT:formations/Resources/Private/Language/locallang_db_new_content_el.xlf:wizards.newContentElement.tx_carriere_enchiffres_title
                description = LLL:EXT:formations/Resources/Private/Language/locallang_db_new_content_el.xlf:wizards.newContentElement.tx_carriere_enchiffres_description
                tt_content_defValues {
                    CType = carriere_tx_carriere_enchiffres
                }
            }
            carousel_fullscreen {
                iconIdentifier = content-bootstrappackage-carousel
                title = LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.carousel_fullscreen
                description = LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.carousel_fullscreen.description
                tt_content_defValues {
                    CType = carousel_fullscreen
                }
            }
            carousel_small {
                iconIdentifier = content-bootstrappackage-carousel
                title = LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.carousel_small
                description = LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.carousel_small.description
                tt_content_defValues {
                    CType = carousel_small
                }
            }
            fiches_events_products_projects {
                iconIdentifier = tx_wseilsusine_fiches_events_products_projects
                title = LLL:EXT:wseils_usine/Resources/Private/Language/locallang_db_new_content_el.xlf:wizards.newContentElement.fiches_events_products_projects_title
                description = LLL:EXT:wseils_usine/Resources/Private/Language/locallang_db_new_content_el.xlf:wizards.newContentElement.fiches_events_products_projects_description
                tt_content_defValues {
                    CType = wseilsusine_fiches_events_products_projects
                }
            }
            csv {
                iconIdentifier = content-bootstrappackage-csv
                title = LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.csv
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:csvWizardDescription
                tt_content_defValues {
                    CType = csv
                }
            }
            social_links {
                iconIdentifier = content-bootstrappackage-social-links
                title = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:social_linksWizardTitle
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:social_linksWizardDescription
                tt_content_defValues {
                    CType = social_links
                }
            }
            general {
                iconIdentifier = content-plugin
                title = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:generalWizardTitle
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:generalWizardDescription
                tt_content_defValues {
                    CType = list
                }
            }
            news {
                iconIdentifier = ext-news-wizard-icon
                title = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:pluginWizardTitleNews
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:pluginWizardDescriptionNews
                tt_content_defValues {
                    CType = list
                    list_type = news_pi1
                }
            }
            powermail {
                iconIdentifier = extension-powermail-main
                title = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:powermailWizardTitle
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:powermailWizardDescription
                tt_content_defValues {
                    CType = list
                    list_type = powermail_pi1
                }
            }
        }
    show := addToList(tx_carriere_enchiffres)
    }
    
    plugins {
        header = LLL:EXT:wseils_usine/Resources/Private/Language/locallang_wizard.xlf:special_contents_modules_Wizard
        show = fiches_events_products_projects,csv,social_links,general,news,powermail
        elements {
            fiches_events_products_projects < mod.wizards.newContentElement.wizardItems.common.elements.fiches_events_products_projects
            csv < mod.wizards.newContentElement.wizardItems.common.elements.csv
            social_links < mod.wizards.newContentElement.wizardItems.common.elements.social_links
            general < mod.wizards.newContentElement.wizardItems.common.elements.general
            news >
            powermail < mod.wizards.newContentElement.wizardItems.common.elements.powermail
            news_list_sticky {
                iconIdentifier = ext-news-plugin-news-list-sticky
                title = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:pluginWizardTitleNews
                description = LLL:EXT:wseils_usine/Resources/Private/Language/backend.xlf:pluginWizardDescriptionNews
                tt_content_defValues {
                    CType = news_newsliststicky
                }
            }
        }
    }

    mask.elements >
    special >
    ext-powermail >
    ext-news >
}

TCEFORM.tt_content.CType.removeItems := addToList(news_pi1,news_newsdetail,news_newsselectedlist,news_newsdatemenu,news_categorylist,news_newssearchform,news_newssearchresult,news_taglist,eventnews_newsmonth)
#retire les types de contenus Powermail
TCEFORM.tt_content.CType.removeItems := addToList(powermail_pi1,powermail_pi2,powermail_pi3,powermail_pi4)

//Retire les contenus des de campus
TCEFORM.tt_content.CType.removeItems := addToList(visitecampus_tx_visitcampus_audio, visitecampus_tx_visitcampus_boitepromo, visitecampus_tx_visitcampus_carte, visitecampus_tx_visitcampus_listelieux, visitecampus_tx_visitcampus_citation, visitecampus_tx_visitcampus_enchiffres, visitecampus_tx_visitcampus_enchiffres_apropos, visitecampus_tx_visitcampus_image, visitecampus_tx_visitcampus_lien, visitecampus_tx_visitcampus_lien_apropos, visitecampus_tx_visitcampus_lien_contact, visitecampus_tx_visitcampus_texte_bgrose, visitecampus_tx_visitcampus_texte_enchiffres, visitecampus_tx_visitcampus_texte_home, visitecampus_tx_visitcampus_texte_image_bgrose, visitecampus_tx_visitcampus_texte_imagedroite, visitecampus_tx_visitcampus_texte_imagegauche,visitecampus_tx_visitcampus_texte_pourquoi_site,visitecampus_tx_visitcampus_textebaspage, visitecampus_tx_visitcampus_trombinoscope, visitecampus_tx_visitcampus_video, visitecampus_tx_visitcampus_section)

TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.switchableControllerActions.keepItems = News->list, News->detail, News->searchForm, News->searchResult

tx_news.templateLayouts {
    6 >
    7 >
    8 >
    9 >
    12 >
    13 >
    24 = Témoignages - Home
    25 = Témoignages - Liste
    26 = Témoignages - Détail
    27 = Recrutement/Mobilités - List
    28 = Concours - List
    29 = Recrutement/Mobilités - Détail
    30 = Concours - Détail
}
#############
#### RTE ####
#############
RTE {
    default {
        preset = formations
    }
}

TCEFORM.pages {
    tx_wseils_bannerbutton.disabled = 1
    addThis.disabled = 1
    thumbnail.disabled = 0
    subtitle.disabled = 0
}
TCEFORM.tx_bootstrappackage_accordion_item {
    tx_bootstrappackage_accordion_item_repeater.disabled = 0
    bodytext.disabled = 1
    media.disabled = 1
    mediaorient.disabled = 1
    imagecols.disabled = 1
    image_zoom.disabled = 1
}
TCEFORM.tt_content {
    carousel_imageType.disabled = 1
    carousel_imgPattern.disabled = 1
    carousel_imgPattern_opacity.disabled = 1
    carousel_textBgColor.disabled = 1
    carousel_textPattern.disabled = 1
    carousel_bgColor.disabled = 1
    frame_class.disabled = 0
}
TCEFORM.tx_bootstrappackage_carousel_item {
    tx_carriere_carousel_textadd.disabled = 0
    button_text_2.disabled = 0
    link_2.disabled = 0

    button_text.label = Texte du bouton bleu
    link.label = Lien du bouton bleu
}
TCEFORM.tx_news_domain_model_news {
    type.disabled = 0
    archive.disabled = 1
    notes.disabled = 1
    is_event.disabled = 1

    datetime.label = Date of publication
}

mod.wizards.newContentElement.wizardItems.container.show = 
mod.wizards.newContentElement.wizardItems.plugins.header = Contenus spéciaux
mod.wizards.newContentElement.wizardItems.plugins.elements.2cols-container < mod.wizards.newContentElement.wizardItems.container.elements.2cols-container
mod.wizards.newContentElement.wizardItems.plugins.elements.3cols-container < mod.wizards.newContentElement.wizardItems.container.elements.3cols-container
mod.wizards.newContentElement.wizardItems.plugins.elements.4cols-container < mod.wizards.newContentElement.wizardItems.container.elements.4cols-container
mod.wizards.newContentElement.wizardItems.plugins.elements.publicationMadis < mod.wizards.newContentElement.wizardItems.modules.elements.publicationMadis
mod.wizards.newContentElement.wizardItems.plugins.elements.listeTheses < mod.wizards.newContentElement.wizardItems.modules.elements.listeTheses
mod.wizards.newContentElement.wizardItems.plugins.elements.trombiEiffel < mod.wizards.newContentElement.wizardItems.modules.elements.trombiEiffel
mod.wizards.newContentElement.wizardItems.plugins.elements.trombiExterne < mod.wizards.newContentElement.wizardItems.modules.elements.trombiExterne
mod.wizards.newContentElement.wizardItems.plugins.show = *
mod.wizards.newContentElement.wizardItems.modules >