How do I edit the Pier screen layout
Last updated at 12:47 pm UTC on 11 October 2008
Assumption
We assuming Pier is installed and a PRKernel instance (the wiki model) is accessible on
http://localhost:8080/seaside/mypier
(see How to construct a Pier kernel).
Question
How do I change the layout which is displayed under http://localhost:8080/seaside/mypier ?
Answer
- Move to the page http://localhost:8080/seaside/mypier/environment
- Click 'Edit'
- Change the html code
<div class="container">
<div class="header column span-24">
<div class="title column span-20">+title+</div>
<div class="search column span-4 last">+search+</div>
<div class="children column span-24 last">+children+</div>
</div>
<div class="body column span-24">
<div class="sidebar column span-4">+sidebar+</div>
<div class="contents column span-20 last">+contents+</div>
</div>
<div class="footer column span-24">+footer+</div>
</div>
- Note: with the + something + syntax, other components are included.
- The CSS might need adaptation as well.
Open questions / Notes
- What do I have to do if I want to change the sidebar rendering? Hint: Click on "Toggle Halos", then you see which class renders which component.
- .....
Oct 2008/hjh