Create my layout

hi,

I am working using Conference 3.5 in order to create a template for my siteand I have a problem. I created a section with 3 columns and now I want to add in the first column 2 new sections. The first one will have 2 columns and the second one 3 columns. The code that I have is at the end of this message.

Could you please help me solve this problem?

Thank you in advance.

{section}

*Logo image*
\\
{section}\\

{section}\\

*frame*
\\
{section}\\

{section}\\

{column:width=75%}\\

 
{column}\\

{column:width=5%}\\
\\
{column}

{column:width=20%}

{column}\\
{section}

2 answers

Hallo Ko Cha

Just to check I understand you correctly: I'm assuming that you want to add the extra columns inside the third occurrence of the section macro - that is, inside this bit of your code:

{section}\\
{column:width=75%}\\
{column}\\
{column:width=5%}\\
\\
{column}
{column:width=20%}
{column}\\
{section}
In Confluence 3.5, it's not possible to have a section macro inside another section macro. (This is due to the limitations of wiki markup - when you code the {section} tag to start the second section macro, Confluence treats it as the tag that closes the first macro.) Instead, you'll need to use tables to define the embedded set of columns, like this:
{section}\\
{column:width=75%}\\
| table content | table content |
| table content | table content |
{column}\\
{column:width=5%}\\
| table content | table content | table content |
| table content | table content | table content |
\\
{column}
{column:width=20%}
{column}\\
{section}
Also, just a note about the first two section macros in your code:
{section}
*Logo image*
\\
{section}\\
{section}\\
*frame*
\\
{section}\\
You probably don't need to define those sections, unless you intend to put columns inside them. The section macros define an area within with the column macros will apply.
I hope this helps. Please let me know if I've misunderstood the requirements!
Cheers, Sarah

hi,

thank you very much for your reply! I cannot che it now but I think that I can understand how it works.

My template must looks like:

-------------------------------------------------------
|                                                                   |
-------------------------------------------------------
|                                                                   |
-------------------------------------------------------
|                          |                      |                 |
|                          |                      |                 |
|                          |                      |                 |
|                          |                      |                 |
-----------------------------------------|                 |
|               |                   |             |                 |
|               |                   |             |                 |
|               |                   |             |                 |
|               |                   |             |                 |
--------------------------------------------------------

Thank you in advance!
Regards,
Ko Cha

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

604 views 18 16
View question

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