Hi Okido, I prefer using fields or slices because they are natively supported by the core... even though those now core-features might have been built upon the paths once paved by DataTiddlerPlugin. In other words, I need not use plugins if exactly the same is already provided by a standard TiddlyWiki.
When it comes to story.findContainingTiddler... that is relevant when your code is being used by a script-created-list ...in order to find out, what tiddler you actually tried to reference to. Cheers, Tobias. On 20 Sep., 20:15, okido <[email protected]> wrote: > Hi Heller, > > Not 100% sure what you mean by referencing, a clickable link to the > tiddler based on the Name value? > Then use this: > > text += 'Reference : ' + '[[' + > DataTiddler.getData(tids[t].title,"Name") + '|' + tids[t].title + > ']]'; > > Tobias; could you give little explanation why you prefer the code you > made? > > Have a nice day, Okido > > On 20 Sep, 19:16, Tobias Beer <[email protected]> wrote: > > > Though I wouldn't do it this way myself, try using... > > > var tid=story.findContainingTiddler(place);tid=tid? > > tid.getAttribute('tiddler'):'';DataTiddler.getData(tid,"Name"); > > > However, I would much prefer... > > > a) var tid=story.findContainingTiddler(place);tid=tid? > > tid.getAttribute('tiddler'):'';store.getValue(tid,"Name"); > > > or... > > > b) var tid=story.findContainingTiddler(place);tid=tid? > > tid.getAttribute('tiddler'):'';store.getTiddlerText(tid,"Name"); > > > Cheers, Tobias. > > -- 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.

