On and off for a couple of months I've tried to get the hang of TW5... and 
failed every time. It took a long time for me to get into TWC but I finally 
did get there and one of the best ways to control/customize it was via a 
theme (based on Bairds MPTW) where the various templates etc were collected 
in one place. I'm hoping to get there witht TW5 too but, darn, I can't get 
an overview of this. 

For starters, could someone please give (or point to) an top-down overview  
of the general strategy for how the page elements are split up. In English 
not code, please.

This is what I think I've understood, please correct me;

First of all, where page elements are defined is very different from TWC.
The commands/markup for defining the parts are different - they are in html 
in TWC but in TW5 they are in a "Jeremy-defined" markup language (based on 
and very close to established markup language which name escapes me)
In TW5 the tiddler PageTemplate is named $:/core/ui/PageTemplate. The meat 
of this is this part:

<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" 
variable="listItem">
<$transclude tiddler=<<listItem>>/>
</$list>

...which filters out all tiddlers tagged "$:/tags/PageTemplate". Not sure 
what that variable listItem is/does.
It is clever to use a filter in the pagetemplate rather than hard coding 
which page elements to use because this lets us add new elements without 
actually messing this this pagetemplate tiddler but instead simply by 
adding the tag.

The result from the filter are these:

$:/core/ui/PageTemplate/alerts 
$:/core/ui/PageTemplate/sidebar 
$:/core/ui/PageTemplate/story 
$:/core/ui/PageTemplate/topleftbar 
$:/core/ui/PageTemplate/toprightbar

Now, these elements are placed in the right place on the screen either by 
magic or by brain gamma rays from Jeremy. My best guess is magic, because I 
cannot imagine how brain rays would penetrate my bunker and with magic it 
would all make perfect sense and this would also explain a lot of other 
questions I have.

Ok, I'll start with this. Please, I'd love to hear your comments.

Thank you!

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to