<
From version < 5.1 >
edited by Ecaterina Moraru (Valica)
on 2017/10/10
To version < 6.1 >
edited by Ecaterina Moraru (Valica)
on 2017/10/10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -68,11 +68,12 @@
68 68  
69 69  Until we fix [[XWIKI-13076>>http://jira.xwiki.org/browse/XWIKI-13076]], there is no 'clean' way to disable an UIX.
70 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.
71 +In order to disable a page having an ##XWiki.UIExtensionClass## object you can delete the page, delete the object, or use an invalid extension point ID.
72 72  
73 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.
74 +
75 +* Identify the extension point used by the [[Drawer>>extensions:Extension.Flamingo Skin||anchor="HDrawer"]]. In our case this is ##[[org.xwiki.plaftorm.drawer>>xwiki:Documentation.DevGuide.ExtensionPoint.DrawerItem]]##.
76 +* Identify all the pages that use this extension point. For this, you can use [[Search>>extensions:Extension.Solr Search Application]] to filter for documents that have ##Object Type## = ##UI Extension##. Make sure you have the "Display Hidden Pages" preference set to true, from the [[User Profile>>extensions:Extension.User Profile Application||anchor="HEditPreferences"]].
77 +* You will get a list of such pages, like ##Applications.WebHome##, ##XWiki.UserIndexUIX##, ##XWiki.DocumentIndexUIX##, etc.
78 +* Go to the ##XWiki.UserIndexUIX## page and from the [[Object Editor>>xwiki:Documentation.UserGuide.Features.PageEditing||anchor="HObjectseditingmode"]] change the ##org.xwiki.plaftorm.drawer## ID to something else.
79 +* Save the page and the Drawer entry should disappear.

Get Connected