[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility7 / Configuration / TypoScript / ContentElement / FluidStyledContent / setup.txt
1 #
2 # Default configuration for content elements which are using FLUIDTEMPLATE directly
3 #
4 lib.fluidContent {
5     templateRootPaths {
6         1 = EXT:compatibility7/Resources/Private/FluidStyledContent/Templates/
7     }
8     partialRootPaths {
9         1 = EXT:compatibility7/Resources/Private/FluidStyledContent/Partials/
10     }
11     layoutRootPaths {
12         1 = EXT:compatibility7/Resources/Private/FluidStyledContent/Layouts/
13     }
14 }
15
16
17 #
18 # Special Menus:
19 #
20 tt_content.menu =< lib.fluidContent
21 tt_content.menu {
22     templateName = Menu
23     dataProcessing {
24         10 = TYPO3\CMS\Frontend\DataProcessing\SplitProcessor
25         10 {
26             if.isTrue.field = pages
27             fieldName = pages
28             delimiter = ,
29             removeEmptyEntries = 1
30             filterIntegers = 1
31             filterUnique = 1
32             as = pageUids
33         }
34         20 < .10
35         20 {
36             if.isTrue.field = selected_categories
37             fieldName = selected_categories
38             as = categoryUids
39         }
40     }
41     stdWrap {
42         editIcons = tt_content: header [header_layout], menu_type, pages
43         editIcons {
44             iconTitle.data = LLL:EXT:fluid_styled_content/Resources/Private/Language/FrontendEditing.xlf:editIcon.menu
45         }
46     }
47 }