Hi Jeremy,
 

> Why would you expect "currentTiddler" to be defined outside of the story 
> river? 
>
And what value would you expect it to have?
>

In TWc, there were two cases in addition to the "story-tiddler"...

   1. a placeholder had the "tiddler" attribute set to the corrsponding 
   tiddler, e.g. SiteTitle
   2. a transclusion had the "tiddler" attribute set to the corresponding 
   tiddler being transcluded via the tiddler macro

So, there was that way of knowing from within either of these instances 
what placeholder we're in, i.e. what is being rendered. There even had to 
be special handling via *story.findContainingTiddler* to find the actual 
story tiddler within code. Now, I am not saying this was better, but it 
turns out I am missing that other variant now, especially when there is no 
story around my rendered tiddler.

When something tagged *$:/tag/ViewTemplate* is rendered, then 
*currentTiddler* for that template is what? Exactly, the tiddler for which 
the template is rendered. When something is tagged *$:/tag/PageTemplate* 
...this 
context is?!? I don't know. But I'd sure like to know from within the code 
of that tiddler as you can see ...call it *contextTiddler*. :)

Best wishes, Tobias.

-- 
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