[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Configuration / TypoScript / ContentElement / MenuSection.txt
1 # Section index (page content marked for section menus):
2 # ...
3 #
4 # CType: menu_section
5
6 tt_content.menu_section =< lib.fluidContent
7 tt_content.menu_section {
8     templateName = MenuSection
9     dataProcessing {
10         10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
11         10 {
12             special = list
13             special {
14                 value {
15                     field = pages
16                     override {
17                         data = page:uid
18                         if {
19                             isFalse.field = pages
20                         }
21                     }
22                 }
23             }
24             dataProcessing {
25                 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
26                 10 {
27                     references.fieldName = media
28                 }
29                 20 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
30                 20 {
31                     table = tt_content
32                     pidInList.field = uid
33                     as = content
34                     where = sectionIndex = 1
35                     dataProcessing {
36                         10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
37                         10 {
38                             references.fieldName = image
39                         }
40                     }
41                 }
42             }
43         }
44     }
45     stdWrap {
46         editIcons = tt_content: header [header_layout], pages
47         editIcons {
48             iconTitle.data = LLL:EXT:fluid_styled_content/Resources/Private/Language/FrontendEditing.xlf:editIcon.menu
49         }
50     }
51 }