-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_uikit_slideshow.xml
161 lines (157 loc) · 7.43 KB
/
mod_uikit_slideshow.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.2.0" client="site" method="upgrade">
<name>Uikit Slideshow Module</name>
<author>Elvis Sedić</author>
<creationDate>October 2016</creationDate>
<copyright>Copyright (C) 2016 Elvis Sedić. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<authorEmail>[email protected]</authorEmail>
<version>1.0.0</version>
<description>Slideshow module for Joomla 3.2+ based on Yootheme Uikit.</description>
<files>
<filename module="mod_uikit_slideshow">mod_uikit_slideshow.php</filename>
<filename>helper.php</filename>
<folder>tmpl</folder>
</files>
<media destination="mod_uikit_slideshow" folder="media">
<folder>css</folder>
<folder>fonts</folder>
<folder>js</folder>
</media>
<config>
<fields name="params">
<fieldset name="basic">
<field name="images"
type="repeatable"
icon="images"
description="PLG_TINY_FIELD_TEMPLATE_FIELD_ELEMENTS_DESC"
label="Slideshow images"
maximum="10"
filter="raw"
default="{'ordering':'','main_image':'','title':'','link':'','target':'0','description':''}">
<fields name="params">
<fieldset hidden="true" name="images_modal" repeat="true">
<field name="ordering"
type="integer"
default="1"
class="input-mini"
first="1"
last="10"
step="1" />
<field name="main_image"
type="media"
preview="tooltip"
directory="images"
label="Main image"
description="This is the main image for this slide" />
<field name="title"
type="text"
default=""
label="Image title"
description="The title of the image" />
<field name="link"
type="url"
default=""
label="Image link"
description="The link of the image" />
<field name="target"
type="radio"
default="0"
label="Image link target"
description="Choose where the link points to">
<option value="0">Self</option>
<option value="1">Blank</option>
</field>
<field name="description"
type="textarea"
label="Image description"
description="The description text for the image (html)" />
</fieldset>
</fields>
</field>
<field name="myspacer"
type="spacer"
hr="true" />
<field name="autoplay"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Autoplay"
description="Defines whether or not the slideshow items should switch automatically">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="animation"
type="list"
default="fade"
label="Animation"
description="Defines the preferred transition between items">
<option value="fade">Fade (default)</option>
<option value="scroll">Scroll</option>
<option value="scale">Scale</option>
<option value="swipe">Swipe</option>
</field>
<field name="interval"
type="text"
default="3000"
label="Interval"
description="Defines the timespan between switching slideshow items" />
<field name="dotnav"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Dot navigation"
description="Turn on or off dot navigation.">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="slidenav"
type="radio"
class="btn-group btn-group-yesno radio"
default="1"
label="Previous/next buttons"
description="Turn on or off navigation with previous and next 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 hover?"
description="Pause autoplay when hovering a slideshow">
<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>
</extension>