Udo Borkowski uses a custom field for his TiddlerAliasPlugin. May want to see how he does it, and if that answers your question:
http://tiddlywiki.abego-software.de/#TiddlerAliasPlugin On Aug 4, 4:22 pm, shavinder <shavinderpalsi...@gmail.com> wrote: > i have this macro call: > > <<newTiddler label:"try custom field" template:"myTemplate" > fields:"k:v">> > > and this in myTemplate: > > <!--{{{--> > <div class="toolbar border" macro="toolbar > [[ToolbarCommands::EditToolbar]]"></div> > <div class="title" macro="edit title"></div> > <div macro="edit k"></div> > <!--}}}--> > > But in the new Tiddler which is created the textfield does not show > any value. > > i tried to inspect the innards and i think this line in the > config.macros.edit.handler(): > > e.value = store.getValue(tiddler,field) || defVal; > is the one which return an empty string when the field 'customField > [k]' is passed as the second argument. > > Additionaly: > In the firebug i can see this below the title div: > > <div class="customFields" style="display: none;"><input type="text" > value="v" edit="k"/></div> > > Any idea how can the field k be edited or viewed? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---