-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_floating_advertising.xml
145 lines (138 loc) · 3.87 KB
/
mod_floating_advertising.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
<name>MOD_FLOATING_ADVERTISING</name>
<author>fyousefi</author>
<creationDate>April 2020</creationDate>
<copyright>Copyright (C) AsiaSun.ir All rights reserved.</copyright>
<license>Creative Commons Zero v1.0 Universal</license>
<authorEmail>support[[@]]asiasun.[[ir]]</authorEmail>
<authorUrl>www.asiasun.ir</authorUrl>
<version>1.0.0</version>
<description>MOD_FLOATING_ADVERTISING_XML_DESCRIPTION</description>
<files>
<filename module="mod_floating_advertising">mod_floating_advertising.php</filename>
<folder>tmpl</folder>
</files>
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.mod_floating_advertising.ini<language>
<language tag="en-GB">en-GB/en-GB.mod_floating_advertising.sys.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field
name="spacer"
type="spacer"
label="If you have a banner script from an advertising agency select YES or create new custom banner"
/>
<field
name="banner_type"
type="radio"
label="Do you have a script?"
description="MOD_FLOATING_ADVERTISING_FIELD_PREPARE_CONTENT_DESC"
class="btn-group btn-group-yesno"
default="0"
filter="integer"
>
<option value="1">JYES</option>
<option vlaue="0">JNO</option>
</field>
<field
name="banner_script"
type="textarea"
label="Script"
description="If you have a banner script from an advertising agency."
rows="2"
filter="raw"
showon="banner_type:1"
/>
<field
name="banner_image"
type="media"
label="Image"
directory="banners"
showon="banner_type:0"
/>
<field
name="banner_link"
type="url"
label="Link"
size="10"
validate="url"
showon="banner_type:0"
/>
<field
name="device_type"
type="checkboxes"
label="Device Type"
description="Select which device can show banner"
>
<option value="phone">Phone</option>
<option value="tablet">Tablet</option>
</field>
</fieldset>
<fieldset name="options" label="COM_MODULES_BASIC_FIELDSET_LABEL">
<field
name="prepare_content"
type="radio"
label="MOD_FLOATING_ADVERTISING_FIELD_PREPARE_CONTENT_LABEL"
description="MOD_FLOATING_ADVERTISING_FIELD_PREPARE_CONTENT_DESC"
class="btn-group btn-group-yesno"
default="0"
filter="integer"
>
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="backgroundimage"
type="media"
label="MOD_FLOATING_ADVERTISING_FIELD_BACKGROUND_IMAGE_LABEL"
description="MOD_FLOATING_ADVERTISING_FIELD_BACKGROUND_IMAGE_DESC"
>
<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"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
rows="3"
/>
<field
name="cache"
type="list"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
default="1"
filter="integer"
>
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="number"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
default="900"
filter="integer"
/>
<field
name="cachemode"
type="hidden"
default="static"
>
<option value="static"></option>
</field>
</fieldset>
</fields>
</config>
</extension>