Those multiple ways of writing fields in a FET will be handy, as will the ability to edit fields in a pop-up (assuming that's what you're talking about in the first part)
Thank you cmari, -Dave On Jun 5, 8:17 pm, cmari <cema...@gmail.com> wrote: > One (somewhat inelegant) method for viewing and editiing the fields of > Tiddler1 from inside Tiddler2 (i.e., in transclusion): > 1. Get the FieldsEditorPlugin (http://visualtw.ouvaton.org/ > VisualTW.html) > 2. In the text of Tiddler1 (which contains the field[s] that you will > want to view in transclusion), add the macro: > <<toolbar fields>> > 3. Once you've done that, if you put the macro <<tiddler [[Tiddler1]]>> > inside Tiddler2, you'll be able to click the "fields" button to > > display and change the fields in Tiddler1. > > There are at least three different ways to show the contents of custom > fields if you're using fET (though this is obviously not transclusion > anymore): > 1 > write '"<<wikify \"%0\" [[myfieldname@"+tiddler.title+"]]\>\>"' > 2 > write 'store.getValue(tiddler,"myfieldname")' > 3 > write '(tiddler.fields["myfieldname"])' > > cmari > > On Jun 5, 6:28 pm, Dave Parker <cedar...@telus.net> wrote: > > > > > Can I assume that you can write a <<wikify ...>> macro by FET? (I'll > > try it anyway, but that's the first question that comes to mind) > > > Thanks very much! > > Dave > > > p.s. just curious - is this ability likely to be written into the > > core like the slice and section transclusions? It seems like it > > should be, but what do I know? > > > On Jun 5, 5:15 pm, Eric Shulman <elsdes...@gmail.com> wrote: > > > > > I tried <<view [[Tiddler name]] "fieldname">> but that didn't work... > > > > http://www.TiddlyTools.com/#WikifyPlugin > > > allows you to easily produce formatted output from values stored in > > > tiddler fields, tiddler slices, internal variables, literal constants, > > > and/or computed macro parameters > > > > For your given use-case, you could write: > > > <<wikify "%0" fieldn...@tiddlername>> > > > > The first macro param defines the desired output format, and can > > > contain any text you want, along with embedded "substitution markers": > > > %0, %1, %2, ...., %9. The remaining macro params specify the > > > corresponding values to be inserted in place of the markers. In this > > > particular case, the format is just "%0", meaning that the first > > > parameter value (fieldn...@tiddlername) will simply be output by > > > itself without any other static text. > > > > Note: the implementation of the "fieldn...@tiddlername" syntax is > > > provided directly by WikifyPlugin, and therefore cannot be used in any > > > of the standard TW core macros where simple fieldnames are expected > > > (e.g., <<view fieldname>>, <<edit fieldname>>, etc.). However, you > > > *can* use this enhanced syntax within the <<select>> macro that is > > > defined by TiddlyTools' ListboxPlugin, so that it can also set/use > > > values stored as custom fields in other tiddlers. > > > > enjoy, > > > -e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---