Re: [tw] Is there a way to not popup all tag dropdowns?

2018-03-22 Thread Stephan Hradek


Am Donnerstag, 22. März 2018 13:09:06 UTC+1 schrieb Jeremy Ruston:
>
> Hi Stephan
>
> I think this is the simplest fix:
>

COOL

I have no clue, why it works, but it does. Thanks a lot.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/191557c0-2b5d-45e8-b7ff-b15cf8d08fe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Is there a way to not popup all tag dropdowns?

2018-03-22 Thread Jeremy Ruston
Hi Stephan

I think this is the simplest fix:

\define timeline-title()

<$view field="title"/>  <$set name="transclusion" 
value=<>><$list 
filter="[all[current]tags[]]">{{||$:/core/ui/TagTemplate}}
\end

<$macrocall $name="timeline" format="-0MM-0DD" 
subfilter="tag[TableOfContents]"/>

The tab template uses the qualify macro to generate a state tiddler title for 
each dropdown. The qualify macro combines all the values of the variable 
“transclusion” found in its chain of ancestors. This uniquely identifies the 
location of the qualify macro within the widget tree, ensuring that the 
generated state title is unique.

The “transclusion” variable is set by the transclude widget, which is generally 
enough to ensure uniqueness. In this case we introduce another assignment to 
the “transclusion” variable to ensure that the chain is uniquified by the title 
of the tiddler in the timeline.

Best wishes

Jeremy.


> On 22 Mar 2018, at 11:08, Stephan Hradek  wrote:
> 
> Hi!
> 
> I'm using the timeline macro, overwriting the timeline-title macro to also 
> display (some of) the tags of each tiddler.
> 
> Now when I click on one of the tags, the dropdown of each of these tags 
> openes.
> 
> Is there a way to avoid this?
> 
> Example to try out on tiddlywiki.com
> 
> \define timeline-title()
> 
> <$view field="title"/> <$list 
> filter="[all[current]tags[]]">{{||$:/core/ui/TagTemplate}}
> \end
> 
> <$macrocall $name="timeline" format="-0MM-0DD" 
> subfilter="tag[TableOfContents]"/>
> 
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> 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/765d95c7-f287-48e1-829c-0594c19d732e%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3D7085EC-449D-45DB-84EF-9F48B3989491%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Is there a way to not popup all tag dropdowns?

2018-03-22 Thread Stephan Hradek
Hi!

I'm using the timeline macro, overwriting the timeline-title macro to also 
display (some of) the tags of each tiddler.

Now when I click on one of the tags, the dropdown of each of these tags 
openes.

Is there a way to avoid this?

Example to try out on tiddlywiki.com

\define timeline-title()

<$view field="title"/> <$list filter="[all[current]tags[]]">{{||$:/core/ui/
TagTemplate}}
\end

<$macrocall $name="timeline" format="-0MM-0DD" subfilter=
"tag[TableOfContents]"/>


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/765d95c7-f287-48e1-829c-0594c19d732e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.