Hi François I tried your suggestion - but unfortunately it didn't work for me. I got: <<treeview2>>: TypeError: Cannot read property 'tags' of null
YS Måns Mårtensson On 22 Aug., 17:44, François D <[email protected]> wrote: > I would try something like : > <script> > var t=story.findContainingTiddler(place); > var tiddler=store.getTiddler(t.getAttribute("tiddler")); > return "<<treeview2 "+tiddler.title+'" filetree"'+' collapsed: > false, > antisesame: "closed", animated: "fast", persist: "cookie", > cookieId:'+tiddler.title+'-ID'+">"+">"; > </script> > > FrD > > On 22 août, 12:42, Måns <[email protected]> wrote: > > > > > Hi TwWizards > > > I've tried to make a template that generates a treeview based on the > > tiddler title. > > However I cannot figure what to write for the plugin to fetch the > > title - I've tried: > > <<treeview2 "+tiddler.title+" "filetree" 'collapsed: false, > > antisesame: "closed", animated: "fast", persist: "cookie", cookieId: > > "+tiddler.title+-ID"' >> > > > Which doesn't work... > > > Does someone know the correct syntax - or can't you use it in a > > template?? > > > YS Måns Mårtensson --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

