Hi all,
does anybody know a way to edit the columns that are shown in the attachments macro? I am especially looking for a way to hide the labels.
Thanks a lot for your input.
Regards,
Bruce
You have to edit the attachment plugin jar which is bundled in Confluence. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open atlassian-bundled-plugins.zip. Locate confluence-attachments-plugin-x.x.x.jar and open it. The file to edit is in templates/extra/attachments folder, called attachments-table.vm. Delete these lines to remove the labels:
<th class="labels">$action.getText('labels.name')</th>
<td>#parse("/labels/labels-editor-content.vm")</td>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately it took some time to implement, but it works fine. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My query is about adding columns, not removing them.
https://jira.atlassian.com/browse/CONFSERVER-58555
I hope others will add their comments and votes ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this where you would also be able to edit the size of the "Name" column to make it larger (wider) so that the name doesn't appear as squished in IEv10?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.