@Eric as I understand it, the rememberq macro is part of an editor toolbar 
button. So likely scope is the problem.

For most purpose storyTiddler should have the same value as 
stream-root-title unless you're showing a stream inside a modal or a new 
window.

@kebi If this still doesn't help, please post your file to facilitate 
debugging.

Cheers,
Saq

On Tuesday, August 11, 2020 at 4:34:03 AM UTC+2, Eric Shulman wrote:
>
> On Monday, August 10, 2020 at 7:00:44 PM UTC-7, kebi wrote:
>>
>> Eric thanks so much for the detailed explanation, however the macro 
>> "rememberq" doesn't seem to process the reference <<stream-root-title>> 
>> correctly.
>> for some reason <$text text=<<__reference__>>/> doesn't return the title 
>> I'm looking for.
>>
>
> In your first message, you showed:
> <$vars stream-root-title=<<currentTiddler>>
>     contextmenu-state=<<qualify "$:/state/sq-context-popup/">>
>     row-edit-state=<<qualify "$:/state/sq/streams/current-edit-tiddler">>
>     drag-title-state=<<qualify "$:/state/sq/streams/current-drag-title">>
>     drag-title-nextsibling-state=<<qualify 
> "$:/state/sq/streams/current-drag-nextsibling">>
>     >
> <div class={{{ stream-root 
> [{$:/state/sq/nodes/global-drag-state}match[yes]then[stream-dragactive]] [
> <currentTiddler>!has[stream-list]then[stream-newlist]] +[join[ ]] }}}>
>         <$macrocall $name="stream"/>
> </div>
> </$vars>
>
> In the above code, the value of "stream-root-title" is only valid within 
> the scope of the <$vars>...</$vars>.
>
> However, it would seem that your invocation of the "rememberq" macro is 
> *outside* of the <$vars>...</$vars>.
> Thus, the value of stream-root-title would not be defined at that time.
>
> Try using something like: reference=<<currentTiddler>>, and see if that 
> helps.
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84643a53-daa6-4e22-b487-5f37af9ca389o%40googlegroups.com.

Reply via email to