title: read-date
display-filter: [all[current]!is[system]]
display-tags: $:/tags/ViewToolbar
field-format: [UTC]YYYY0MM0DD0hh0mm0ss0XXX
icon: $:/core/images/timestamp-on
tags: $:/tags/ViewToolbar
tooltip: Re-Stamp a read now (read-date)
tooltip-off: Stamp a read now (read-date)
<$list filter={{read-date!!display-filter}} variable=nul>
<$wikify name=read-date text="""<$macrocall $name=now format={{read-date!!field-format}}/>""">
<$list filter="[all[current]!has[read-date]]" variable=nul>
<$button class="tc-btn-invisible" tooltip={{read-date!!tooltip-off}} >
{{$:/core/images/timestamp-off}}
<$action-setfield $field=read-date $value=<<read-date>> />
</$button>
</$list>
<$list filter="[all[current]has[read-date]]" variable=nul>
<$button class="tc-btn-invisible" tooltip={{read-date!!tooltip}} >
{{$:/core/images/timestamp-on}}
<$action-setfield $field=read-date $value=<<read-date>> $timestamp=no />
</$button>
</$list>
<!-- Using read-date
tag with a tag named in {{read-date!!display-tags}}
set a display filter for when to show this autonomous field
Set the field format to use, in this case a data field.
Change the ions used for the button states above
Set the tool tip for on and Off buttons
-->
</$wikify>
</$list>This tiddler is a button, tag-toggle a field definition, a view template and configurable tiddler all in one.
T
Folks,
Folks,
Folks,
IMO this needs to be DEMO WIKI with docs, not a download.Its hard to understand the aim otherwise.