-
Notifications
You must be signed in to change notification settings - Fork 3
/
example.xml
34 lines (34 loc) · 1.71 KB
/
example.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
<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="k2" method="upgrade">
<name>Example K2 Plugin</name>
<author>JoomlaWorks</author>
<creationDate>February 8th, 2018</creationDate>
<copyright>Copyright (c) 2006 - 2018 JoomlaWorks Ltd. All rights reserved.</copyright>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.joomlaworks.net</authorUrl>
<version>2.3</version>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<description>An example K2 plugin to extend item, category and user forms in K2 with a URL inputbox for YouTube videos. The plugin will convert the YouTube URL you enter in K2 backends forms into a functional video player in the frontend.</description>
<files>
<filename plugin="example">example.php</filename>
</files>
<!-- Standard Joomla! plugin parameters to setup the K2 plugin once -->
<config>
<fields name="params">
<fieldset name="basic">
<field name="width" type="text" default="425" label="Video width" description="" />
<field name="height" type="text" default="344" label="Video height" description="" />
</fieldset>
</fields>
</config>
<!-- K2 plugin parameters which extend K2 backend forms are defined here -->
<fields group="item-video">
<field name="videoURL_item" type="text" size="80" default="" label="YouTube URL (for item forms)" description="" />
</fields>
<fields group="category">
<field name="videoURL_cat" type="text" size="80" default="" label="YouTube URL (for category forms)" description="" />
</fields>
<fields group="user">
<field name="videoURL_user" type="text" size="80" default="" label="YouTube URL (for user forms)" description="" />
</fields>
</extension>