[All Adaptavist Apps]
Hi, We are currently running version 2.8.2 of confluence ( app server is Tomcat ) with the Space built using Theme Builder plugin. We want to provide novice functionality for the new space users. The novice functionality will be a set of reduced functionality of the current Space functionality. e.g.
Current Functionality: Newbies Functionality:
Since we took over the environment from another group. So we don't have the detailed knowledge for the code space. But I like to get a high level idea on what does it take to make changes to remove some of the existing tabs/links from the pages in the current Space. Specifically, I like to know if any internal code changes(source code/configuration files/UI, etc) will be needed to Theme Builder plugin in order to make these page changes?
Also, do you have source code available to download for Theme Builder plugin? If yes,where(url)?
Thanks,
Mei Zhao
4 Comments
Unknown User (erutanlive)
http://www.adaptavist.com/display/Builder/builder-hide+macro
or
http://www.adaptavist.com/display/Builder/builder-show+macro
use the group parameter.
Unknown User (gfraser)
The theme can be edited via the Layout Manager - pretty much everything can be altered in there.
EDIT: Be sure to check with Peter and Simone who are familiar with the settings of your theme - it uses a hierarchical structure and inherits from the parent theme settings. I assume it's the CE20 theme you are editing?
Unknown User (amoran)
The approach I would take is to define different layouts for each of the levels of user that you have, and then use a base layout for switching them.
If we assume you have called your layouts BASIC/USER/POWERUSER/ADMIN and edited the functionality presented by each to be suitable for each level of user, you would then create a layout to act as a switch between these layouts, lets call it SWITCH
You should switch off everything apart from the header panel, and then add the following code into the SWITCH layout's header panel.
You can then control the interface that the user sees by adding/removing them from confluence groups.
Unknown User (amoran)
Just for fun, if you wanted to add a menu to the ADMIN interface that would allow them to switch to a different layout to view any screen from another user's perspective, you could add the following menu somewhere in their layout
In fact, you can add the layout= parameter to any menulink to make the linked page be viewed with a different layout, set latch=true to make it permenant