Christian,
Are you referring only to the startup actions part, or the larger picture
of controlled login?.
Your solution sounds handy but unfortunately, I do not know how to
implement it. Do I understand correctly this your snipit launches the
tiddler "Logon" in a modal?
That would be elegant,
- Can you show me how to put this in a wiki
- Can you show me how to package it with tiddlers or a plugin?
- Must it be a modified edition with a core change?
If you are interested in collaboration on serial edit, I am ready and
willing with a lot of prior research in my head.
Regards
Tony
On Thursday, July 16, 2020 at 2:31:50 PM UTC+10, ChristianB wrote:
>
> Hi Tony
>
> Did you every complete this work ? I found your post when searching on the
> same problem and was looking to build the same type of plugin ( ie
> passwords and encrypted tiddlers etc )... Perhaps we can exchange notes
>
> I found that the following code worked - as it hooks into the core
> frameworks existing hook for th-opening-default-tiddlers-list ( a point
> at which the story list components seems loaded already ).. and its a bit
> more self-contained than setting a dependency on another plugin
>
> $tw.hooks.addHook("th-opening-default-tiddlers-list",function(list) {
> $tw.modal.display("Logon",{event:"tm-modal"});
> return list;
> });
>
> The first parameter to $tw.modal.display is the tiddler you want launched
>
> Cheers
> CB
>
>>
--
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/53eba553-de1f-46b1-a664-70405fd2cfdbo%40googlegroups.com.