/
SetupGridelements.txt
69 lines (62 loc) · 1.9 KB
/
SetupGridelements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* this script isn't used yet. first tests weren't successful.
*
* this script might be includes in the parent script (<INCLUDE_TYPOSCRIPT: source="FILE:EXT:pizpalue/Extensions/...
* ...bootstrap_package/Configuration/TypoScript/Gridelements.txt">)
*
* related files: .../Templates/ContentElements/GridElements.html
*
*/
#############################
#### GRIDELEMENTS: SETUP ####
#############################
lib.gridelements.defaultGridSetup {
columns {
default {
renderObj = COA
renderObj {
20 =< tt_content
}
}
}
}
#############################
#### CTYPE: GRIDELEMENTS ####
#############################
plugin.tx_gridelements_pi1 >
tt_content.gridelements_pi1 >
tt_content.gridelements_pi1 = FLUIDTEMPLATE
tt_content.gridelements_pi1 {
################
### TEMPLATE ###
################
templateName = GridElements
templateRootPaths {
0 = EXT:bootstrap_package/Resources/Private/Templates/ContentElements/
10 = {$plugin.bootstrap_package_contentelements.view.templateRootPath}
}
partialRootPaths {
0 = EXT:bootstrap_package/Resources/Private/Partials/ContentElements/
10 = {$plugin.bootstrap_package_contentelements.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:bootstrap_package/Resources/Private/Layouts/ContentElements/
10 = {$plugin.bootstrap_package_contentelements.view.layoutRootPath}
}
#################
### VARIABLES ###
#################
variables {
content = USER
content {
userFunc = GridElementsTeam\Gridelements\Plugin\Gridelements->main
setup {
default < lib.gridelements.defaultGridSetup
}
}
}
}
############################
#### GRIDELEMENTS: VIEW ####
############################
tt_content.gridelements_view < tt_content.gridelements_pi1