Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

TiddlerDisplayGroupsPlugin

TiddlyWiki Community Wiki

Jump to: navigation, search
Name: TiddlerDisplayGroupsPlugin
Author : Phil Hawksworth
URL : #TiddlerDisplayGroupsPlugin
Description : Display groups of tiddlers in the story according to defined template.
Version : 0.1



[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');
Personal tools