ContentElement.typoscript 1.76 KB
Newer Older
1
# Default configuration for content elements which are using FLUIDTEMPLATE directly
2
3
4
lib.contentElement >
lib.contentElement = FLUIDTEMPLATE
lib.contentElement {
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    templateName = Default
    templateRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Templates/
        10 = {$styles.templates.templateRootPath}
    }
    partialRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Partials/
        10 = {$styles.templates.partialRootPath}
    }
    layoutRootPaths {
        0 = EXT:fluid_styled_content/Resources/Private/Layouts/
        10 = {$styles.templates.layoutRootPath}
    }
    settings {
        defaultHeaderType = {$styles.content.defaultHeaderType}
        media {
21
            lazyLoading = {$styles.content.image.lazyLoading}
22
            imageDecoding = {$styles.content.image.imageDecoding}
23
24
25
26
27
28
29
30
31
32
33
34
35
36
            popup {
                bodyTag = <body style="margin:0; background:#fff;">
                wrap = <a href="javascript:close();"> | </a>
                width = {$styles.content.textmedia.linkWrap.width}
                height = {$styles.content.textmedia.linkWrap.height}
                crop.data = file:current:crop
                JSwindow = 1
                JSwindow {
                    newWindow = {$styles.content.textmedia.linkWrap.newWindow}
                    if.isFalse = {$styles.content.textmedia.linkWrap.lightboxEnabled}
                }
                directImageLink = {$styles.content.textmedia.linkWrap.lightboxEnabled}
                linkParams.ATagParams.dataWrap =  class="{$styles.content.textmedia.linkWrap.lightboxCssClass}" rel="{$styles.content.textmedia.linkWrap.lightboxRelAttribute}"
            }
37
38
            additionalConfig {
                no-cookie = 1
39
                api = 0
40
            }
41
42
43
        }
    }
}