-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbftemplatestyleoverride.xml
75 lines (71 loc) · 2.2 KB
/
bftemplatestyleoverride.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="3.5" method="upgrade" group="system">
<name>PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE</name>
<creationDate>July 2020</creationDate>
<version>4.2.0</version>
<author>Jonathan Brain</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.brainforge.co.uk</authorUrl>
<copyright>Copyright (C) 2020-2023 Jonathan Brain - All rights reserved.
</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<description>PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_XML_DESCRIPTION</description>
<files>
<filename plugin="bftemplatestyleoverride">bftemplatestyleoverride.php</filename>
<folder>language</folder>
</files>
<config>
<fields
name="params"
>
<fieldset
name="basic">
<field
name="paramname"
type="text"
required="true"
default="bftemplatestyle"
label="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_PARAMNAME_LABEL"
description="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_PARAMNAME_DESC"
/>
<field
name="stylealiases"
type="subform"
label="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_STYLEALIASES_LABEL"
multiple="true"
min="1"
layout="joomla.form.field.subform.repeatable-table"
>
<form>
<field
name="paramvalue"
type="text"
label="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_PARAMVALUE_LABEL"
description="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_PARAMVALUE_DESC"
hint="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_PARAMVALUE_HINT"
required="true"
/>
<field
name="styleid"
type="sql"
label="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE_STYLEID_LABEL"
sql_select="t.id, t.title"
sql_from="#__template_styles AS t"
sql_order="t.title ASC"
key_field="id"
value_field="title"
required="true"
>
<option></option>
</field>
</form>
</field>
</fieldset>
</fields>
</config>
<updateservers>
<server type="extension" priority="1" name="PLG_SYSTEM_BFTEMPLATESTYLEOVERRIDE">
https://brainforge.co.uk/component/bfupdater?element=plg_system_bftemplatestyleoverride.xml
</server>
</updateservers>
</extension>