-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_b3_gallery.xml
173 lines (165 loc) · 7.7 KB
/
mod_b3_gallery.xml
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
169
170
171
172
173
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.6" client="site" method="upgrade">
<name>B3 Gallery Module</name>
<author>Hugo Fittipaldi</author>
<creationDate>May 2016</creationDate>
<copyright>Copyright (C) 2019 Hugo Fittipaldi. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<authorEmail>[email protected]</authorEmail>
<version>2.1</version>
<description>Place a Bootstrap 3.x/4.x gallery in a module position.</description>
<scriptfile>script.php</scriptfile>
<files>
<filename module="mod_b3_gallery">mod_b3_gallery.php</filename>
<folder>tmpl</folder>
<filename>helper.php</filename>
<filename>item.xml</filename>
<filename>mod_b3_gallery.xml</filename>
</files>
<media destination="mod_b3_gallery" folder="media">
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
</media>
<languages>
<language tag="en-GB">en-GB.mod_b3_gallery.ini</language>
<language tag="pt-BR">pt-BR.mod_b3_gallery.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic" addfieldpath="/administrator/components/com_content/models/fields">
<field name="info"
type="spacer"
label="MOD_B3_GALLERY_INFO_LABEL" />
<field name="gallery"
type="subform"
formsource="modules/mod_b3_gallery/item.xml"
class="advancedSelect"
min="1"
multiple="true"
layout="joomla.form.field.subform.repeatable"
groupByFieldset="true"
label="MOD_B3_GALLERY_IMAGES_GALLERY_LABEL"
description="MOD_B3_GALLERY_IMAGES_GALLERY_DESC" />
</fieldset>
<fieldset name="controls" label="MOD_B3_GALLERY_CONTROLS">
<field name="version"
type="list"
default="4.x"
label="MOD_B3_GALLERY_BOOTSTRAP_VERSION_LABEL"
description="MOD_B3_GALLERY_BOOTSTRAP_VERSION_DESC">
<option value="4.x">4.x</option>
<option value="3.x">3.x</option>
</field>
<field name="size"
type="text"
default="260"
label="MOD_B3_GALLERY_THUMBS_SIZE_FIELD_LABEL"
description="MOD_B3_GALLERY_THUMBS_SIZE_FIELD_DESC" />
<field name="counter"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="MOD_B3_GALLERY_COUNTER_FIELD_LABEL"
description="MOD_B3_GALLERY_COUNTER_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
</fieldset>
<fieldset name="modal" label="MOD_B3_GALLERY_MODAL_OPTIONS">
<field name="autoslide"
type="radio"
class="btn-group btn-group-yesno radio"
default="0"
label="MOD_B3_GALLERY_AUTO_SLIDE_FIELD_LABEL"
description="MOD_B3_GALLERY_AUTO_SLIDE_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="interval"
type="text"
default="5000"
showon="autoslide:1"
label="MOD_B3_GALLERY_INTERVAL_FIELD_LABEL"
description="MOD_B3_GALLERY_INTERVAL_FIELD_DESC" />
<field name="pause"
type="radio"
class="btn-group btn-group-yesno radio"
default="0"
showon="autoslide:1"
label="MOD_B3_GALLERY_PAUSE_FIELD_LABEL"
description="MOD_B3_GALLERY_PAUSE_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="transition"
type="list"
default="0"
label="MOD_B3_GALLERY_TRANSITION_FIELD_LABEL"
description="MOD_B3_GALLERY_TRANSITION_FIELD_DESC">
<option value="0">Default</option>
<option value="1">Fade</option>
</field>
<field name="controls"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="MOD_B3_GALLERY_CONTROLS_FIELD_LABEL"
description="MOD_B3_GALLERY_CONTROLS_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="keyboard"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
showon="controls:1"
label="MOD_B3_GALLERY_KEYBOARD_CONTROL_FIELD_LABEL"
description="MOD_B3_GALLERY_KEYBOARD_CONTROL_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="wrap"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="MOD_B3_GALLERY_CAROUSEL_LOOP_FIELD_LABEL"
description="MOD_B3_GALLERY_CAROUSEL_LOOP_FIELD_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
</fieldset>
<fieldset name="advanced">
<field name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC" />
<field name="moduleclass_sfx"
type="textarea" rows="3"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
<field name="cache"
type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC">
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field name="cache_time"
type="text"
default="900"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC" />
<field name="cachemode"
type="hidden"
default="static">
<option value="static"></option>
</field>
</fieldset>
</fields>
</config>
<updateservers>
<server type="extension" priority="1" name="B3 Gallery Module Update Site">https://raw.githubusercontent.com/hfittipaldi/mod_b3_gallery/master/manifest.xml</server>
</updateservers>
</extension>