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/22c90b30-01f4-43a1-8137-95143cd543ad%40googlegroups.com.

Reply via email to