What about doing something where, if a tiddler with a certain title exists, create one with an incremented number after it, similar to how the New Tiddler button works? Does anyone know how I could do that?
On Tue, Dec 29, 2015 at 1:52 PM, David Allen <dvainwebbc...@gmail.com> wrote: > The planet field in the resulting event tiddler has to be a link because > it has to match the planet fields of any species tiddlers which might have > their planet field match the event's planet field. Since I'm also doing > stuff with the planet tiddlers and species tiddlers that uses the listed > operator of a filter expression, and some of the planet names have spaces, > I had to surround all the planet names with double square brackets for > things to work. > > I'll take a closer look at the title building widget later. > > On Tue, Dec 29, 2015 at 1:40 PM, Tobias Beer <beertob...@gmail.com> wrote: > >> Hi David, >> >> >>> Planet is showing up in the resulting tiddler as text only and not as a >>> link to the associated tiddler. For example, if I select Cardassia Prime >>> from the select widget, the planet field in the resulting tiddler will say >>> Cardassia Prime, when I need it to say [[Cardassia Prime]]. I'm not >>> entirely certain how to accomplish this. >>> >> >> At what point do you need it to be a "listified" value? As you already >> do, instead of just {{!!planet}} you can always do <$link >> to={{!!planet}}><$view field="planet"/></$link>... or use a template / >> macro to simplify this. >> >> Another problem is in the title of the new tiddler. I want the values of >>> the year, month, and day fields to show up in the title of the new tiddler, >>> but instead the tiddler name is Event_{{!!year}}_{{!!month}}_{{!!day}}, >>> rather than Event_2451_12_14, for example. >>> >> >> You need to call some helper macro(s) using the MacroCallWidget >> <http://tiddlywiki.com/#MacroCallWidget> to properly construct the >> desired attribute value, e.g. >> >> \define addJoinEvent(year,month,day) >> <$some-widget some-title-attribute="Event_$year$_$month$_$day$"/> >> \end >> >> <$macrocall $name="addJoinEvent" year={{!!year}} month={{!!month}} day >> ={{!!day}}/> >> >> Best wishes, >> >> Tobias. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "TiddlyWiki" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/tiddlywiki/1NbjFgAAUkU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> tiddlywiki+unsubscr...@googlegroups.com. >> To post to this group, send email to tiddlywiki@googlegroups.com. >> Visit this group at https://groups.google.com/group/tiddlywiki. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/dcb87f55-bac1-47dd-9eb3-0a0498591c0a%40googlegroups.com >> <https://groups.google.com/d/msgid/tiddlywiki/dcb87f55-bac1-47dd-9eb3-0a0498591c0a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > David Allen > -- David Allen -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CALaYjLgsOY9reRxF_8VbYSnNcFCCsDp7QcBac_e9vzjA-v%3DnhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.