[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / Configuration / TypoScript / ContentElementPartials / Menu.txt
1 # Default menu
2 lib.defaultMenu = HMENU
3 lib.defaultMenu {
4     special = directory
5     special.value.field = pages
6     1 = TMENU
7     1 {
8         target =
9         target.override = {$PAGE_TARGET}
10         NO {
11             stdWrap.htmlSpecialChars = 1
12             wrapItemAndSub = <li>|</li>
13             ATagTitle.field = description // title
14         }
15     }
16     stdWrap {
17         prepend = COA
18         prepend {
19             stdWrap {
20                 if.isTrue.field = accessibility_bypass
21             }
22             10 = LOAD_REGISTER
23             10 {
24                 accessibility_bypass_text = TEXT
25                 accessibility_bypass_text {
26                     field = accessibility_bypass_text
27                 }
28             }
29             20 = CONTENT
30             20 {
31                 table = tt_content
32                 select {
33                     pidInList = this
34                     orderBy = sorting
35                     where {
36                         dataWrap = sorting>{field:sorting}
37                     }
38                     languageField = sys_language_uid
39                     max = 1
40                 }
41                 renderObj = TEXT
42                 renderObj {
43                     required = 1
44                     data = LLL:EXT:css_styled_content/Resources/Private/Language/locallang.xlf:menu.bypassNavigation
45                     override.data = register:accessibility_bypass_text
46                     trim = 1
47                     htmlSpecialChars = 1
48                     typolink {
49                         parameter {
50                             field = pid
51                         }
52                         section {
53                             field = uid
54                         }
55                     }
56                     wrap = <li class="csc-nav-bypass">|</li>
57                 }
58             }
59             30 = RESTORE_REGISTER
60         }
61         outerWrap = <ul class="csc-menu csc-menu-def">|</ul>
62         required = 1
63     }
64 }