Does the Combination with 'Table of Content'-Macro does not work anywhere?

Roman Joss
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 14, 2016

This question is in reference to Atlassian Documentation: Panel Macro

We use this 'Panel Macro' in Combination with the 'Table of Content' macro in Confluence 5.8.13.

When we use this, all the Text after the macro is handled as the Text is placed in the macro-Body. In the Body of the macro (in a single page) we place only the 'Table of Content'-Marco, nothing else.

In Confluence 5.6.6 this worked pretty well. For me it seems to be a Problem in the macro 'Table of Content'.

Does anyone use it also this way and have a solution for this?

Thanks for a reply.
Roman

3 answers

1 accepted

0 votes
Answer accepted
Roman Joss
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 15, 2016

Sure.

Standard Panel: use of the Standard Panel-Macro

Confluence_Standard_Panel.png

Pre-Formatted Panel: use of the preformatted Panel.
Created according to documentation-page: https://confluence.atlassian.com/conf58/panel-macro-771892397.html

Confluence_Formatted_Panel.png

Milo Test
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.
June 16, 2016

I'm afraid I don't understand what you mean by "pre-formatted."

Roman Joss
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.
June 16, 2016

That is a user-defined macro that i created on base of the following documentation-page:

https://confluence.atlassian.com/conf58/panel-macro-771892397.html

Milo Test
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.
June 16, 2016

Please post the code of your user macro.

Roman Joss
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.
June 16, 2016

The macro is rendered and the code is:

## @param Title:title=Title|type=string|desc=Title
<ac:structured-macro ac:name="panel">
         <ac:parameter ac:name="titleBGColor">#ccc</ac:parameter>
          <ac:parameter ac:name="borderStyle">solid</ac:parameter>
          <ac:parameter ac:name="borderColor">#6699CC</ac:parameter>
          <ac:parameter ac:name="borderWidth">2</ac:parameter>
          <ac:parameter ac:name="titleColor">#000000</ac:parameter>
      <ac:parameter ac:name="title">$!paramTitle</ac:parameter>
      <ac:rich-text-body>$body </ac:rich-text-body>
</ac:structured-macro>

 

Thanks for your help

Roman Joss
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.
June 16, 2016

That code is not showing, therefore without the code-macro:

 

## @param Title:title=Title|type=string|desc=Title
 <ac:structured-macro ac:name="panel">
         <ac:parameter ac:name="titleBGColor">#ccc</ac:parameter>
         <ac:parameter ac:name="borderStyle">solid</ac:parameter>
        <ac:parameter ac:name="borderColor">#6699CC</ac:parameter>
        <ac:parameter ac:name="borderWidth">2</ac:parameter>
        <ac:parameter ac:name="titleColor">#000000</ac:parameter>
    <ac:parameter ac:name="title">$!paramTitle</ac:parameter>
    <ac:rich-text-body>$body </ac:rich-text-body>
</ac:structured-macro> 

Milo Test
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.
June 17, 2016

Yeah, I don't see anything wrong. What happens when you wrap the code in a div?

Roman Joss
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.
June 20, 2016

Unfortunatly no difference. I've tried pretty much variant, but with no Change.

I have now donloaded the confluence-Version 5.9.12 and installed it. Wow, here the Problem is gone. Therefore i do not want to invest more time in that. I will migrate our Production-Server as soon as possible to Version 5.9.12 or 5.10. So this Problem is fixed.

Thanks for your help. Regards, Roman

0 votes
Roman Joss
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.
June 16, 2016

Does onyone else have such a Problem or am i the only one?

0 votes
Milo Test
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 15, 2016

Can you give us a screenshot of what you are seeing?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events