yikes! sorry for the miss-communication... lets see If I can bring
this all together...
I have many TW files, which have many tiddlers which are particular
topics, all of these topics have 5 fields which are consistent in all
tiddlers.
I capture the comments field like this.:
<html><TEXTAREA name=Comments rows=3 cols=30 ></TEXTAREA></html>
Then, in a separate file, I include each of the other tw files, (I use
this as a reporting mechanism for all of the TW files), using a For
Each Tiddler like this:
<<forEachTiddler
where
'tiddler.tags.contains("$1") && tiddler.tags.contains("$2")'
sortBy 'tiddler.data("Field C")' descending
write
'"|"+tiddler.title+"|+++^10em^[More Information][hide] [X
("+tiddler.data("Field A")+")===|"+tiddler.data("Field B")+"|+++^10em^
[Comments][hide] [("+tiddler.data("Comments")+")===|"+tiddler.data
("Field D")+"|\n"'>>
So, It works nicely in that it produces a nice neat little table, but
when one wants to read the comments about this particular thing (and
the comments could be paragraphs), they can click on the nested button
of "Comments". The problem, is that the comment field now is just a
text box, it can be easily overwritten and it does not capture the
users name or the time or date, so i am trying to find an alternative
way to capture these comments (like comment plugin), but having it in
something that can be referenced by the forEachTiddler above. I hope
this helps and is clearer. Thank you so much for taking the time to
help.
On Feb 1, 5:39 pm, cmari <[email protected]> wrote:
> rats, that's the second time I thought you were talking about tiddler
> fields when you're actually talking about "form fields". Never mind
> ListboxPlugin, then.
>
> I think it would be pretty hard to do what you're describing as part
> of a form. But it would be easy enough to have your tiddlers contain
> both a form and a comments section. Then, if the comments were
> preceded by, e.g.,
> !comments
> you could display all the comments from a given tiddler using
> <<tiddler [[mytiddler##comments]]>>
>
> It would be easier to make suggestions for how to make this work if
> you could post an example. It sounds as though what you're looking
> for is something very like a blog and that's something I'm pretty sure
> other people have done.
> cmari
>
> On Feb 1, 3:32 pm, "Linck Atlanta, Ga" <[email protected]> wrote:
>
> > Ok, I am going on another route... but cant quite get it...
>
> > there is a line:
>
> > fmt: "__''%subject%''__\n^^posted by %who% on %when%^^\n<<<\n%message%
> > \n<<<\n",
>
> > which make the comment write into the tiddler thusly:
>
> > __comment subject__ linck 12:55pm Monday, 2010 <<<this is my
> > message>>>
>
> > So, I figure maybe I can rewrite it so it spits out:
>
> > <data>{"testfield":"comment subject and comment message"}</data>
>
> > Something like this:
>
> > fmt: "<data>{"testfield":"+"''%subject%''}"+ "posted by %who% on %when
> > %^^\n<<<\n%message%\n<<<\n"+"</data>
>
> > but I am not having much luck....
>
> > On Feb 1, 3:48 pm, "Linck Atlanta, Ga" <[email protected]> wrote:
>
> > > I don't know if this helps, but the field I am referring to will
> > > always bee the same. So the comment added should just be come field
> > > "X" in whichever tiddler the comment originated.
>
> > > On Jan 31, 6:43 pm, Linck Schlich <[email protected]> wrote:
>
> > > > Cmari,
>
> > > > I appreciate the thought, but I dont think it will accomplish what I
> > > > want.
> > > > Part of the issue is that I really did not explain well what I was
> > > > trying
> > > > to accomplish:
>
> > > > I want users of my TW to be able to make a comment on a tiddler, much
> > > > like
> > > > DiscussionPlugin allows, however, in another TW which includes the
> > > > first, I
> > > > want to reference those comments by referencing a field. I have a large
> > > > amount of TW flies that are referenced.
>
> > > > I reference them with ForEachTiddler and list time in a table with
> > > > tiddler.title, and several fields, then I have a field that I currently
> > > > define with a simple text box and which is nested so as to allow the
> > > > list to
> > > > be neat but allow the user to click for more information, which reveals
> > > > the
> > > > sometimes large text associated with with my "comments" field. It
> > > > works.
> > > > However, I would like there to be a track of comments made and to
> > > > automatically indicate the time and ID of the person that made them.
> > > > And
> > > > also to prevent users from accidentally overwriting the previous
> > > > comment.
> > > > Basically the Comment/ or Discussion plugin's defined... save the
> > > > saving
> > > > them as data fields, rather than as separate tiddlers, or text with in a
> > > > tiddler that is not a defined field.
>
> > > > Does this explain? Thank you for your time.
>
> > > > On Sun, Jan 31, 2010 at 5:29 PM, cmari <[email protected]> wrote:
> > > > > Do you absolutely have to use the CommentPlugin? It seems as though
> > > > > it would be a lot easier to use a plugin that is specifically intended
> > > > > for fields (e.g., ListboxPlugin).
> > > > > cmari
>
> > > > > On Jan 31, 4:17 pm, "Linck Atlanta, Ga" <[email protected]> wrote:
> > > > > > I seem to have isoloted that is it
>
> > > > > > var target=
>
> > > > > > in the comment plugin which tells it where to go...
> > > > > > i have tried this:
> > > > > > var target=tiddler.data("test");
>
> > > > > > but it just creates a tiddler with the return of whatever happens to
> > > > > > be defined in the field.
>
> > > > > > What I want is to insert the comment into a field within the same
> > > > > > tiddler in which it was created, and when someone adds another
> > > > > > comment, it adds to the field, rather than replacing what was
> > > > > > there...
> > > > > > thoughts?
>
> > > > > > On Jan 31, 1:48 pm, "Linck Atlanta, Ga" <[email protected]> wrote:
>
> > > > > > > Hiya,
>
> > > > > > > I would like comments to render into a set field value. Is there
> > > > > > > something I can modify in the Comments Plugin to accomplish this?
>
> > > > > --
> > > > > 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]<tiddlywiki%2bunsubscr...@googlegrou
> > > > > ps.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
--
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.