quick notes field - plugin or macro request

15 views
Skip to first unread message

M)

unread,
Jul 7, 2008, 2:54:31 PM7/7/08
to TiddlyWiki
What I like to do is have a field at the end of a tiddler that submits
the content to the end of a tiddler with a date stamp. Like this:
_____________ [add note]

It would produce like this:
2008.07.07: added message to TW Google Group

Notes from TiddlerNotesPlugin is saved in another tiddler, which is
not what I want.

The <<newReminder>> from ReminderMacros is closer as it adds it to
the tiddler.

Is there anything out there like this?

wolfgang

unread,
Jul 7, 2008, 3:41:03 PM7/7/08
to TiddlyWiki
Hi M,

Maybe CommentPlugin is just what your are looking for?

http://www.tiddlytools.com/#CommentPluginInfo

Regards,

W.

M)

unread,
Jul 7, 2008, 5:13:13 PM7/7/08
to TiddlyWiki
Ah, you just need to know what to search for. Thanks Wolfgang!

I've tweaked it following the guidance (and hacked the code) and for
some reason, I cant get the 'post' button next to the subject field.
I like it like this (no message, just subject)...

Subject: ________ [post]

If anyone is keen enough to figure this out, I'd be greatly
appreciative.

M)

Eric Shulman

unread,
Jul 7, 2008, 6:08:59 PM7/7/08
to TiddlyWiki
> I've tweaked it following the guidance (and hacked the code) and for
> some reason, I cant get the 'post' button next to the subject field.
> I like it like this (no message, just subject)...
>
> Subject: ________ [post]

Rather than 'hacking the code' (which can create real support
headaches for *me* if your "variant plugin" is subsequently shared
with others), you might want to try this much smaller "pure HTML"
form:

http://www.TiddlyTools.com/#AppendToTiddler

Usage:
<<tiddler AppendToTiddler with: "datefmt">>

* displays a simple form consisting of a single-line edit field and an
"ok" button
* enter text and press ok
* input is appended to the end of the current tiddler
* optional datefmt param adds a date/time stamp to the embedded output

Thus, for your purposes:
<<tiddler AppendToTiddler with: "YYYY.0MM.0DD">>
should do the trick!

enjoy,
-e

M)

unread,
Jul 7, 2008, 11:23:44 PM7/7/08
to TiddlyWiki
> Rather than 'hacking the code' (which can create real support
> headaches for *me* if your "variant plugin" is subsequently shared
> with others),

good point, though I wouldn't share it knowing full well I did a bad
thing. I promise never to hack again.

> Thus, for your purposes:
>    <<tiddler AppendToTiddler with: "YYYY.0MM.0DD">>
> should do the trick!

I'm hoping to add code to the ViewTemplate. Can that be achieved?

Thanks Eric!

Eric Shulman

unread,
Jul 8, 2008, 1:18:45 AM7/8/08
to TiddlyWiki
> >    <<tiddler AppendToTiddler with: "YYYY.0MM.0DD">>
> I'm hoping to add code to the ViewTemplate.  Can that be achieved?

<span macro="tiddler AppendToTiddler with: 'YYYY.0MM.0DD' ">
</span>

enjoy,
-e

wolfgang

unread,
Jul 8, 2008, 1:47:56 AM7/8/08
to TiddlyWiki
Hi Eric and M,

considering such examples as AppendToTiddler,
FAQ_CreateTiddlersFromForms, or for example [[Tagged Templating]]:

file:///C:/DOKUME~1/Wolfgang/Desktop/www.tiddlytools.com.html#AppendToTiddler%20FAQ_CreateTiddlersFromForms
http://gensoft.revhost.net/Collapse.html#%5B%5BTagged%20Templating%5D%5D

I guess it wouldn't need much to create a similar table builder -
which lets you specify a number columns, provides this number of input
field, and with 'done' creates or appends one row at a time to a
table. Which would really simplify creating tables.

Has anyone the time and skill to create such a table builder?

kind regards,

W.

M)

unread,
Jul 8, 2008, 8:22:38 AM7/8/08
to TiddlyWiki
Thanks Eric!
Reply all
Reply to author
Forward
0 new messages