Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.
TiddlerDisplayGroupsPlugin
TiddlyWiki Community Wiki
| Name: | TiddlerDisplayGroupsPlugin |
| Author : | Phil Hawksworth |
| URL : | #TiddlerDisplayGroupsPlugin |
| Description : | Display groups of tiddlers in the story according to defined template. |
| Version : | 0.1 |
- CodeRepository: http://svn.tiddlywiki.org/Trunk/contributors/PhilHawksworth/plugins/TiddlerDisplayGroupsPlugin.js
- License: BSDLicense
- TiddlyWiki CoreVersion: 2.4 (beta1)
- JSSpec test script: http://svn.tiddlywiki.org/Trunk/contributors/PhilHawksworth/tests/jsspec/TiddlerDisplayGroupsPlugin.jsspec.js
[edit] Usage Examples
- Create a template definition object
var test_group = new TiddlerDisplayGroup();
- Declare a template for use with this grouping
var test_pattern = [
{label:'header', tag:'session', count:1, require:null, openAt:null},
{label:'mynote', tag:'notes', count:1, require:'header', openAt:null},
{label:'notes', tag:'discovered_notes', count:0, require:'header', openAt:'bottom'}];
test_group.setPattern(test_pattern);
- Assign a tiddler field to establish groups of tiddlers
test_group.setGroupField('rr_session_id');

