One bad thing about this concept is that when I use linebreaks in the tiddler text - it breaks the table the text is embedded in!! Therefore I have to write everything in one "straight" line - and use <br> to make linebreaks not to break the table.. ....
On Apr 22, 7:22 pm, Måns <[email protected]> wrote: > Hmm.. > I should of course just use "+tiddler.text+" .... No need for > wikifymacro.. > I did this: > @@color(#cc0000):"+tiddler.text+"@@ <<editTiddler [["+tiddler.title > +"]]$)) > > What was great about the <<select macro - was that it reflects changes > without the need for refreshing the display... > I'm sure there must be some good use for the ability to select one > line of text in the selectmacroList and use it as some sort of > "status" - but when the "selectmacroList" is the same tiddler as the > tiddler in which I change the text - then it automatically deletes the > rest of the text, just leaving the "one-line portion" selected in the > popup... > > So for now I use: "+tiddler.text+"<<editTiddler [["+tiddler.title+"]] > $)) > > Thanks again > > On Apr 22, 6:47 pm, Måns <[email protected]> wrote: > > > The idea was to have a little textfield for each student - for > > temporary notes. > > Sometimes it would be neccesary to have more than 1 row (as provided > > by the input popup for the selectmacro).. > > When I use: <<select [[text@"+tiddler.title+"]] rows:n width:100% > > allowOther > > [[+"+tiddler.title+"]] allowEdit$)) without +[[""]]+ (I can't make > > it work with those around the expression - don't know why.?.) > > I can choose the "other-option" to change the textfield directly > > (which is quite usable!!) or I can choose "editList" - and it does the > > same thing as <<editTiddler [["+tiddler.title+"]]$)) - namely opens > > the tiddler in question in editmode... > > It's just the appearance of the "dropdownchooser" (I do know I can > > give it more rows with the "n"-parameter but still...) and the > > "editotherpopup"s 1line row, which annoys me. > > > To get a "nicelooking" design for the table - I consider using your > > latest suggestion: > > <<editTiddler [["+tiddler.title+"]]$)) > > in conjunction with > > <<wikify [[text@"+tiddler.title+"]] \>\>(Don't know if this works > > yet..) > > > Then I can watch the wikified text from the tiddler in question in one > > cell and the editbutton is next to it in another cell... > > > Thank you for your kind help!! > > > YS Måns Mårtensson > > > On Apr 22, 5:37 pm, cmari <[email protected]> wrote: > > > > Since you were using the "edit" macro I thought you were trying to > > > change text in a *field* in another tiddler. > > > Reading more carefully now, I see that you said you wanted to "edit > > > text in another tiddler". > > > As you discovered, my suggestion is no good for that (sorry for the > > > red herring!). > > > You can use the editTiddler macro in a fET to give yourself an "edit" > > > button for another tiddler, by using: > > > +[["<<editTiddler [["+tiddler.title+"]]$))"]]+ > > > But now I'm not sure I really understand what you're aiming for. > > > cmari > > > > On Apr 22, 8:41 am, Måns <[email protected]> wrote: > > > > > I've tried this: <<select [[text@"+tiddler.title+"]] rows:4 width:100% > > > > allowOther +[["+tiddler.title+"]] allowEdit$)) > > > > And it gives me a little box from where I can choose "other" and > > > > edit.. > > > > As you can see I tried to get it to open the target tiddler in > > > > editmode (even if I understand, that I can't use the "whole tiddler" > > > > as an input - I still should be able to edit the text directly in the > > > > tiddler (opened by choosing edit) - to see subsequent changes in my > > > > fET-table-textbox??!!) > > > > > YS Måns Mårtensson > > > > > On Apr 22, 3:08 pm, Måns <[email protected]> wrote: > > > > > > Thanks Eric and cmari ... > > > > > > I'd like to have a small textfield in a table, where I can input small > > > > > textbits into many tiddlers, from one place.. > > > > > The idea of using <<select instead of <<edit ... might be the a way > > > > > to go around this - but > > > > > I get this errormessage using the suggested fET-line: > > > > > <<forEachTiddler ...>>: SyntaxError: missing ] after element list > > > > > (where should I put "]"?) > > > > > > YS Måns Mårtensson > > > > > > On Apr 22, 2:47 pm, cmari <[email protected]> wrote: > > > > > > > I'm all in favor of easier ways to edit fields on the fly! > > > > > > In the short term, what about using <<select instead of <<edit > > > > > > inside the fET: > > > > > > + [["<<select [[text@"+tiddler.title+"]] rows:n allowBlank > > > > > > allowOther > > > > > > allowEdit$))"]] + > > > > > > (obviously you could fiddle with the allow parts to suit your needs) > > > > > > cmari > > > > > > > On Apr 22, 7:37 am, Eric Shulman <[email protected]> wrote: > > > > > > > > > cmari helped me to make a toggle for true/false on a fieldname > > > > > > > > - It > > > > > > > > works very well - but when I try to use another macro (edit) > > > > > > > > the path > > > > > > > > doesn't seem to be right. > > > > > > > > This is my togglefield code: <<checkbox > > > > > > > > [[hjem@"+tiddler.title+"]]>"+"> > > > > > > > > > Instead of the checkbox macro - I'd like to use editmacro for > > > > > > > > editing > > > > > > > > text in another tiddler. > > > > > > > > > When I do this: > > > > > > > > > <<edit [[text@"+tiddler.title+"]] 3>"+"> > > > > > > > > The "fieldn...@tiddlername" syntax is *not* a TiddlyWiki-wide > > > > > > > standard. It is something that I wrote as part of CheckboxPlugin > > > > > > > and > > > > > > > then also used in ListboxPlugin and WikifyPlugin. > > > > > > > > The standard core <<edit>> macro does not recognize this extended > > > > > > > syntax and thus always assumes that the 'fieldname' param refers > > > > > > > to a > > > > > > > field in the current tiddler. > > > > > > > > I *might* be able to extend the <<edit>> macro to handle > > > > > > > 'fieldn...@tiddlername'. However, because the 'save the input to > > > > > > > the > > > > > > > field' processing is performed as an integral part of the core's > > > > > > > "done" button handler, adding extra features for one particular > > > > > > > field > > > > > > > type is a bit complicated. > > > > > > > > -e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

