Hi Tony, BurningTree, The CSS approach is handy but suffers from the disadvantage that the hidden content is still rendered, and thus incurs a performance hit.
An alternative is to take advantage of the “storyTiddler” variable. Within a tiddler in the story river it contains the title of the tiddler, and it is unset by default in the sidebar. For example, try this in a tiddler tagged “$:/tags/Sidebar" <$list filter="[<storyTiddler>is[tiddler]]" variable="ignored"> I'm in the story river </$list> <$list filter="[<storyTiddler>!is[tiddler]]" variable="ignored"> I'm in the sidebar </$list> Best wishes Jeremy. > On 16 Jan 2018, at 06:43, BurningTreeC <[email protected]> wrote: > > Hi @TonyM, > > I would do it with css, because like that you can address tiddlers in the > storyriver with > > .tc-story-river .tc-tiddler-frame { ... } > > and in the sidebar .tc-sidebar-scrollable (maybe .tc-sidebar-lists if > tiddlers are in the sidebar tabs) .tc-tiddler-frame { ... } > > and for hiding the menus in the storyriver > > .tc-story-river .tc-tiddler-frame .menuclass { > display: none; > } > > .tc-sidebar-scrollable .tc-tiddler-frame .menuclass { > display: block; > } > > Am Dienstag, 16. Januar 2018 07:24:32 UTC+1 schrieb TonyM: > Foilks, > > I am close to completing a menu tool for TW5 and I am trying to find a way to > tell if I am viewing the tiddler in the SideBar or not. > > Does anyone know the logic, for a filter that can somehow determine where it > is displayed? > > For example in the side bar I want it to list the menus > In an open tiddler I also want to offer checkboxes to change settings on the > menus. > > Ideally with native tiddlywiki since I am building a plugin and want to avoid > dependencies. > > Thanks in Advance > Tony > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/6f9bdf68-e139-4a64-8e15-3ee110abad3c%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/6f9bdf68-e139-4a64-8e15-3ee110abad3c%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 [email protected]. To post to this group, send email to [email protected]. 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/646E37B7-18F1-4943-B8A7-0E4C7B437300%40gmail.com. For more options, visit https://groups.google.com/d/optout.

