Confluence 3.5 has this macro http://confluence.atlassian.com/display/CONF35/Color+Text+Macro
Confluence 4.0 does not, so I cannot copy my existing wiki markup {color:blue}blue{color} and paste it in the template form. So how can you set colors when creating a template?
Thanks
Simon
The new Confluence editor in 4.0 uses a color formatting menu in the editor toolbar.
If you want to copy and paste existing wiki markup into the new Confluence editor, use the Insert Wiki Markup dialog (see http://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup)
Thanks Joseph
The problem is there's no {color} macro in 4.0. So when i try to create a template http://confluence.atlassian.com/display/DOC/Adding+a+Template using the markup {color} does not work. Atlassian needs to add this macro to 4.0!
Search the link you provided for color and you;ll seereference to {color} macro under text effects, but its not in v4.0
Please adise.
It works for me! am I not understanding your template scenario correctly?
mmm, i will re-look tomorrow when i have access to confluence. What version are you running, 4.1? is there an aditional plugin i have missed for this macro? thats the exact senario. cheers
Sorry to hijack this thread, but does the {color} macro work in a table under Confluence 4.1.x? For example, I have this Global Template macro coding which rendered perfectly in Confluence v3.5.9; however, the text comes out in plain black:
{hidden-data:whenEmpty=CEXTENSION} h3. {color:maroon}{*}EXTENSION{*}{color} || Extension (Yes or Blank): | {color:darkgreen}{text-data:CEXTENSION|width=25px}{text-data}{color} | || New Close Date: | {color:darkgreen}{text-data:CEXTDATE|width=200px}{text-data}{color} | || New Close Time: | {color:darkgreen}{text-data:CEXTTIME|width=200px}{text-data}{color} | {hidden-data}
The color macro seems to work fine as Wiki Markup when inserted on a regular page.
Ken
What's the hidden-data macro? Could it be interfering with the colour scheme? Do you get the same behaviour if you remove this macro from the content?
The {hidden-data} macro is from CustomWare (http://wiki.customware.net/repository/display/AtlassianPlugins/hidden-data) and is part of its Scaffolding template. It "hides its contents when the page is being viewed, but allows it to be modified when editing."
I tried putting a {color:darkgreen} macro outside of {hidden-data} and it still does not work from a template.
If I insert a {color} macro as Wiki Markup on a standard page (other than a template), it works fine. I just noticed that inserting "darkgreen" seems to be problematic. It will work under Preview mode on a regular page; but, once the page is saved, the color returns to black. I tried {color:green} and that one remains permanent.
I then tried using "green" (vs. "darkgreen") using my above code and it still does not work. All text is rendered in black.
After further testing, it appears that the {color} macro does work correctly in a template, but what it won't do is change the color of a {text-data} entry -- another Scaffolding macro by CustomWare.
This may be a problem with {text-data} and not with Confluence. I will refer to CustomWare...
Added this content above and tried to delete, but could not...
Yeah, it does sound like the text-data macro has some hard-coded styling in that case.
It looks like you're new here. Sign in or register to get started.