Hello,
I am trying to customize a single tiddlywiki running on Node.js server version, so that clicking a link in the wiki text in a tiddler will call a special macro that triggers a custom js function. I have already succeeded in running my own custom macros/functions in the wiki. But: the custom functions are now included in the global tiddlywiki source directory, under
/usr/local/lib/node_modules/tiddlywiki/core/modules/widgets
To be exact, I am using my own modified functions called:
action-navigate2.js (which is a modified version of action-navigate.js)
and
action-socketsend.js (which is my own original function from scratch)
The question is: Is there a way to place those two functions, action-navigate2.js and action-socketsend.js in a folder that is local only to the tiddlywiki in question rather than be placed inside the global tiddliwiki installation?
Cheers,
Iannis Zannos