<
From version < 4.4 >
edited by Vincent Massol
on 2017/09/05
To version < 5.1 >
edited by Ecaterina Moraru (Valica)
on 2017/10/10
>
Change comment: Adding details on how to disable an UIX

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.evalica
Content
... ... @@ -63,3 +63,16 @@
63 63  {{/velocity}}
64 64  {{/code}}
65 65  )))
66 +
67 +== Disabling some Extension Points ==
68 +
69 +Until we fix [[XWIKI-13076>>http://jira.xwiki.org/browse/XWIKI-13076]], there is no 'clean' way to disable an UIX.
70 +
71 +In order to disable a page having an ##XWiki.UIExtensionClass## object you can delete page, delete the object, or use an invalid extension point ID.
72 +
73 +For example, if you would want to remove "User Index" from the Drawer, you should:
74 +- Identify the extension point used for Drawer. In our case this is [["org.xwiki.plaftorm.drawer">>xwiki:Documentation.DevGuide.ExtensionPoint.DrawerItem]]
75 +- Identify all the pages that use this extension point. For this [[Search>>extensions:Extension.Solr Search Application]] can be used to filter for documents that have “Object Type” = “UI Extension”. Make sure you have the hidden pages preference set to true, from the [[user Profile>>extensions:Extension.User Profile Application||anchor="HEditPreferences"]].
76 +- You will get a list of such pages, like ##Applications.WebHome##, ##XWiki.UserIndexUIX##, ##XWiki.DocumentIndexUIX##, etc.
77 +- Go to the ##XWiki.UserIndexUIX## page and from [[Object Editor>>xwiki:Documentation.UserGuide.Features.PageEditing||anchor="HObjectseditingmode"]] change the ##org.xwiki.plaftorm.drawer## ID to something else.
78 +- Save the page and the change should be live.

Get Connected