Subject: [tw] Re: Updated TrashPlugin - Now honours a "dontDelete" tag
One other way to do this:

In your !ViewTemplateToolbar slice from your theme, use:

<span macro="hideWhenTagged dontDelete"><span class='toolbar'
macro='toolbar [[ToolbarCommands::ViewToolbar]]'></span></span>
<span macro="showWhenTagged dontDelete"><span class='toolbar'
macro='toolbar [[ToolbarCommands::NoDelViewToolbar]]'></span></span>

and in your ToolbarCommands Tiddler, have a table row like:

|~NoDelViewToolbar|closeTiddler closeOthers attachFile +editTiddler
easyEdit jump > bookmarks +cloneTiddler fields syncing permalink
references newHere|

...where there's no delete command.

This also gets around Eric's well-founded objection of no user
feedback when clicking "delete" in the previous suggestion
(TrashPlugin update).

Cheers,
David Szego

--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
tiddlywiki+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.

(C)2011 mailinglist-archive.com