Hi The Bo

One approach would be to construct a plugin that contains your desired value 
for $:/status/UserName. Then, exclude -[[$:/status/UserName]] from 
$:/core/save/all. That will ensure that when the tiddler is omitted during the 
save the shadow will automatically take it’s place.

Are you using the standalone HTML file configuration or Node.js?

Best wishes

Jeremy.

> On 21 Apr 2016, at 12:06, The Bo <[email protected]> wrote:
> 
> Hello Community,
> 
> right now I'm looking for a way to prevent a certain tiddler to be saved. 
> 
> Cases:
> 1. Tiddler $:/status/UserName
> 2. a regular Tiddler (e.g. GettingStarted)
> 
> My idea was to set _canonical_uri for the $:/status/UserName to a lokal 
> .tid-file (username.tid) so that the username is transcluded by that file.
> After that I saved the wiki and it is working as suggested as long as I save 
> further changes.
> 
> I allready tried to modify the $:/core/save/all with -[[$:/status/UserName]] 
> but it seems like the tiddler is deleted after saving.
> 
> Is there a way to solve this problem? 
> 
> Regards,
> The Bo
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/49460099-7ba4-4875-85f6-f5ee1447e370%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/49460099-7ba4-4875-85f6-f5ee1447e370%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
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/18194219-0918-4645-B7FC-A7632FE1E3C1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to