forked from graredcr/insertbyid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_insertarticle.xml
executable file
·152 lines (141 loc) · 4.21 KB
/
mod_insertarticle.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="1.6.0" client="site" method="upgrade">
<!-- Name of the Module -->
<name>Insert Article</name>
<!-- Name of the Author -->
<author>Cristian Grañó</author>
<!-- Version Date of the Module -->
<creationDate>July 2017</creationDate>
<!-- Copyright information -->
<copyright>All rights reserved by www.percha.com</copyright>
<!-- License Information -->
<license>GPL 2.0</license>
<!-- Author's email address -->
<authorEmail>[email protected]</authorEmail>
<!-- Author's website -->
<authorUrl>www.percha.com</authorUrl>
<!-- Module version number -->
<version>1.8.1</version>
<!-- Description of what the module does -->
<description>Displays article as module
<![CDATA[
Displays article as module- thanks a lot to contributor: Oussama Chammam ([email protected]) , J. Cernek , Jean-Pierre Schnyder.
GITHUB - https://github.com/graredcr/insertbyid/
]]>
</description>
<!-- Listing of all files that should be installed for the module to function -->
<files>
<!-- The "module" attribute signifies that this is the main controller file -->
<filename module="mod_insertarticle">mod_insertarticle.php</filename>
<filename>index.html</filename>
<filename>helper.php</filename>
<filename>tmpl/default.php</filename>
<filename>tmpl/index.html</filename>
<folder>img</folder>
<folder>fields</folder>
</files>
<!-- Languages -->
<languages>
<language tag="en-GB">en-GB.mod_insertarticle.ini</language>
<language tag="es-ES">es-ES.mod_insertarticle.ini</language>
<language tag="fr-FR">fr-FR.mod_insertarticle.ini</language>
</languages>
<!-- Optional parameters -->
<config>
<fields name="params" addfieldpath="/modules/mod_insertarticle/fields">
<fieldset name="basic">
<field
name="moduleclass_sfx"
type="text"
label="CLASS" />
<field
name="id"
type="Articles"
label="ARTICLE ID" />
<field
name="showtitle_article"
type="radio"
default="0"
required="true"
label="SHOW_ARTICLE" >
<option
value="1">JYES</option>
<option
value="0">JNO</option>
</field>
<field
name="title_article_linkable"
type="radio"
default="0"
required="true"
label="ARTICLE_TITLE_LINKABLE" >
<option
value="1">JYES</option>
<option
value="0">JNO</option>
</field>
<field
name="only_article_view"
type="radio"
default="0"
label="HIDE_CONTAINER" >
<option
value="1">JYES</option>
<option
value="0">JNO</option>
</field>
<field
name="read_more"
type="radio"
default="0"
label="SHOW_README" >
<option
value="1">JYES</option>
<option
value="0">JNO</option>
</field>
<field
name="txt_read_more"
type="radio"
default="1"
label="TEXT_README" >
<option
value="1">Readmore</option>
<option
value="0">TITLE</option>
</field>
<field
name="show_edit"
type="radio"
default="0"
label="SHOW_EDIT" >
<option
value="1">JYES</option>
<option
value="0">JNO</option>
</field>
<field
name="info"
type="Info"
label="INFO" />
</fieldset>
<fieldset name="advanced">
<field name="layout" type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL" description="JFIELD_ALT_MODULE_LAYOUT_DESC" />
<field name="item_heading" type="list" default="2"
label="HEADING"
>
<option value="1">JH1</option>
<option value="2">JH2</option>
<option value="3">JH3</option>
<option value="4">JH4</option>
<option value="5">JH5</option>
</field>
<field
name="Itemid"
type="text"
label="Itemid MENU" />
</fieldset>
</fields>
</config>
</extension>