Also - how do I format it so it always appears at the top of the tiddler, above contents?
On Friday, October 9, 2020 at 11:14:40 PM UTC-6 [email protected] wrote: > Hey all, > > I've created some checkbox tagging for my tiddlers: review, write, > rewrite, edit, example, placed, order. Obviously, these are for tracking > status for writing a book. > > I want those checkboxes to appear on every tiddler, except: > - if tagged with nc (for "not a chapter") > - or if tagged with all three of example, placed, and order AND none of > the other four (if there's an example, and its been placed and ordered, but > still has edit tag (i.e. needs editing) - it still should show all the > checkboxes > - Also, if the tiddler is tagged with any one of edit, write, or rewrit, > then the review checkbox is hidden > > My filter at the moment is: > [all[current]!tag[nc]!tag[example]!tag[placed]!tag[order]] > > issues there: > - nc works correctly - nc tag means no checkboxe > - checkboxes disappear if any *one *of the placed, order, or example show > up > - I have no idea how to do the and condition - if it was SQL, i'd be > golden, but... > - if the tiddler is tagged review, and I click write - is there a way to > remove the review tag automatically, without having to manually remove it? > > Template tiddler content below (tiddler tagged with $:/tags/ViewTemplate) > > Thanks, > Aidan > > > <$list filter="[all[current]tag[ch]!tag[write]!tag[redo]!tag[edit]]"> > <$checkbox tag="review"> Review</$checkbox> > </$list> > <$list filter="[all[current]tag[ch]!tag[example]!tag[placed]!tag[order]]"> > (( <$checkbox tag="write"> Write</$checkbox> > <$checkbox tag="redo"> Rewrite</$checkbox> > <$checkbox tag="edit"> Edit</$checkbox> )) (( > <$checkbox tag="example"> Example</$checkbox> > <$checkbox tag="placed"> Placed</$checkbox> > <$checkbox tag="order"> Ordered</$checkbox> )) > </$list> > > -- 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/fd4a6b9d-370c-4e0f-9879-c5acd0356db9n%40googlegroups.com.

