Dear all,
[TLDR after the fact; using missing tiddlers for my purpose here (the TW5 backend of a system that dovetails with an iframe-url-builder within an educational LMS – so that what’s displayed is “smart” about who’s seeing it) is probably not be the best. Setting up the url to include a query string instead would be more straightforward, hats off to @saqimtiaz. I still do love the power of missing tiddlers, without which I never would have seen the path forward! ]
For read-only access, I’d like all “missing” tiddlers not to have any visibility in the story river. (They’ll be functioning somewhat like “cookies” – coming in via a permaview url – that determine which details are revealed in templates, etc.) I do need them to count as being in the story river – just without showing any tiddler title or body.
I’ve figured out how the read-only css can subtract all missing tiddlers from the “open” sidebar tab (which is good, so that they can’t be closed via the x icon in that tab’s list). I can also use cascade templates so that their title and body are blank… but the tiddler frames are still showing up.
For getting the tiddler frames to be invisible in the story river, my attempts at css-only solutions seem to fail so far, except when my stylesheet specifies an actual list of anticipated missing titles (which is ungainly). It’s a challenge to target the tiddler names (or tags) for missing tiddlers… but surely there’s a way?
This is what I tried most recently (again in the read-only css tab), but without getting the desired effect:
<$list filter="[list<tv-story-list>is[missing]!is[draft]!is[system]]">
[data-tiddler-title="<$view field=title/>"]
{display:none;}
</$list>
Any quick way (in the Read-Only custom css rules, ideally) to get tiddlers to be entirely faceless in the story river when they don’t exist?
Update: Confirmed at TiddlyWiki.com:
Even though these two tiddlers (tagged $:/tags/Stylesheet) look exactly the same in view mode (when Ghost1 and Phantom2 are missing tiddlers in story river), the second one won’t do the work of a stylesheet:
[data-tiddler-title="Ghost1"] {
display:none;
}[data-tiddler-title="Phantom2"] {
display:none;
}
<$list filter="[list<tv-story-list>is[missing]!is[draft]!is[system]]">
[data-tiddler-title="<$view field=title/>"] {
display:none;
}
</$list>
-Springer