Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.4
-
Fix Version/s: None
-
Component/s: Workspaces
-
Labels:None
-
keywords:workspace top menu icons subwiki
-
Difficulty:Unknown
-
Similar issues:
XWIKI-7478Fix top menu translation issues for global users when they are viewing a regular subwiki in a hybrid setup XWIKI-6993Top menu enhancements for workspaces XWIKI-7305Make sure that Workspaces related menus don't affect subwiki local users XWIKI-7530 Fix workspace membership issues when a user's group gets added to a workspace. XWIKI-8863 Hide "Add > Workspace" top menu when the user does not have view rights on the WorksapceManager.CreateNewWorkspace page XWIKI-6994Add the CSS for the top menu enhancements (common to both main wiki and workspaces) XWIKI-6991Add hooks into the platform to handle the workspaces feature when it is installed XWIKI-7266Top Active Members script does not link global users properly in created workspace XWIKI-7353Fix workspace issues related to the fact that the local Admin is missing XWIKI-7609 Allow only global admins to directly add users/groups to a workspace
Description
Currently, the icons are defined by the page WorkspaceManager.Style and are located in the main wiki. Workspaces are aware of this and are explicitly importing the page from the main wiki as SSX so that the menu looks ok.
A regular subwiki does not know about this and does not use the SSX, thus not displaying the menu item icons.
The workspace application probably needs to use colibri.css to provide its icons so that they are visible on all the wikis.
Workaround for subwikis:
Add a page in the XWiki space of the subwiki and add a StyleSheetExtension object in it. In the content of the SSX object, add these lines:
#set ($workspaceManagerStyleDocumentReference = $services.model.createDocumentReference($xcontext.mainWikiName, 'WorkspaceManager', 'Style')) #if ($xwiki.exists($workspaceManagerStyleDocumentReference)) @import "$xwiki.getURL($workspaceManagerStyleDocumentReference, 'ssx', '')"; #end
Set the SSX to be used always on the entire wiki and that the content is parsed. Save and hard refresh (CTRL+F5). You should have the icons too now.
Issue Links
- is related to
-
XWIKI-7478
Fix top menu translation issues for global users when they are viewing a regular subwiki in a hybrid setup
-