Hi,

I'm trying to set up a library of plugins which will then load with
Bram Chen's LoadExtPlugin. Bram's plugin lets you specify the path to
each plugin, but I hope to modify it to allow a symbolic path. That
way one could keep their plugins in a single library, have different
tiddlywikis using different combinations of plugins, and keep the size
of individual copies of a tiddlywiki down by not having to duplicate
copies of all the plugins in every copy and backup.

Also, some plugins, such as Bob McElrath's jsMath plugin, themselves
use a path to a library where code and other goodies are kept. It
would be very useful to have a path to a common root for all plugins.

Thus, one could specify a general library path, such as LIBPATH="/lib/
twlib/' and in a plugin like Bob's have code such as: jsMathPath =
LIBPATH + "jsMath/"; which would translate as /lib/twlib/jsMath/.

The trick, however, is to initialize LIBPATH before any plugins load.
I know there has been some discussion of controlling the order in
which plugins load. (I believe LoadExtPlugin does this.) However, for
this purpose, one wants absolute certainty that LIBPATH gets set
first. I know one can go in an hack the html or TW itself, but the
user should be able to set LIBPATH within the tiddlywiki. Is there
some way to do this and ensure that it happens before any plugins
marked systemConfig load?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to