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.
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:
I hope this solves the problem for you!
Cheers, Sarah
Sarah:
Sorry for the delay in pursuing this issue, but I tried your suggestion today, that is:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer to the 3.5 version of our documentation:
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.