-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_b3_carousel.xml
155 lines (149 loc) · 6.9 KB
/
mod_b3_carousel.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.6" client="site" method="upgrade">
<name>B3 Carousel Module</name>
<author>Hugo Fittipaldi</author>
<creationDate>April 2016</creationDate>
<copyright>Copyright (C) 2020 Hugo Fittipaldi. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://github.com/hfittipaldi</authorUrl>
<version>2.3</version>
<description>B3 Carousel Module is a module for Joomla 3.6+ which displays a carousel of images.</description>
<scriptfile>script.php</scriptfile>
<files>
<filename>mod_b3_carousel.xml</filename>
<filename module="mod_b3_carousel">mod_b3_carousel.php</filename>
<filename>helper.php</filename>
<filename>item.xml</filename>
<folder>tmpl</folder>
</files>
<media folder="media" destination="mod_b3_carousel">
<folder>css</folder>
<folder>js</folder>
</media>
<config>
<fields name="params">
<fieldset name="basic" addfieldpath="/administrator/components/com_content/models/fields">
<field name="version"
type="list"
default="3.x"
label="Bootstrap"
description="Bootstrap version.">
<option value="4.x">4.x</option>
<option value="3.x">3.x</option>
</field>
<field name="slides"
type="subform"
formsource="modules/mod_b3_carousel/item.xml"
class="advancedSelect"
min="1"
max="10"
multiple="true"
layout="joomla.form.field.subform.repeatable"
groupByFieldset="true"
label="Carousel Images"
description="Subform Field Description" />
</fieldset>
<fieldset name="controls" label="Controls">
<field name="autoslide"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Auto slide"
description="If no, carousel will not automatically cycle.">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="transition"
type="list"
default="0"
label="Transition"
description="Image transition">
<option value="0">Default</option>
<option value="1">Fade</option>
</field>
<field name="interval"
type="text"
default="5000"
label="Interval"
description="The amount of time to delay between automatically cycling an item." />
<field name="indicators"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Indicators"
description="Turn on or off underside control blobs.">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="controls"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Left/right controls"
description="Turn on or off left/right buttons.">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="pause"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Pauses on mouseenter?"
description="Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.">
<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="Carousel loop"
description="Whether the carousel should cycle continuously or have hard stops.">
<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"
label="Keyboard control"
description="Whether the carousel should react to keyboard events.">
<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="0"
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 Carousel Module Update Site">https://raw.githubusercontent.com/hfittipaldi/mod_b3_carousel/master/manifest.xml</server>
</updateservers>
</extension>