Create my layout
Asked by Ko Cha:

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}
```


Answers:
author: Ko Cha
body: 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


author: SarahA
body: 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