Top level template

44 views
Skip to first unread message

joearms

unread,
Dec 20, 2018, 6:19:06 AM12/20/18
to TiddlyWikiDev
When I start a TW I see a certain page layout - I assume that this layout
is determined by a template, with transclusions in it.

Where do I start reading the code - what's the name of the top-level
tiddler ie the template that (or tiddler) that determines how the
first thing I see looks on screen?

Cheers

/Joe

Jeremy Ruston

unread,
Dec 20, 2018, 6:42:15 AM12/20/18
to TiddlyWikiDev
Hi Joe

On 20 Dec 2018, at 11:19, joearms <joe...@gmail.com> wrote:

When I start a TW I see a certain page layout - I assume that this layout
is determined by a template, with transclusions in it.

Yes, just that.

Where do I start reading the code - what's the name of the top-level
tiddler ie the template that (or tiddler) that determines how the
first thing I see looks on screen?

The top level page template is $:/core/ui/PageTemplate:


The top level CSS style template is $:/core/ui/PageStylesheet:


Best wishes

Jeremy





Cheers

/Joe

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/5149e4d3-f074-4afc-82f7-60652ff363b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

joearms

unread,
Dec 20, 2018, 6:56:41 AM12/20/18
to TiddlyWikiDev


On Thursday, 20 December 2018 12:42:15 UTC+1, Jeremy Ruston wrote:
Hi Joe

On 20 Dec 2018, at 11:19, joearms <joe...@gmail.com> wrote:

When I start a TW I see a certain page layout - I assume that this layout
is determined by a template, with transclusions in it.

Yes, just that.

Where do I start reading the code - what's the name of the top-level
tiddler ie the template that (or tiddler) that determines how the
first thing I see looks on screen?

The top level page template is $:/core/ui/PageTemplate:


The top level CSS style template is $:/core/ui/PageStylesheet:


Best wishes

Brilliant - I think the reply should be tagged "Rosetta stone" -

Seriously THIS is the stuff I really want to know - I'm not so bothered about the translation of
WikiText into HTML.

I think we need a book in the style of "TiddlyWiki the good bits for programmers"

Knowing the first line of code to be executed is often the key to understanding anything.

Thanks again

/Joe
Reply all
Reply to author
Forward
0 new messages