HI

thanks that great.....thought I tried removiing the line
"story.displayTiddler(null,title);" before......maybe not because this
time it worked. And putting the '+tiddler.title+' directly into the
macro call was so easy I overlooked it.

Slightly off-subject...but I have been able to combine this with Erics
script to create new tiddlers .....so I now have a button sitting in
the toolbar (the script s in ToolbarCommands) that reads -

<script label="NovoExt" title="ligar nova video...desde pessoas afora
o curso">
        var tid=prompt("Titulo do Video","");
        var code=prompt("O codigo do video","");
        if (!tid || !tid.length) return;
        var comments=prompt("Seus comentarios","");
        var extratags=prompt("Extra etiquetas","");
        var txt='<html>'+code+'</html>\n Descricao:'+comments
+'\n'+store.getTiddlerText("CommentText")
+'\n'+store.getTiddlerText("CommentsList");
        var who=config.options.txtUserName;
        var when=new Date();
        var tags=['VideoExt']+" "+extratags;
        store.saveTiddler(tid,tid,txt,who,when,tags);
        story.displayTiddler(null,tid);
</script>

Sorry that the prompt lines are in portugues...but basically it simply
asks for information such as the name of the tiddler I want to create,
the video embed code (this TW is keeping a list of useful videos (a
sort of videoteca)), any comments, and the tags I want...it then....
creates the new tiddler with the required title
puts the embed code between <html> tags
adds my initial comments under that
puts a shorted QuickNote box under that (so others can add their
comments) (set in tiddler "CommentsText")
adds a FET macro that lists all QuickNote comments previously made by
others !!! (set in tiddler "CommentsList")

I am amazed...Erics script is so simple and so powerful...I can see
myself using it a great deal in the future...

thanks again

Skye

On 4 Abr, 17:51, whatever <[email protected]> wrote:
> And if you add
> +++[QuickNotes »]...<<matchTags {{"+++[%0 »]...<<tiddler [[%0]]>
> \>==="}} "\n----\n" journal>>===
> or something similar after the quicknote command, you can have a list
> of all the quicknotes on a deferred nested slider in the same tiddler,
> so you don't have to move to another tiddler, plus, this particular
> use case also displays the contents of the listed tiddlers on a
> deferred nested slider. Requires NestedSlidersPlugin and possibly
> INlineJavascriptPlugin, I'm not sure.
>
> On Apr 4, 10:44 pm, whatever <[email protected]> wrote:
>
> > For no.1: <<tiddler QuickNote with: -YYYY0MM0DD0hh0mm0ss
> > "'+tiddler.title+' journal">>
> > For no.2: remove the "story.displayTiddler(null,title);" line (without
> > the quotes).
> > w
>
> > On Apr 4, 4:43 am, skye riquelme <[email protected]> wrote:
>
> > > Hi All
>
> > > I am hoping someone can help me modify Erics QuickNote
> > > translucion........two changes
>
> > >  1/ as well as the tags set in the transclusion itself...I would like
> > > that it also includes the title of the tiddler it was generated
> > > in.....a sort of newHere variation for QuickNotes !!!
> > >  2/ and, to make the ideas really quick.....when a person clicks on
> > > the "save" button....the QuickNote form is cleared (as it now does)
> > > and it simply awaits a new entry....AND does not open the quicknote
> > > tiddler it just created.....I am working with SinglePageMode activated
> > > (in this case)...so having to trace back to the original tiddler to
> > > make a second comment is frustrating.
>
> > > I tried wikifying the translucion to pick up the
> > > tiddler.title.....like this-
> > > <<wikify {{'<<tiddler QuickNote with: "-YYYY/0MM0DD-0hh:0mm" "comment
> > > [['+tiddler.title+']]">'+'>'}}>>
> > > ..only the closing ]] brackets dont get generated..rounded brackets ))
> > > do....but not ]]......don´t understand why....
>
> > > also tried adding a line into the actual transclusion...so that the
> > > code says -
> > >         var tags=this.form.tags.value.readBracketedList();
> > >      var tags=tags+'[['+tiddler.title+']]';
>
> > > ..no go...obviously I am pushing the limits of my coding ability!!!!
>
> > > Thanks in Advance
> > > Skye

-- 
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.

Reply via email to