I've written a macro that identifies and presents tiddlers as slides in a slideshow with this:
<<punchshow2 "welcome-to-class">>
My macro sets variable slidetag as follows:
<$set name=slidetag value="""$slidetag$""">
Tiddlers to be included in the slideshow are tagged with the name of the show (example: "welcome-to-class") and have a field of the same name (example: welcome-to-class) with value = 1 (or 2, etc.)
I want to dynamically set the bgcolor of the tiddlers based on slidenumber.
How do I reference a field that is defined through transclusion? In the code below, I'm trying to get the value of the field <<slidetag>> into a variable <<slidenumber>>
<$list filter="[tag<slidetag>!nsort<slidetag>]" >
<$set name="slidenumber" filter="[all[current]field<slidetag>]">
...
doesn't work.
Suggestions?
Thanks, //steve.