Hi,
2008/8/20 Sean Allen <sean(a)monkeysnatchbanana.com>om>:
I'm feeling like I need one.
I've been playing around with Pier for a couple days and well... I
don't feel much further along when than when I started.
Basic things like...
how you change the style, theme, layout whatever you want to call it
are simply a mystery to me.
I think your concern is only the aspect of Pier.
Out of the box, it's done by a kind of template page called that can
be redefined.
There, once logged as Admin (admin:pier by default) I guess, you can
edit this page:
http://localhost:8888/seaside/pier/environment
In view mode, you should have displayed:
Environment
Unable to fully display recursive composition.
Once in edit mode, you'll see some html but only the div parts. It's
actually a classic Pier page, where you can add components like
heading, counter, blog archives, etc... But to structure it, you
should have div's composition, so a template that coupled with CSS
will give you the look you want.
It's not that easy to do but think of it as a classic wiki pages with
some inner html elements for layout. Mine looks like:
<div class="container">
<div class="header column span-24">
<div class="search column span-5">+search+</div>
<div class="title column span-10">+title+</div>
<div class="column span-9 last quote"
style="font-style: italic;">When
*NARS>http://http://nars.wang.googlepages.com/* meets Smalltalk,
*Squeak>http://www.squeak.org* and
*Seaside>http://www.seaside.st*</div>
<div class="column span-9 last quote" style="font-size: smaller;
font-style:italic;"> \-- *a GSoC'08 Squeak
project>http://code.google.com/soc/2008/squeak/about.html* \--</div>
<div class="children column span-24 last">+children+</div>
</div>
<div class="body column span-24">
<div class="sidebar column span-5">+sidebar+</div>
<div class="contents column span-17 append-1
last">+contents+</div>
</div>
<div class="footer column span-24" style="text-align:
center">+footer+</div>
</div>
It's not a very good one as I should use a caption component (or
disclaimer) instead of inlining it but it show you the basic picture.
Id like span-9 spann-24 last, as convenience css brought by the
blueprint css framework (which is default in Pier). children, contents
sidebar are seaside pier default presentation component but any
seaside components can be used.
hth,
Cédrick
Is there a 'these are the must know basics' guide?
I went back to sometime last year in the archives, tried googling,
read stuff on the wiki and off of Lukas's site
but still feel utterly lost.
I see there is a PRPierFrame that everything else is inside. Do I
remove the children
from it, rearrange them? Write my own?
That is just one basic thing I'm not grasping..
Any links to getting started basics would be greatly appreciated. in
the meantime, back
to trying to figure this out.
Thanks.
Sean
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki