Re: [tw] is a drop-down Field selector menu possible in Draft Mode?
Hello, In my opinion what is needed for the field's field is the same we have with the type field. A drop down list of already available values. I asked this a while before and Jeremy suggested me a pull request. There is something that is on my list, I just to find the time to do so. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/51583909-a454-45ba-a9ba-5f65d7e83afd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] is a drop-down Field selector menu possible in Draft Mode?
So I've worked out a solution based on Dave Gifford's example[1] of using the SelectWidget to set fields. The dropdown menu only appears in View Mode of course, but changes made show up in the fields in Draft Mode, so I guess it's doing what I need it too. I'd still rather the changes could only be made in Draft Mode, but this seems to work. I now have the code below[1] to set the value field for 'probability', and a similar one to set the value for 'severity'. My next step is to place the code for each group of values in a separate tiddler, so that I can reference them (transclude them?) into each tiddler that I require values set for. I'm doing this so I can easily change or update the values across multiple tiddlers. Any hints or tips appreciated! Cheers, David. [1]$select field='probability' option$action-setfield probability/1-rarely/option option$action-setfield probability/2-unlikely/option option$action-setfield probability/3-sometimes/option option$action-setfield probability/4-likely/option option$action-setfield probability/5-frequently/option /$select On Mon, May 11, 2015, at 03:48 PM, david... wrote: Hi List, Can I use a drop-down selector for the Fields, in Draft Mode? Is it possible? I've added two fields ('Probability' and 'Severity') to my default 'New Tiddler' template, by following Tobias Beer's excellent guide to Create a Tiddler from a Template[2]. I'd like to be able to select the value for each field from a drop-down menu selector. Ideally, the selector would appear when the tiddler was in Draft Mode. I thought I could use the instructions given in tiddlywiki.com#SelectWidget. I guess this will only show the code in Draft Mode, though. Is that correct, or is there some way to use the SelectWidget in Draft Mode, too? By the way, what is the opposite of Draft Mode? Is it View Mode, Presentation Mode, or something else? Cheers, David. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1431323295.348741.265289241.615C04B1%40webmail.messagingengine.com[3]. For more options, visit https://groups.google.com/d/optout. Links: 1. https://groups.google.com/d/msg/tiddlywiki/TaQoXoRq2aQ/DY5qYXUZiiwJ 2. http://tobibeer.github.io/tb5/#Create%20Tiddler%20From%20Template 3. https://groups.google.com/d/msgid/tiddlywiki/1431323295.348741.265289241.615C04B1%40webmail.messagingengine.com?utm_medium=emailutm_source=footer -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1431464023.1601131.267099561.516CCADB%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] is a drop-down Field selector menu possible in Draft Mode?
Hi David If you tag your template with: $:/tags/EditTemplate and it will show in edit mode in all tiddlers. When you want to decide where the select box should appear you can use the list-before or list-after fieldname and add the title of the element which you will position it relative to... You can find a list of element titles in the list field of the shadow tiddler $:/tags/EditTemplate. You can also create a macro and a template with variables which can be used to create different fieldname and different values too: I've setup a working example here: http://playground.tiddlyspot.com http://playground.tiddlyspot.com/#:%5B%5Balternative%20use%5D%5D%20testing%20SelectFieldMacro (based on your data) Notice that you don't actually need to add the tag $:/tags/Macro unless you want to use the macro in reader mode in other tiddlers and with other values for the variables... Cheers Måns Mårtensson Den tirsdag den 12. maj 2015 kl. 22.53.53 UTC+2 skrev david...: So I've worked out a solution based on Dave Gifford's example https://groups.google.com/d/msg/tiddlywiki/TaQoXoRq2aQ/DY5qYXUZiiwJ of using the SelectWidget to set fields. The dropdown menu only appears in View Mode of course, but changes made show up in the fields in Draft Mode, so I guess it's doing what I need it too. I'd still rather the changes could only be made in Draft Mode, but this seems to work. I now have the code below[1] to set the value field for 'probability', and a similar one to set the value for 'severity'. My next step is to place the code for each group of values in a separate tiddler, so that I can reference them (transclude them?) into each tiddler that I require values set for. I'm doing this so I can easily change or update the values across multiple tiddlers. Any hints or tips appreciated! Cheers, David. [1] $select field='probability' option$action-setfield probability/1-rarely/option option$action-setfield probability/2-unlikely/option option$action-setfield probability/3-sometimes/option option$action-setfield probability/4-likely/option option$action-setfield probability/5-frequently/option /$select On Mon, May 11, 2015, at 03:48 PM, david... wrote: Hi List, Can I use a drop-down selector for the Fields, in Draft Mode? Is it possible? I've added two fields ('Probability' and 'Severity') to my default 'New Tiddler' template, by following Tobias Beer's excellent guide to Create a Tiddler from a Template http://tobibeer.github.io/tb5/#Create%20Tiddler%20From%20Template. I'd like to be able to select the value for each field from a drop-down menu selector. Ideally, the selector would appear when the tiddler was in Draft Mode. I thought I could use the instructions given in tiddlywiki.com#SelectWidget. I guess this will only show the code in Draft Mode, though. Is that correct, or is there some way to use the SelectWidget in Draft Mode, too? By the way, what is the opposite of Draft Mode? Is it View Mode, Presentation Mode, or something else? Cheers, David. -- 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 tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1431323295.348741.265289241.615C04B1%40webmail.messagingengine.com https://groups.google.com/d/msgid/tiddlywiki/1431323295.348741.265289241.615C04B1%40webmail.messagingengine.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/34cb33f7-691b-44ae-94b9-abb05dd64b1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] is a drop-down Field selector menu possible in Draft Mode?
Hi List, Can I use a drop-down selector for the Fields, in Draft Mode? Is it possible? I've added two fields ('Probability' and 'Severity') to my default 'New Tiddler' template, by following Tobias Beer's excellent guide to Create a Tiddler from a Template[1]. I'd like to be able to select the value for each field from a drop-down menu selector. Ideally, the selector would appear when the tiddler was in Draft Mode. I thought I could use the instructions given in tiddlywiki.com#SelectWidget. I guess this will only show the code in Draft Mode, though. Is that correct, or is there some way to use the SelectWidget in Draft Mode, too? By the way, what is the opposite of Draft Mode? Is it View Mode, Presentation Mode, or something else? Cheers, David. Links: 1. http://tobibeer.github.io/tb5/#Create%20Tiddler%20From%20Template -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1431323295.348741.265289241.615C04B1%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.