Recently, I tried to define the width of a column as such:
{section}
{column:width=400px}
Cell 1A
{column}
{column:width=400px}
Cell 1B
{column}
{section}
However, Confluence would not recognize the defined widths. After spending hours trying to figure out the solution, I found a JIRA ticket that provided a workaround—add a blank column at the end of each section.
{section}
{column:width=400px}
Cell 1A
{column}
{column:width=400px}
Cell 1B
{column}
{column} {column}
{section}
Thanks to Tomi Strugar for the workaround.
Monday, September 26, 2011
Thursday, September 22, 2011
Add a Site-wide Banner
To add a site-wide banner to Confluence:
TIP! When you no longer need the banner, comment it out instead of deleting it from the table.
Additional information can be found here.
- From the Browse dropdown, select Confluence Admin.
- The Administration Console page opens.
- Locate the Look and Feel section toward the middle-left of the page.
- Select Custom HTML.
- The Custom HTML page opens showing the Insert Custom HTML table.
- Press the Edit button at the bottom of the table.
- In the At Beginning of the Body text box, enter code similar to:
- <!-- Message Banner -->
<div style="background-color: gold; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">
Enter message here.
</div> - Press the Save button.
TIP! When you no longer need the banner, comment it out instead of deleting it from the table.
Additional information can be found here.
Tuesday, August 2, 2011
Add Image to PDF Export
To add an image to your PDF export in the title page, header or footer:
See the Editing the PDF Stylesheet page for more information.
- Access the appropriate space.
- Attach the image to a page in the space.
- Click the image's name link.
- The image opens in a new window.
- Copy the image's URL starting with /download/.
For example:
/download/attachments/107675675/PDFLayout.png - Access the space's PDF Layout page by going to Browse > Space Admin > PDF Layout.
- Press the Edit button.
- In the title, header or footer section, enter code similar to:
- To center the image and set a top margin and page break, use:
- Press the Save button.
<img src="/download/attachments/107675675/PDFLayout.png"/>
<div style="text-align:center; margin-top:35mm; page-break-after:always;"><img src="/download/attachments/107675675/PDFLayout.png"/></div>
See the Editing the PDF Stylesheet page for more information.
Friday, July 29, 2011
Add Page Numbers to a PDF Export
To add page numbers to a PDF export, enter the following code in the PDF Stylesheet:
#pageNum:before
{
content: counter(page);
}
Access the PDF Layout section.
Enter code similar to following in the PDF Space Export Header or PDF Space Export Footer section of the PDF Layout:
<div style="text-align:right;"><span id="pageNum"/></div>
To edit the PDF Stylesheet page, open the space then go to Browse > Space Admin > PDF Stylesheet > Edit button.
To edit the PDF Layout page, open the space then go to Browse > Space Admin > PDF Layout > Edit button.
________________________________________________________________
See the Editing the PDF Stylesheet page for more information.
#pageNum:before
{
content: counter(page);
}
Access the PDF Layout section.
Enter code similar to following in the PDF Space Export Header or PDF Space Export Footer section of the PDF Layout:
<div style="text-align:right;"><span id="pageNum"/></div>
To edit the PDF Stylesheet page, open the space then go to Browse > Space Admin > PDF Stylesheet > Edit button.
To edit the PDF Layout page, open the space then go to Browse > Space Admin > PDF Layout > Edit button.
________________________________________________________________
See the Editing the PDF Stylesheet page for more information.
Tuesday, July 26, 2011
Remove TOC from PDF Export
To remove the table of contents from your PDF export, enter the following code in the PDF Stylesheet:
div.toc
{
display: none;
}
To edit the PDF Stylesheet page, open the space then go to Browse > Space Admin > PDF Stylesheet > Edit button.
Monday, July 25, 2011
Can't Find Restored Page
When a space admin restores a deleted page from the Trash, the page becomes an orphaned page within the space. To see the page, go to Browse > Pages > Tree view. Make sure to move the page under the appropriate parent page.
Thursday, July 21, 2011
Workaroud for Check In, Check Out
Confluence does not allow users to check in and out pages. To work around this issue, restrict the page so that only you can edit it. Once you are finished, remove the restriction.
To restrict the page:
To restrict the page:
- Edit the page.
- Locate the Restrictions section near the bottom of the page.
- Click the Edit link.
- The Page Restrictions window opens.
- Select the Restrict Editing of this Page radio button.
- Select the Me icon.
- Press the Save button.
- Edit the page.
- Locate the Restrictions section near the bottom of the page.
- Click the Edit link.
- The Page Restrictions window opens.
- Locate the listed restriction.
- Click the Remove Restriction link.
- Press the Save button.
Subscribe to:
Posts (Atom)