Any reliable way to see actual wiki markup used for macros? Confluence 4.0

I need to add some macros to the dashboard but since there's no text editor on dashboard, I sometimes find it hard what wiki markup I need to use. For instance Expand macro... What is suggested on this page: http://confluence.atlassian.com/display/DOC/Expand+Macro doesn't work any more, assuming because it's for 3.5.

Thanks.

4 answers

This widget could not be displayed.

Hallo LGmin and Ken

The {expand} macro is now bundled with Confluence, so there's no need to add it as a user macro any more. Instead, you should be able to use it (on a page, at least) in the same way as you would add any other macro.

I don't know why Confluence is giving problems when you try to use the {expand} macro on the dashboard. But here's a workaround that may help.

I'm assuming that, at the moment, you are putting all your dashboard text and wiki markup into the "Site Welcome Message" text box on the "General Configuration" page of the Confluence Administration Console.

Instead, you can build the dashboard content in a normal wiki page. That means that, on the page, you can use the new {expand} macro and any other rich content that you like, edited via the new editor. And you can do the initial insertion of the wiki markup via the "Insert Wiki Markup" option on that page.

When the content is ready on that page, you can use a single line of wiki markup to put that page onto the dashboard:

{include:SPACEKEY:Page Name}

Put the above wiki markup into the "Site Welcome Message" text box.

The documentation gives some examples here:

http://confluence.atlassian.com/display/DOC/Editing+the+Site+Welcome+Message#EditingtheSiteWelcomeMessage-Example3IncludingContentfromAnotherPage

I hope this solves the problem for you!

Cheers, Sarah

This widget could not be displayed.

Refer to the 3.5 version of our documentation:

http://confluence.atlassian.com/display/CONF35/Expand+Macro

This widget could not be displayed.

I have the same problem as the original poster. I have a Dashboard (Confluence v4.1.9) with the following macro that used to work fine in v3.5.9:

{expand:title=Click here to learn about linking to pages outside of Confluence}
{note}Users should be alerted to use the *Tiny Link* (URL) when referencing pages outside of Confluence (e.g., bookmarks, e-mails). From any page (except the Dashboard), type the keyboard letter "k" and copy/paste the middle *Tiny Link* which will always remain permanent even though the Wiki page may be moved internally for administrative purposes.{note}
{expand}

I can use the expand macro on any other page; however, it appears that, because the Dashboard is still Wiki Markup, the macro is not being recognized.

Are you suggesting that I copy the User Macro and install in Confluence v4.1.9?

Ken

Incidentally, I tried to add the User Macro, but received a warning that a system macro by that name already exists.

Ken

This widget could not be displayed.

Sarah:

Sorry for the delay in pursuing this issue, but I tried your suggestion today, that is:

  1. I cut the content from the original Dashboard box (containing the expand macro content) and added it to a new Wiki page and, indeed, the expand macro works just fine there (see screenshot #1).
  2. I then inserted this line into the place where the original content was located (under Edit Dashboard): {include:ForumHelp:ICANN Dashboard-Include}

Unfortunately, when Confluence brings in the included page, it STILL completely expands the content (see screenshot #2).

Real estate on the Dashboard is precious and I would really like to use the {expand} macro there...any other ideas?

Ken

===

First image is the page containing the expand macro - works fine on that separate page.

Second image shows the Dashboard after the {include} macro was added. The content is auto-expanded and there is no option to shrink.

Hi,

Instead on Expand on the dashboard, use this:

<a href="javascript:;" onmousedown="if(document.getElementById('navigate').style.display == 'none'){ document.getElementById('navigate').style.display = 'block'; }else{ document.getElementById('navigate').style.display = 'none'; }"><h1>Click here to expand the div</h1></a>
                    <div class="welcome-message" id=navigate style="display:none;">
 
text her
 
</div>

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

445 views 5 6
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