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 <beertob...@googlemail.com> 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 tiddlyw...@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.