Hi Eucaly, Nice you got an alternative way to implement the tristate functionality. I did not look at the code, but will do in the near future (I am in the process of upgrading all my guides to TW5.0.16).
On Thursday, September 4, 2014 3:16:33 PM UTC+2, Eucaly J wrote: > > @ Ton: > > Continue with the discussion in "Announcing TiddlyWiki 5.0.16-beta" thread > <https://groups.google.com/d/msg/tiddlywiki/5qp4_j0S6NQ/jos2pDtwTZgJ>, > I found upgrading "*tristate Sidebar *" to TW 5.0.16 is possible ... and > I also made another adoption to get rid of "overwriting major shadow > tiddlers" > > In attached files, you can find those different adoption. > > First is > > - $__plugins_tongerner_tristate-516.tid => adopted the CSS class > prefixes *tc- *(for 5.0.16-beta) > - $__plugins_tongerner_tristate-515.tid => original version for > diff compare > > Yeah, that would have been my next step: adapting the class names. So that works. Thanks for trying. > Second is > > - $__plugins_tongerner_tristate-516-setfield.zip > > * to get rid of "overwriting the major system shadow tiddlers" such as > $:/core/ui/PageStylesheet > $:/core/ui/PageTemplate/sidebar > * but with the cost to use *matabele's setfield plugin* ( > http://gwiz.tiddlyspot.com/ ), in order to pack multiple variable actions > into one button click => which can be found in *$:/core/ui/TopBar/menu* > (this is the only system shadow tiddlers to overwrite) > * put if-fluid macro definition in > *$:/plugins/tongerner/tristate/styleshee* > > > Nice you could reduce the number of overwritten shadow tiddlers. At first I tried to put the if-fluid macro elsewhere but it did not work at that time. May be because the order of the stylesheets was wrong at that time. Cheers, Ton > ** for those who might not know, the *.tid files can drop into browser's > TiddlyWiki (save and reload) to install > > -- 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.

