Hi Jeremy,

It would sound like the most simple solution and it would sure be
great to get that working.

On the other hand, the "The Comprehensive Method" [1] as suggested by
PMario did not work ...as those templates were not accessible by the
plugin.

Just tested... and it happened as I thought:

Error while executing macro <<MyMacro>>:
TypeError: store.getTiddlerText("MyPlugin##TEMPLATE") is null

Now, would there be a few lines of code (maybe in another wrapper.js)
required to finish the actual loading? The missing part really seems
to be that no tiddler by the name of "MyPlugin" has been loaded. I
would imagine that to be rather straight forward...

1) load a wrapper.js via MarkupPostBody containing references to
plugins
2) load those plugins
3) create those tiddlers as shadows

What I believe to be missing in [1] is merely step 3)


ADDENDUM: I have modified LoadExternal.js and published it here [2]
and it now does all I really need! What was required was to modify
getTiddlerText in order to fetch sections of shadow
tiddlers ...something that is more of a bug (or missing feature) in
the core.

While at it, I have created a bugreport in trac [3].

Cheers, Tobias.


[1] 
http://tiddlywiki.org/wiki/Dev:Developing_and_Testing_a_Plugin#The_Comprehensive_Method
[2] http://tobibeer.tiddlyspace.com/#LoadExternal
[3] http://trac.tiddlywiki.org/ticket/1259

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to