-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.xml
72 lines (53 loc) · 3.58 KB
/
config.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
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<!-- The title that appears in the gadget's title bar. -->
<entry key="title" label="Title">Rename & Redirect</entry>
<!-- The URL of an icon image or a class name of a system icon (http://a.cmsrc.omniupdate.com/resources/icomoon/). -->
<entry key="icon" private="true">icon-forward</entry>
<!-- The description that appears in the gadget chooser. -->
<entry key="description" private="true">Renames a page, and automatically redirects the old page name to the new one.</entry>
<!-- The URL of a thumbnail image to appear in the gadget chooser. -->
<entry key="thumbnail" private="true">https://raw.githubusercontent.com/uaanchorage/gadget-rename-redirect/master/thumbnail.jpg</entry>
<!-- Current supported types are "dashboard" and "sidebar". If you want your gadget to appear
in both places, enter "dashboard, sidebar". -->
<entry key="types" private="true">sidebar</entry>
<!-- This entry, if present, causes OU Campus to forward notifications of the specified
type(s) to the gadget. Enter one or more notification types separated by commas. -->
<entry key="notifications" private="true">rename</entry>
<!-- For sidebar gadgets only. See explanation at bottom. -->
<entry key="sidebar_context" private="true">page</entry>
<!-- For dashboard gadgets only. Determines the width of the gadget in columns.
Can be 1, 2, or 3. -->
<!--<entry key="columns" private="true">1</entry>-->
<!-- For sidebar gadgets only. Determines the initial height of the gadget in pixels. -->
<entry key="initial_height" private="true">120</entry>
<!-- Below is a custom config entry. Custom entries are for the gadget's internal use only.
You can add as many custom entries as you wish. The "private" and "overwritable" flags
apply to custom entries too. -->
<!--<entry key="font_size" label="Font Size" overwritable="true">14px</entry>-->
</config>
<!-- Flags
private : If set to true, the property will not be exposed anywhere in the UI.
overwritable : If set to true, the property will be exposed in the gadget's user-accessible
configuration modal. If false or absent, the property will only be exposed
in the gadget management screen. (If the private flag is set to true, this
property is ignored.)
-->
<!-- Sidebar contexts
If the sidebar_context property is specified, the sidebar gadget will only appear when the
OU Campus app is "in" the specified context. Curent supported contexts are as follows:
"page" : True when the subject of the current view is an individual page. Examples include
page preview, page edit, and page properties.
"page-params" : True for Page Parameters view
"page-preview" : True for Page preview view
"page-edit-preview" : True for Page Edit preview view
"edit" : True only for WYSIWYG editing views and source editing views.
"justedit" : True for JustEdit
"legacy-wysiwyg" : True for Legacy WYSIWYG (not JustEdit)
"source-edit" : True for Source editor
"asset" : True when the subject of the current view is an individual asset.
"asset-edit" : True for Asset Edit preview view
"asset-preview" : True for Asset preview view
"file" : True when the subject of the current view is either an individual page or an
individual asset.
-->