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

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

This widget could not be displayed.

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

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

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

Please post the code of your user macro.

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

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> 

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

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

This widget could not be displayed.

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

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

71 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you