I'd like my Space Directory listing to include the same information as your documentation site does. See https://confluence.atlassian.com/spacedirectory/view.action .
To access this view on your documentation site, click Browse->Space Directory.
We're currently running Confluence 4.04.
Thanks!
You need to change the Space Directory bundled plugin in order to do that. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open "atlassian-bundled-plugins.zip" file. Locate "confluence-space-directory-4.x.jar" and open it using an archiving utility. In templates folder, there are two files that you need to edit.
space-directory.vm
This template displays what is shown in the Space Directory. Locate the code below at line 55:
<span class="column-heading desc-heading">$i18n.getText("description.name")</span>
and add the following code below it:
<span class="column-heading admins-heading">Space Administrators</span>
space-item.vm
Locate the code below at line 11-13:
<div class="entity-attribute space-desc"> <span>$generalUtil.htmlEncode($desc)</span> </div>
and add the following code below it:
<div class="entity-attribute space-admin"> <span> #set ($permissions = $space.getPermissions()) #foreach ($permission in $permissions) #if ($permission.getType() == "SETSPACEPERMISSIONS" && $permission.getUserName()) <a href="/display/~$permission.getUserName()" class="url fn confluence-userlink userlink-0" data-username="$permission.getUserName()" title="" data-user-hover-bound="true">$userAccessor.getUserIfAvailable($permission.getUserName()).getFullName()</a> #end #end </span> </div>
You'll find the links below useful:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.