Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (37 sloc) 1.76 KB
<?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>matt@betweenbrain.com</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>