On Aug 13, 1:16 pm, cmari <
cema...@gmail.com> wrote:
> > please explain... are you trying to include a tiddlername as a
> > parameter for the fields argument?
>
> a single tiddler. I took advantage of the fact that the fields of one
> tiddler can be edited in another one if the <<toolbar fields>> macro
> in the first tiddler actually specifies that first tiddler's name.
> You can see what I was doing if you look at the tiddler called
> "dailyreminder" athttp://
cmari.tiddlyspot.com/
I find this in your document:
<<toolbar fields [[BusTickets]]>>
It seems that you are thinking that the [[BusTickets]] param is
somehow getting passed to the preceding 'fields' param to specify a
'target tiddler' for the fields command.
However, that's not how the <<toolbar>> macro works: rather, each and
every parameter in the <<toolbar >> macro is supposed to specify the
name of a *separate* toolbar command handler, and there is no ability
to pass additional parameterized values to the individual commands
*within* the toolbar.
Try this in your document:
1) create a new tiddler containing: <<toolbar fields [[BusTickets]]>>
2) open the tiddler [[BusTickets]]
3) click on 'fields' in [[NewTiddler]] and note field names/values
4) click on 'fields' in [[BusTickets]] and note *different* field
names/values
This shows that the 'fields' command in [[NewTiddler]] is *not*
referencing the fields defined for [[BusTickets]] as you had thought.
In fact, the [[BusTickets]] reference in your document's <<toolbar>>
macro is actually being completely *ignored* because 'BusTickets' is
does not have a defined command handler.
However... with TiddlyTools' CoreTweaks #609/#610 installed, rather
than being ignored, the reference actually tries to render the entire
[[BusTickets]] tiddler inline within the toolbar... and it wouldn't
surprise me if that produced some very odd results indeed!
-e