Mario,
Does the plugins in TIDDLYWIKI_PLUGIN_PATH can be used in making plugin
library? See the below tiddlywiki.info used for making Kookma library
"build": {
"library": [
"--makelibrary","$:/UpgradeLibrary",
"--savelibrarytiddlers","$:/UpgradeLibrary","[prefix[$:/]]
+[prefix[$:/plugins/kookma]]", "recipes/library/tiddlers/",
"$:/UpgradeLibrary/List",
"--savetiddler","$:/UpgradeLibrary/List","recipes/library/tiddlers.json",
"--rendertiddler","$:/plugins/tiddlywiki/pluginlibrary/library.template.html","index.html","text/plain"]
}
but it cannot find or does not include plugin from TIDDLYWIKI_PLUGIN_PATH.
Note: I can create new wiki and use my third party plugin as you described
in your post and it is working fine.
--Mohammad
On Friday, March 27, 2020 at 7:04:23 PM UTC+4:30, PMario wrote:
>
> On Friday, March 27, 2020 at 2:19:18 PM UTC+1, Mohammad wrote:
>>
>> My question is setting TIDDLYWIKI_PLUGIN_PATH global variable (for
>> example in Windows 10) means Tiddlywiki will load all plugins from this path
>> or this is extra to plugins/tiddlywiki folder?
>>
>> For example I have installed
>>
>> - Tiddlywiki prerelease in D:\Tiddlywiki5.1.22p
>> - So, I have D:\Tiddlywiki5.1.22p\plugins folder
>> - Then TIDDLYWIKI_PLUGIN_PATH=D:\Tiddlywiki\Custom_Plugins
>>
>> This variable make it easy, that TW will find 3rd party plugins. eg:
>
> I don my plugins in a completely different structure as TWs directory
> structure.
>
> My TIDDLYWIKI_PLUGIN_PATH=D:\path\to\my\plugins ...
>
> The whole structure is: D:\path\to\my\plugins\wikilabs\<plugin-name>
>
> This makes it possible to add one of my plugins into tiddlywik.info like
> so:
>
> My link-to-tabs-server edition tiddlywiki.info
> <https://github.com/wikilabs/editions/tree/master/link-to-tabs-server>
> looks like this.
>
> {
> "description": "Server configuration of the wikilabs edition",
> "plugins": [
> "tiddlywiki/tiddlyweb",
> "tiddlywiki/filesystem",
> "wikilabs/link-to-tabs",
> "wikilabs/info-session",
> "wikilabs/advanced-search-plus"
> ],
> "themes": [
> ],
> "includeWikis": [
> "../link-to-tabs"
> ],
> "config": {
> "default-tiddler-location": "../link-to-tabs/tiddlers"
> }
> }
>
> This makes development much easier, since I don't need to add the full
> directory name.
>
> The environment variables can have several paths, with are separated by a
> semicolon ";" in windows and a colon ":" for unix-like systems
>
> have fun!
> mario
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/9b7edbf6-3098-456d-b0d6-fa6ee56fafd2%40googlegroups.com.