Hi there,
I am new to this group and I am trying to customize TiddlyWiki. What I
am trying to do is to use the sidebar to display links to all open
Tiddlers. Maybe I will want to add all 'tagging' there as well, I am
not sure yet.
I got a macro and it is doing what I want (though looking ugly so
far). The problem is: how do I get notified when the story changed?
Thanks for your help,
best regards
Felix
/***
|''Name:''|OpenTiddlers|
|''Version:''|0.1 (Oct 7, 2008)|
|''Author:''|Felix Bertram|
|''Type:''|Macro|
!Description
Display a list of open tiddlers.
!Usage
{{{<<opentiddlers>>}}}
!Revision History
* Original by Felix Bertram 2008x07
!To Do
* refresh properly
* formatting
!Code
***/
//{{{
version.extensions.opentiddlers = {major: 0, minor: 1, revision: 0,
date: new Date("Oct 7, 2008")};
config.macros.opentiddlers = {};
config.macros.opentiddlers.handler =
function(place,macroName,params,wikifier,paramString,tiddler)
{
var theList = createTiddlyElement(place,"ul");
story.forEachTiddler(function(title,element) {
createTiddlyLink(createTiddlyElement(theList,"li"),title,true,null,false,null,true);
});
}
//}}}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---