Definition
- A virtual tiddler is not a physical tiddler.
- It does not exist as real data in the TiddlyWiki file saved on disk.
- It will not appear in search results or be listed in indexes.
- However, it can be displayed in the Story River when triggered, giving the appearance of a normal tiddler.
Virtual tiddlers are dynamically generated views that do not exist as stored content in the wiki. They are temporary and only rendered when requested, often used to display dynamic or computed information.
These virtual tiddlers are typically shown in the Story River, where they behave like regular tiddlers ā with titles, content, and even custom controls ā but without being permanently saved in the wikiās database.
Quick Guide
This is a quick guide to creating virtual tiddlers in TiddlyWiki using a custom solution called āāsimpleāā.
Overview
The āāsimpleāā solution allows you to create virtual tiddlers dynamically. These are not real tiddlers stored in the wiki, but rather temporary views generated on demand.
Key Features
- A virtual tiddler is created using a button
- The title of each virtual tiddler begins with the prefix:
$:/virtual/
Components of a Simple Virtual Tiddler
The āāsimpleāā virtual tiddler uses several tools to function effectively:
Button Creation Procedure
- Generates a button that, when clicked, opens the virtual tiddler in the story river
Cascade View Title Template Filter
- Controls how the title of the virtual tiddler is displayed
- Uses the filter defined in: [[simple/ViewTemplateTitleFilters]]
- The actual title template used by the filter is located in: [[simple/Template/TitleTiddler]]
Cascade View Body Template Filter
- Controls how the body content of the virtual tiddler is displayed
- Uses the filter defined in: [[simple/ViewTemplateBodyFilters]]
- The body template used by the filter is given in: [[simple/Template/BodyTiddler]]
Custom Stylesheet
- Applies styling specifically to the simple virtual tiddler
- Hides all buttons except the āāCloseāā button for a clean and relevant interface
Here is the Simple Virtual Tiddler bundle, creates virtual tiddlers and display them in story river. To give a give a try, download and drag and drop into https://tiddlywiki.com and open the simple/demo
- Package to download: kookma-simple-virtual-tiddler-package.json (3.7 KB)