first post in the TW group.
Part of tiddlywiki usage is maintaining a todo-list.
I'm struggling a bit with the custom fields however (to store status,
progress, ...). After finding some reports that filed names can only
be lower case I can now succesfully see them in both the edit and view
template (using the HideWhenPlugin). I can save some values in them at
first, but I'm unable to change them afterwards.
Does that ring a bell with anyone?
regards
Koen
Try FieldsEditorPlugin:
http://visualtw.ouvaton.org/VisualTW.html#%5B%5BFieldEditor%20Plugin%5D%5D
Regards,
W.
ContactEditTemplate:
<!--{{{-->
<div class='title' style='float: left;' macro='view title'></div>
<div class='toolbar' style='float: right;' macro='toolbar +saveTiddler
fullscreen -cancelTiddler deleteTiddler wikibar autosizeEditor'></div>
<div class='tagClear editor' macro='edit title'></div>
<span macro='tagChooser'></span><span macro='edit tags'></span>
<b>Name:</b> <span macro="edit name"></span><br>
<b>Email:</b> <span macro="edit email"></span><br>
<b>Phone:</b> <span macro="edit phone"></span><br>
<b>Handy:</b> <span macro="edit handy"></span><br>
<b>Street:</b> <span macro="edit street"></span><br>
<b>City:</b> <span macro="edit city"></span><br>
<b>State:</b> <span macro="edit state"></span><br>
<b>Country:</b> <span macro="edit country"></span><br>
<b>Webpage:</b> <span macro="edit webpage"></span><br>
<b>Note:</b> <span macro="edit note"></span><br>
</div>
<div class='tagClear editor' macro='edit text'></div>
<!--}}}-->
ContactViewTemplate:
<!--{{{-->
<div>
<span class='title' style='float:left;' macro='view title'></span>
<span style='float:left;' macro='dropTagging
"" {{config.macros.dropTagging.dropdownchar}}'></span>
<span style='float:right;' class='subtitle'>
<span macro='view modifier link'></span>,
created <span macro='view created date [[DD mmm YY]]'></span>
</span>
<span class='toolbar' style='clear:right;margin-top:1px;float:right;'
macro='toolbar +editTiddler fullscreen -closeTiddler closeOthers
deleteTiddler top > fields syncing permalink references jump'>
<span macro='tagger label:"tag"'></span>
</span>
</span>
<div class='tagClear'></div>
</div>
<table><tr>
<td style='text-align:right'><b>Name:</b></td>
<td><span macro="view name wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Email:</b></td>
<td><span macro="view email wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Phone:</b></td>
<td><span macro="view phone wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Handy:</b></td>
<td><span macro="view handy wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Street:</b></td>
<td><span macro="view street wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>City:</b></td>
<td><span macro="view city wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>State:</b></td>
<td><span macro="view state wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Country:</b></td>
<td><span macro="view country wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Webpage:</b></td>
<td><span macro="view webpage wikified"></span></td>
</tr><tr>
<td style='text-align:right'><b>Note:</b></td>
<td><span macro="view note wikified"></span></td>
</tr></table>
</div>
<div class='tagClear viewer' macro='view text wikified'></div>
<!--}}}-->
W.
On 22 Sep., 12:57, wolfgang <wolfgangl...@gmail.com> wrote:
> Welcome Koen,
>
> Try FieldsEditorPlugin:
>
> http://visualtw.ouvaton.org/VisualTW.html#%5B%5BFieldEditor%20Plugin%...
I use it with http://www.tiddlytools.com/#TaggedTemplateTweak for
having to switch between templates according to tags.
W.
On 22 Sep., 14:03, "Koen Vermoesen" <koen.vermoe...@gmail.com> wrote:
> Hi Wolfgang,
>
> Thanks for your quick reply.
>
> The FieldsEditorPlugin lets me change my fields indeed. Modifying them via
> the edittemplate still doesn't function however. Well, at least I have a
> work around. (I can always ditch the edittemplate if it is not ever going to
> work.)
>
> EditListBox macro looks promising to. Status (ongoing, canceled, ...) and
> priority (low, medium, ...) are all fields with a limited number of possible
> values...
>
> Koen
>
> On 9/22/07, wolfgang <wolfgangl...@gmail.com> wrote:
>
>
>
>
>
> > On a second thought - I'm using fields also for storing contact data
> > with the following templates (not necessary, but the use of
> > TaggerPlugin ofhttp://tw.lewcid.org/is included in these templates):
There is a bug in TW2.2.5, whereby custom fields values can only be
set when they are uninitialized. Once you have stored a custom field
value, subsequent changes to that value are NOT being saved.
This bug does not exist in TW2.2.4, and was introduced by a change to
the core's refreshTiddler() function. I have notified Martin Budden
(who made the change), and he is looking into a fix, but one it not
yet available.
In the mean time, reverting to using TW2.2.4 is probably your best
workaround.
-e
Eric Shulman
TiddlyTools / ELS Design Studios
Indeed, haven't mentioned that yet. In a TW 2.2.4 - where I use fields
for contact details - it works fine. But in a TW 2.2.5 - once a value
entered - it doesn't save any change anymore.
W.
see also:
http://www.TiddlyTools.com/#InputPackage
which consists of:
http://www.TiddlyTools.com/#ListboxPlugin
http://www.TiddlyTools.com/#CheckboxPlugin
http://www.TiddlyTools.com/#EditFieldPlugin
http://www.TiddlyTools.com/#TextAreaPlugin
http://www.TiddlyTools.com/#WikifyPlugin
enjoy,