Thank you very much for this very quick and efficient response. It works perfectly!
Have a nice day! Le samedi 3 avril 2021 à 15:41:54 UTC+2, Eric Shulman a écrit : > On Saturday, April 3, 2021 at 6:36:39 AM UTC-7 jln wrote: > >> I have created a custom template that adds, at the top of the tiddler, a >> link to my Nextcloud platform if the "url-nxc" field is filled. This works >> very well, but the only small issue I have is that this link is still >> visible when the tiddler is folded. >> How to resolve this problem? >> > > wrap your custom template content within a $reveal that checks the value > of <<folded-state>>, like this: > > <$reveal tag="div" type="nomatch" stateTitle=<<folded-state>> text="hide"> > ... your content here ... > </$reveal> > > Note: *<<folded-state>>* is defined in *$:/core/ui/ViewTemplate*, so it > is automatically available to all templates tagged with > *$:/tags/ViewTemplate* > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/63e012c5-b36e-49d8-85ca-4a95c96c373dn%40googlegroups.com.

