I am using TW to sort notes by creation date and project tag.  When I 
select a project, I open a tiddler containing all of the entries for that 
project, sorted by date, descending.  I would like this tiddler to contain 
an editor that allows me to create/update a project entry for today's 
date.  So far, I've split my entries into two lists, one with today's 
entry, and one with the older entries, then displayed them using difference 
view templates.

<$list 
filter="[!has[draft.of]tag[journal]field:project{!!project}days:created[-1]]">
<p><h2>Today</h2></p>
{{||$:/core/ui/EditTemplate/body}}
</$list>
<$list 
filter="[!has[draft.of]tag[journal]field:project{!!project}!days:created[-1]sort[created]]">
<p><h2><$view field="modified" format="date" template="DD-MMM-YYYY"/>
</h2></p>
<p><$transclude mode="block" /></p>
<p>Tasks</p>
<<list-tagged-draggable tag:"task" subFilter:
"!has[draft.of]project{!!project}sameday:created{!!created}" itemTemplate:
"TaskManagementExampleDraggableTemplate" emptyMessage:"None">>
<br />
</$list>


Using $:/core/ui/EditTemplate/body, I got something that looks like the 
following:


[image: tw_example.PNG]


The buttons produce markup in the textbox.  That said, if I actually want 
to edit and save my current day's entry, I assume that it's a little more 
complicated than what I currently have.  


I had thought to add Edit, Accept, and Cancel buttons next to the word 
"Today"', and use them to trigger the edit and save tiddler messages, 
however,  thought that that would just create a new copy of the tiddler in 
the river.  Also, I was wondering if I had to edit a draft version of my 
tiddler.  


Does anyone know how to make a functional, inline editor for a tiddler?


--L. Wasserman


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3020fa62-1870-411e-ad37-f33d909a1587%40googlegroups.com.

Reply via email to