How do I get my third party plugin library to refresh?

54 views
Skip to first unread message

Matthew Lauber

unread,
Mar 9, 2016, 11:00:55 AM3/9/16
to TiddlyWiki
All, I've created a plugin library available at http://mklauber.github.io/tw5-plugins/  It works fine, the first time.  I download the empty.html file, drag the link in, and I can see the plugins I've created.  What doesn't work is refreshing the library.  Thus far, once I've opened the library once, it always shows up as opened, and I can't find any way to refresh the contents.  Am I missing something?

Thanks, 
Matt Lauber

Matthew Lauber

unread,
Mar 9, 2016, 11:03:21 AM3/9/16
to TiddlyWiki
Putting the following code into a tiddler and clicking the resulting button refreshed the contents.  Is there just no refresh button in the template once the library has been loaded once?

<$button class="tc-btn-big-green">
<$action-sendmessage $message="tm-load-plugin-library" url={{$:/pluginlibrary/mklauber/MyPlugins!!url}} infoTitlePrefix="$:/temp/RemoteAssetInfo/"/>
{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Plugins/OpenPluginLibrary}}
</$button>

Jeremy Ruston

unread,
Mar 9, 2016, 11:59:43 AM3/9/16
to tiddl...@googlegroups.com
Hi Matt

Once you’ve opened a plugin library you’ll need to refresh the TW page entirely before you’ll see any changes made to the library itself.

Best wishes

Jeremy

-- 
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/76cd0221-438c-4eb3-9a10-98dadd1a626d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Matthew Lauber

unread,
Mar 9, 2016, 1:21:40 PM3/9/16
to TiddlyWiki
That actually wasn't working for me.  Take a look at the attached tiddlywiki file.  As soon as I open it, the libraries (both mine and the tiddlywiki one) report as already loaded.
testing.html

Matthew Lauber

unread,
Mar 9, 2016, 4:24:23 PM3/9/16
to TiddlyWiki
Well, I've figured out the root cause.  For some reason, when the tiddlywiki is saved, tiddlers starting with $:/temp/ are being saved as well.  Not sure yet why that is, but it means that the tiddler "$:/temp/ServerConnection///mklauber.github.io/tw5-plugins/library/index.html" is being kept around.
Reply all
Reply to author
Forward
0 new messages