So imagine a page that contains three components. I
want to
do some specific markup for the layout of these components.
And at the same time I want to be able to press edit and write
some help text above component No. 2.
Yes, you can do that. Add a page a page that adds markup before and
after your components.
The simplest thing is to stick with the Pier markup:
| +component1+ | +component2+ |
Regarding layout I would need to do HTML markup. Can a
pier
page be enriched by HTML markup?
Of course you can also use plain HTML, if you want. Something along:
<div class="float: left">+component1+</div>
<div class="float: left">+component2+</div>
Or is this possible by
tweaking the environment? As far as I understand it the
contents component in an environment determines the place
in the tree where the page is rendered into.
Yes, the environment defines the placing of multiple pages. It can
also embed pages, or components. Exactly the same way as shown above.
The only difference of the environment to a normal page, is that it
doesn't surround the wiki text with <p> tags when being rendered. This
makes the HTML more clean if you define layout. Have a look at the
environment of the default Pier installation.
Can you have
more than one in an environment?
Yes, every page can have its own environment. Subpages automatically
inherit the environment of the parent page.
Go to 'Settings' to change the environment.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch