Yuppie, Thank you so much Tobias.
This puts an end to my attempts failing to do this for so much time.
If anyone is interested i will do a small
documentation/demonstration-Wiki because I think it might be quite
usefull to all those using stories, because
It adds two buttons showing the story once as collumn and once as a
slideshow
Jan
Am 30.10.2013 21:48, schrieb Tobias Beer:
On Wednesday, 30 October 2013 21:16:27 UTC+1, Jan wrote:
Hello
I want to create a new tiddler wich contains a) a Linklist of the
actual
Tiddlers b) a quite complicated expression with Macro and Formatting
that I would like to extract from a templateTiddler...
So far I got this:
{<<clickify newTiddler
label:"save this story!" focus:title tag:[[Tag Tag]]:Stunde
title:{{prompt('bitte geben Sie einen Namen fᅵr Ihre
Zusammenstellung ein','')}}
text:{{
var out="";
story.forEachTiddler(function(t){
var tid=store.getTiddler(t);
if(tid&&!tid.isTagged("excludeStory"))
out+="[["+t+"]]\n";})
out;
}}>>
This works well an produces a tiddler containing links to all
Tiddlers
open at that moment.
Now I would like to ad somthing lig this this in the text field
'store.getTiddlerText('StoryButtonSetTemplate');
to insert two formated Buttons from a templateTiddler which allow to
display the story both as a slide show and as a row of tiddlers.
Is this somehow possible?
hopefully Jan
Before the last *out*, add...
|
out+='\n'+store.getTiddlerText('StoryButtonSetTemplate');
|
This appends the fetched TiddlerText to your output, preceded with a
newline.
Tobias.
--
You received this message because you are subscribed to the Google
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.