So I added the following to the default tiddlers tiddler
<<list filter [tag[blog]]>>
And tiddlywiki seems automatically see the tiddlers now included in
the default tiddler as open by default will all tiddlers tagged with
blog.
So then I want to create a button that creates a new tiddler auto
tagged with blog:
<<newTiddler tag:blog label:"Add Blog Post" title:"fill in title"
text:"text" prompt:"create a new blog posting">>
...so far so good.
But I run into problems when trying to write a macro is designed to
create a button that shows all the blog posts.
//{{{
config.macros.showBlog = {};
config.macros.showBlog.handler = function(place)
{
createTiddlyButton(place,this.label,this.prompt,this.onClick);
};
config.macros.showBlog.onClick = function(e)
{
if(!story.isEmpty()) {
story.closeAllTiddlers();
}
story.displayDefaultTiddlers();
return false;
};
//}}}
And the following macro doesn't work:
<<showBlog>>
I should also mention the tiddler containing the macro is tagged
systemConfig
--
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.