Thank you Eric! I don't know about  {{$:/HistoryList!!current-tiddler}}.  I 
have one question. Why if I delete temp tiddler 
http://novye-podarki.ru/empty26_.html#%24%3A%2Ftemp%2F_HideStoryList with 
my lists, I have to check checboxes 3 times to make it work here  
http://novye-podarki.ru/empty26_.html#Figures ?

It happens because in first click fields are not ready?  here is my macros  
http://novye-podarki.ru/empty26_.html#%24%3A%2F_macros%2Ffilpar

воскресенье, 24 января 2016 г., 1:45:50 UTC+3 пользователь Eric Shulman 
написал:

> On Saturday, January 23, 2016 at 9:38:09 AM UTC-8, sini-Kit wrote:
>>
>>  I have a problem with "current tiddler" again. In zoomin view other 
>> tiddlers don't know what tiddler is current. if I make tiddler with   text 
>> <<currentTiddler>> , and put tag $:/tags/TopLeftBar nothing will appear 
>> in  TopLeftBar , because TopLeftBar don't know what tiddler is current .
>>
>
> I think you may have some confusion about what "current" tiddler the 
> <<currentTiddler>> variable refers to.
>
> It is not about which tiddler is "currently viewed by the user"... rather, 
> the "current" tiddler is the context in which the macro is being processed 
> and rendered by the TWCore.  Thus, if I put <<currentTiddler>> into a 
> tiddler named "Foo", and then view that tiddler, the value of 
> <<currentTiddler>> if "Foo", regardless of which other tiddlers are being 
> displayed in the story.  Tagging that tiddler with $:/tags/TopLeftBar 
> automatically transcludes it into the $:/core/ui/PageTemplate/topleftbar, 
> which makes that tiddler the "currentTiddler" in the *rendering* process. 
>  In your example (putting <<currentTiddler>> into a tiddler tagged with 
> $:/tags/TopLeftBar), it *should* have displayed 
> "$:/core/ui/PageTemplate/topleftbar" in the top left of your document. 
>  However, you report that "nothing" appears there, which is not the results 
> I would expect.
>
> In any case, using <<currentTiddler>> won't get you what you want, i.e. 
> the name of the tiddler currently being displayed in the StoryRiver.  For 
> that, try using {{$:/HistoryList!!current-tiddler}}, which is automatically 
> updated whenever you open/view a tiddler (i.e., by clicking a tiddler link).
>
> However, there is one relatively small issue with 
> HistoryList!!current-tiddler... it is not updated when you close a tiddler 
> (because it's *only* closing the tiddler, and no navigation to another 
> tiddler occurs at that time).  One way to avoid this is to hide the 'close 
> tiddler' in the ViewToolbar control panel settings, so that the user can't 
> actually close open tiddlers.  Since you are using zoom-in mode to display 
> tiddlers one-at-a-time, the user can simply navigate to another tiddler, 
> with the *appearance* that the first tiddler is "closed" (even though it's 
> really still in the StoryRiver... just hidden at the moment).
>
> hope this helps,
>
> enjoy,
> -e
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bd64f96e-2598-448e-9fae-7d4996943175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to