-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_typoscript_setup.txt
executable file
·168 lines (149 loc) · 3.87 KB
/
ext_typoscript_setup.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
plugin.tx_ingallery_pi1 {
config {
#Include external library
includeJquery = {$plugin.tx_ingallery_pi1.includeJquery}
includeCSS = {$plugin.tx_ingallery_pi1.includeCSS}
includeFancyBox = {$plugin.tx_ingallery_pi1.includeFancyBox}
openAlbumWithFancyBox = {$plugin.tx_ingallery_pi1.openAlbumWithFancyBox}
#CODE dertermine what to display, possible values : albumList, imageList
CODE = sDEF|lDEF|CODE|vDEF
CODE.ifEmpty = imageList
pidList = 1
recursive = 10
templateFile = EXT:in_gallery/assets/template.html
orderBy = sorting ASC
groupBy =
limit =
effect = sDEF|lDEF|effect|vDEF
effect.ifEmpty = inouit.gallery.effect.fade
effectOptions = fancyBoxImage: {$plugin.tx_ingallery_pi1.openPictureWithFancyBox}
requestedAlbum = sDEF|lDEF|requestedAlbum|vDEF
}
displayAlbum {
markers {
TITLE = TEXT
TITLE{
field = title
stdWrap.typolink{
parameter = {$plugin.tx_ingallery_pi1.singlePid}
parameter.ifEmpty.data = page:uid
additionalParams = &tx_ingallery_pi1[album] = {field:uid}
additionalParams.insertData = 1
ATagParams = class="openAlbumOnFancyBox"
}
}
DESC = TEXT
DESC{
field = description
}
CREATEDATE = TEXT
CREATEDATE{
field = crdate
stdWrap.strftime= Ajouté le %d %b %Y
}
PARAMS = TEXT
PARAMS{
value = class="item item-{field:uid}"
insertData = 1
}
IMG = CONTENT
IMG{
table = tx_ingallery_image
select{
uidInList.field = tx_ingallery_image_uid
pidInList.field = pid
leftjoin = tx_ingallery_album on (tx_ingallery_image.uid=tx_ingallery_album.tx_ingallery_image_uid )
andWhere = tx_ingallery_image.uid = '{field:tx_ingallery_image_uid}'
andWhere.insertData = 1
max = 1
}
renderObj = COA
renderObj{
10 = IMAGE
10{
file{
import.field = image
quality = 100
width = {$plugin.tx_ingallery_pi1.album.width}
height = {$plugin.tx_ingallery_pi1.album.height}
}
altText.field = title
stdWrap.typolink{
parameter = {$plugin.tx_ingallery_pi1.singlePid}
parameter.ifEmpty.data = page:uid
additionalParams = &tx_ingallery_pi1[album] = {field:uid}
additionalParams.insertData = 1
ATagParams = class="openAlbumOnFancyBox"
}
}
}
}
}
}
displayImage{
markers {
TITLE = TEXT
TITLE{
field = title
wrap = <p class="title">|</p>
required = 1
}
ALBUM_TITLE = CONTENT
ALBUM_TITLE{
table = tx_ingallery_album
select{
pidInList.field = pid
andWhere = tx_ingallery_album.uid = '{field:tx_ingallery_album_uid}'
andWhere.insertData = 1
}
renderObj = COA
renderObj{
10 = TEXT
10{
field = title
wrap = |
required = 1
}
}
wrap = <div class="titleAlbum">|</div>
}
LEGEND = TEXT
LEGEND{
field = legend
wrap = <p class="legend">|</p>
required = 1
}
IMG = IMAGE
IMG {
file{
import.field = image
width = {$plugin.tx_ingallery_pi1.image.width}
height = {$plugin.tx_ingallery_pi1.image.height}
maxW = {$plugin.tx_ingallery_pi1.image.maxW}
maxH = {$plugin.tx_ingallery_pi1.image.maxH}
quality = 100
}
altText.field = title
stdWrap.typolink{
parameter.field = image
ATagParams = class="itemPic_{field:uid} openPicOnFancyBox"
ATagParams.insertData=1
}
}
THUMB_IMG = IMAGE
THUMB_IMG {
file{
import.field = image
quality = 100
width = {$plugin.tx_ingallery_pi1.thumbnail.width}
height = {$plugin.tx_ingallery_pi1.thumbnail.height}
maxW = {$plugin.tx_ingallery_pi1.thumbnail.maxW}
maxH = {$plugin.tx_ingallery_pi1.thumbnail.maxH}
}
altText.field = title
params = id="itemMiniPic_{field:uid}" class="thumbnail"
params.insertData = 1
}
}
}
}