On Wednesday, February 19, 2014 7:57:09 AM UTC-8, DrCory wrote:
>
> Is appending a tiddler possible in ClassicTiddlyWiki?
>
> I am wanting to build a "Text Generator" to build a paragraph from 
> selectable options. Then cut and paste into an outside document.
> I am familiar with Classic TiddlyWiki, the unfamiliar with the new 
> TiddlyWiki. But, I can learn if I have to!
>

See http://www.tiddlytools.com/#QuickNotePlugin

QuckNotePlugin provides a form with inputs for title, tags, and text.  The 
title is automatically created from the current username plus an optional 
timestamp string.  This allows the plugin to create unique tiddlers for 
each QuickNote you enter.  You can specify an alternative tiddler target 
using the optional "tiddler:TiddlerName" macro parameter.  To specify the 
*current* tiddler, use "tiddler:here" in the macro, where "here" is a 
special literal keyword recognized by the plugin.

Thus, embedding this macro into a tiddler:
   <<quickNote tiddler:here>>
will insert the QuickNote form into the current tiddler so you can enter 
text (without being in "edit mode") and then press the 'save' button 
provided by the form to append that text to the end of the tiddler.

Of course, if the target is the current tiddler, then there is no need for 
the title and tags inputs.  For this use-case, you may also want to 
customize the QuickNote form definition to simplify the interface by hiding 
the title and tag fields.  You can do this by editing the 
QuickNotePluginPanel (a *shadow* tiddler, automatiaclly generated by the 
plugin).  If you change type="text" to type="hidden" for those inputs, they 
will be suppressed in the display (but will still be present in the form to 
ensure that the plugin code will operate properly)

If you want to have the QuickNote form displayed in EVERY tiddler... you 
could add the macro call directly to the ViewTemplate following the 
'viewer' element, like this:

<div class='viewer' macro='view text wikified'></div>
<span macro="quickNote tiddler:here"></span>

This adds the form, immediately following the tiddler content.

Let me know how it goes....

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

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

Reply via email to