-
Notifications
You must be signed in to change notification settings - Fork 2
/
hideitems.xml
39 lines (37 loc) · 1.76 KB
/
hideitems.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
<?xml version="1.0" encoding="iso-8859-1"?>
<extension version="2.5" type="plugin" group="system" method="upgrade">
<name>plg_system_hideitems</name>
<author>Matt Thomas</author>
<creationDate>March 27, 2014</creationDate>
<copyright>Copyright (C) 2012-2014 Matt Thomas. All rights reserved.</copyright>
<license>GNU GPL v2 or later</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://betweenbrain.com</authorUrl>
<version>3.0.1</version>
<description>PLG_SYSTEM_HIDEITEMS_DESC</description>
<files>
<filename plugin="hideitems">hideitems.php</filename>
<folder>language</folder>
</files>
<config>
<fields name="params">
<fieldset name="basic">
<field name="diagnostics"
type="radio"
default="0"
label="Enable Diagnostics"
description="When enabled, will prepend the buffer with the menu item being viewed in the front-end.">
<option value="0">JNo</option>
<option value="1">JYes</option>
</field>
<field name="itemlists"
type="textarea"
default="0:foo,bar;1:item0,baz"
label="Item Lists"
description="A series of lists, consisting of when to fire the plugin and what to remove. List syntax is X:class1,class2,class3;X2:class4,class5,class6;X3:class1,class3,class5 where X is the menu item, when being viewed, to fire the plguin, and class is the class of the menu item to remove from the page. Be sure that the menu item being viewed is followed by a colon, and each list ends with a semi-colon. The lists can be on different lines in the textarea, and the last list does not need to end with a semi-colon. TIP: Use 0: to deginate a set of classes to remove from all pages."
rows="10"
cols="50"/>
</fieldset>
</fields>
</config>
</extension>