I experimented with putting:
<div macro="tiddler myTemplate with:{{tiddler.title}}"></div>

after the final </div> in the ProjectViewTemplate in TiddlyDu3

Then, in the fET in the TabProjects tiddler, I replaced the
getFirstLine script (which depends on the tiddler having contents),
with:

write '"<<siteMap [["+tiddler.title+"]] . sliders$))"'

I thought that worked, but maybe my test case wasn't big enough.
cmari

On Apr 10, 3:24 pm, Måns <[email protected]> wrote:
> Hi Morris
> You are absolutely right.
> If You render the sliderframe <span macro='tiddler FagSliderFrame'></
> span> in the text area - then you get the error in the mainmemu.
> I choose to render it in place of the title - to get a title with an
> arrow to show projects and tasks (doesm't produce an error in the
> mainmenu)- and I had to reinsert the same sliderframe into the tiddler
> again - with absolute reference to the tiddler title to make it render
> without errors in the mainmenu.
> So I'm back where I started - just have a better tiddlertitle + a copy
> at the bottom of the tiddler (absolute) to get it into the
> mainmenu....
> Too bad that the tabbing prevents rendering the results of a relative
> reference - it would be nice!!
> For a moment I thought I had a good idea for improvement of the TWTuDu-
> concept..
>
> YS Måns Mårtensson
>
> On 10 Apr., 20:37, Morris Gray <[email protected]> wrote:
>
> > It seems good on the surface but with a quick check it seems to create
> > an error in the MainMenu. "Unable to evaluate {{tiddler.title}}:
> > TypeError: tiddler is null"
>
> > When creating a new Project it looks alright as a tiddler but if you
> > look at it in the tabset tiddler TabToDo you will see that it no
> > longer has the title it was created with but inherits the title of the
> > tabset which is TabToDo.  Likewise if you look at the same tiddler in
> > TabProjects it has now inherited title of TabProjects. Once they are
> > all integrated together in the MainMenu you get an error.  However the
> > same doesn't happen for a Task I created, nevertheless I think there
> > is an inheriting title problem that won't go away with the present set
> > up.
>
> > Morris
>
> > On Apr 10, 9:34 am, Måns <[email protected]> wrote:
>
> > > Hey I just solved this one myself!!!
> > > I hope that rev. Dave Gifford and Morris Gray reads this - because
> > > it's making their efforts with TiddlyDu3 and TWTuDu even better!!!
> > > Watch this:
> > > <<siteMap {{tiddler.title}} . sliders>>
> > > It works!!!
> > > No need for inputting the tiddler title into the sliderframe textarea
> > > - it's there already!!
>
> > > YS Måns Mårtensson
>
> > > On 10 Apr., 01:29, Måns <[email protected]> wrote:
>
> > > > Hi
> > > > I'd like to fetch a generic tiddler title into a textparameter inside
> > > > a macro.
> > > > I'm trying to do this in the tiddlers textarea: <<siteMap
> > > > [[tiddler.title']] . sliders>>
> > > > Is it possible ??
> > > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to