Debian Codegraph @

examples/prism-typoscript.html

raw symbols SCIP
1 <h2>Typical TypoScript Setup File</h2>
2 <pre><code># import other files
3 @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript'
4 @import 'EXT:sitepackage/Configuration/TypoScript/Helper/DynamicContent.typoscript'
5
6 page = PAGE
7 page {
8 typeNum = 0
9
10 // setup templates
11 10 = FLUIDTEMPLATE
12 10 {
13 templateName = TEXT
14 templateName.stdWrap.cObject = CASE
15 templateName.stdWrap.cObject {
16 key.data = pagelayout
17
18 pagets__sitepackage_default = TEXT
19 pagets__sitepackage_default.value = Default
20
21 pagets__sitepackage_alternate = TEXT
22 pagets__sitepackage_alternate.value = Alternative
23
24 default = TEXT
25 default.value = Default
26 }
27
28 templateRootPaths {
29 0 = EXT:sitepackage/Resources/Private/Templates/Page/
30 1 = {$sitepackage.fluidtemplate.templateRootPath}
31 }
32
33 partialRootPaths {
34 0 = EXT:sitepackage/Resources/Private/Partials/Page/
35 1 = {$sitepackage.fluidtemplate.partialRootPath}
36 }
37
38 layoutRootPaths {
39 0 = EXT:sitepackage/Resources/Private/Layouts/Page/
40 1 = {$sitepackage.fluidtemplate.layoutRootPath}
41 }
42
43 dataProcessing {
44 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
45 10 {
46 levels = 1
47 includeSpacer = 1
48 as = mainnavigation
49 }
50 }
51 }
52
53 // include css into head
54 includeCSS {
55 bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css
56 bootstrap.external = 1
57 website = EXT:sitepackage/Resources/Public/Css/styles.css
58 }
59
60 // include js into footer
61 includeJSFooter {
62 jquery = https://code.jquery.com/jquery-3.2.1.slim.min.js
63 jquery.external = 1
64 bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js
65 bootstrap.external = 1
66 website = EXT:sitepackage/Resources/Public/JavaScript/scripts.js
67 }
68 }
69
70 // global site configuration
71 config {
72 absRefPrefix = auto
73 cache_period = 86400
74 debug = 0
75 disablePrefixComment = 1
76 doctype = html5
77 extTarget =
78 index_enable = 1
79 index_externals = 1
80 index_metatags = 1
81 inlineStyle2TempFile = 1
82 intTarget =
83 linkVars = L
84 metaCharset = utf-8
85 no_cache = 0
86 pageTitleFirst = 1
87 prefixLocalAnchors = all
88 removeDefaultJS = 0
89 sendCacheHeaders = 1
90 compressCss = 0
91 compressJs = 0
92 concatenateCss = 0
93 concatenateJs = 0
94 }
95 </code></pre>