Hey! I didn't bump this thread!
In terms of the code, what I have done so far is to change my strategy. At first I wanted <<tiddler...>> to work inside a template. With some advice from Eric, I changed it to a macro="tiddler..." format.
What I have found so far is that apparently for evaluated expressions {{}} to work inside of "macro=" , it needs to use single quotes. And it only works inside of "macro=" and nowhere else in the template tiddler.
Also, "tiddler.title" doesn't work inside the template tiddler. Thus the long expression
{{story.findContainingTiddler(place).getAttribute("tiddler")+"##SECTION }}
is still required. What I would have liked was to use the name right inside the ViewTemplate, but as far as I can tell what I had to do instead was transclude a separate tiddler, passing it the evaluated name to work with.
My overall goal is to create a TiddlyWiki that will allow me to view receipts stored as PDF's. Ideally I would be able to view the PDF and its related text side-by-side in a tiddler. I could copy OCR'd text from the PDF to the corresponding tiddler, and tweak it a bit as needed. This is mostly working, except that currently I can't float the embedded PDF and the text side-by-side. They have to be one above the other. I need to work out details for sub-directories, and for dragging and dropping the PDF's.
This same system would allow me to create photo albums. The TW would work as an overlay, providing the ability to search and display images. It would not, of course, actually store the contents of the images.
Thanks,
Mark