Hi TwWizards

I'm having trouble getting a fieldvalue from another tiddler:
I have a tiddler called [[LessonsList]] which has this macro:
<<tiddler PopOut with:{{store.getValue(tiddler,"lesson")}}Popout»>>
(tiddler [[PopOut]] is: <html><A
HREF="javascript:void(0)"onclick="window.open('$1','linkname','height=500,
width=800,scrollbars=no')" accesskey="u">$2</a></html> )

It works inside the LessonsList tiddler - but when I refer to the
tiddler with a tiddlermacro in the mainmenu like this:
<<tiddler LessonsList>> it doesn't fetch the fieldvalue for the
fieldname "lesson"...

I tried to change the store.get call from:
{{store.getValue(tiddler,"lesson")}}
to: {{store.getValue(LessonsList,"lesson")}} - but it doesn't work...
It returns:
Unable to evaluate {{store.getValue(LessonsList,"lesson")}}:
ReferenceError: LessonsList is not defined

How do I specify the tiddler where the fieldvalue is to be fetched
from?

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