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
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

232 views 0 4
Join discussion

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