-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod_customfields.xml
84 lines (70 loc) · 2.61 KB
/
mod_customfields.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
<?xml version="1.0" encoding="UTF-8"?>
<extension type="module" client="site" method="upgrade">
<name>Custom Fields Everywhere</name>
<version>0.7.0</version>
<creationDate>February 2022</creationDate>
<description>A module that will display content of selected custom fields of the displayed article.</description>
<namespace>Joomla\Module\CustomFields</namespace>
<author>Luka Oman</author>
<authorEmail>luka@bubi.si</authorEmail>
<authorUrl>http://www.bubi.si</authorUrl>
<copyright>Luka Oman</copyright>
<license>GNU General Public License version 3; see LICENSE.txt</license>
<!-- Files, that are in use by the module -->
<files>
<filename>mod_customfields.xml</filename>
<filename module="mod_customfields">mod_customfields.php</filename>
<filename>index.html</filename>
<folder>tmpl</folder>
<folder>fields</folder>
<folder>Helper</folder>
<folder>language</folder>
<filename>LICENSE.txt</filename>
<filename>README.md</filename>
</files>
<!-- Updates -->
<updateservers>
<server type="extension" name="Custom Fields Everywhere" priority="1">https://raw.githubusercontent.com/bubi-luka/mod_customfields/master/mod_customfields-updates.xml</server>
</updateservers>
<!-- Configuration files, form fields, back end -->
<config>
<fields name="params" addfieldpath="/modules/mod_customfields/fields">
<fieldset name="basic">
<!-- Message field in the backend for constructing the shortcode -->
<field
name="labelInstructions"
type="cfmessage"
message="instructions"
label="Instructions"
path="../modules/mod_customfields/"
xml="mod_customfields.xml"
extension_name="mod_customfields" />
<!-- Field with commands to insert value into editor -->
<field
name="buttonInsertShortcode"
type="cfbutton"
label="Insert shortcode with a click"
path="../modules/mod_customfields/fields/"
xml="mod_customfields.xml"
extension_name="mod_customfields" />
<!-- Text editor that contains text for module -->
<field
name="editorFields"
type="editor"
label="Insert text and shortcode"
description="Shortcode is created with text {field ID}, where the ID is the number of the custom field."
width="300"
filter="safehtml" />
<!-- Message field in the backend that display all the custom fields -->
<field
name="listFields"
type="cfmessage"
label="All of all shortcodes"
message="fieldlist"
path="../modules/mod_customfields/"
xml="mod_customfields.xml"
extension_name="mod_customfields" />
</fieldset>
</fields>
</config>
</extension>