Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the table-plus plugin from a table (but keep the table)

Rich Cumbers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2014

Hi,

We have historically used the table-plus plugin on old versions of Confluence to get sorted columns etc, however with the recent upgrade to Confluence 5, the native tables have this function. For these cases I would like to remove the table-plus macro, but keep the table. How can I do this?

Cheers

Rich

2 answers

1 vote
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2014

Create a user macro of the same name that essentially does nothing and passes through the body data. This would enable you to switch back if you needed later ;). Make sure you are not also using the csv macro. Then disable or uninstall the plugin.

David at David Simpson Apps
Atlassian Partner
January 10, 2014

Nice plan Bob ;)

0 votes
AndreasS
Contributor
January 9, 2014

Hi Rich,

here are the option I now:

  1. Easiest IMHO: Install Confluence Source Editor, click edit on the page where the table-plus macro should be removed, click "<>" to open the source editor, search for "table-plus" and remove
    &lt;ac:macro ac:name="table-plus"&gt;
        &lt;ac:parameter ac:name="sortColum"&gt;1&lt;/ac:parameter&gt;
        &lt;ac:rich-text-body&gt;
    and corresponding
    &lt;/ac:rich-text-body&gt;
    &lt;/ac:macro&gt;

    . Then click "Apply" and look at the result.

  2. Complicated for big tables: Select the complete table using the mouse from top-left to bottom-right cell, use cut (CTRL-C) and paste (CTRL-V) outside the "table-plus" macro. Now you can remove the empty "table-plus" macro.
  3. Maybe not really what you want: Replace the table-plus macro with the free Tableenhancer for Confluence which provides quite similar functionality but is completely open-source. First install it via UPM than edit the page where table-plus should be replaced, click the macro and edit. Click the link "Select Macro" on bottom-left of the shown dialog. Afterwards, you can select an the macro (e.g. tableenhacer) which replaces the "table-plus" macro.

Hope this help, best regards

Andreas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events