One big clue that the post was for TWClassic is use of the "systemConfig" tag for plugins. TW5 doesn't use that tag to define a plugin. Rather, it uses the 'type' and 'module-type' fields.
-e
<$list filter="[[$:/HistoryList]getTitlesFromJSON[]last[]]"/> — {{$:/SiteTitle}}
What would be interesting was if there was a way to actually have the window title reflect the last tiddler being opened.
When I look at $:/core/ui/SideBar/Open, I find an odd construct that has me confused about it using a history parameter with the list widget — something I haven't noticed before — without really telling anything about what that parameter does and why in the ListWidget documentation. I get the feeling that it doesn't help me for extracting only the last opened tiddler, does it?
--Best wishes,— tb
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/08d8387c-3ac6-477b-adc9-aeb024ac55a0%40googlegroups.com.
It's actually a bit easier than that. Set $:/SiteTitle to:{{$:/HistoryList!!current-tiddler}}
You can assume that anything posted before 2012 is NOT referring to TW5.
One big clue that the post was for TWClassic is use of the "systemConfig" tag for plugins. TW5 doesn't use that tag to define a plugin. Rather, it uses the 'type' and 'module-type' fields.
From what I understand of TiddlyWiki so far, $:/core/wiki/title is a system tiddler, which I can override by creating another tiddler of the same name, which becomes a shadow tiddler for it. Is that about right?
I've been looking back over ShadowTiddlers again in the official TW5 docs, trying to get a handle on all of this. It says "ShadowTiddlers are tiddlers that are loaded from within Plugins." Looking at the Plugins tiddler in the docs, I see a list of available plugins. From the description of "Plugins are used to distribute optional, custom components for TiddlyWiki." I assume I have to install a plugin myself for it to work, right? A bit like the extensions for MediaWiki. As far as I know, I haven't installed any plugins for TW5. Haha, I wouldn't even know how to yet! So where do these Shadow Tiddlers come from, from which plugins, if I haven't installed any plugins yet?
I see a huge list of "current shadow tiddlers" listed on the ShadowTiddlers tiddler in the official docs. At first I assumed that these are only the shadow tiddlers for plugins which are installed in the TW wiki instance at tiddlywiki.com, but then I copied the <$list> filter from the code on that page, into a new tiddler in my own instance of TW5 and got the same results (or near enough, a huge long list) as what I saw on tiddlywiki.com.
So now I'm even more confused:Can anyone explain this to me better, and maybe we can get the official docs updated, or maybe there needs to be a "TiddlyWiki for Dummies" book. I saw @Eric's IndieGoGo page, but that campaign had closed long before I had even heard about TiddlyWiki. Not that I could have afforded to contribute much, anyway, sorry.
- The docs say that shadow tiddlers come from plugins.
- I haven't installed any plugins.
- I have shadow tiddlers anyway.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/be9563c7-45ad-472e-9ad4-0f275c59b71e%40googlegroups.com.
Thanks for explaining that. Doesn't having the core as a plugin contradict the very nature of a plugin, which you describe in the official docs as "Plugins are used to distribute optional, custom components for TiddlyWiki", (emphasis mine). I would have thought that the core itself is not optional, thus it shouldn't be described as a plugin. It seems confusing to me.
Would it be possible to show the field "caption" instead of "title"?
title: $:/core/wiki/title
{{$:/SiteTitle}} — <$tiddler tiddler={{$:/HistoryList!!current-tiddler}}><$view field="caption">{{!!title}}</$view></$tiddler>