Hi, all,

here is my humble tool for the tagging of a group of tiddlers with the name of the current tiddler, using a search function.

I call it the "collection-footer", it is part of my view template.

In order to keep my GUI clean, I have a checkbox in a tiddler which is a conditional view template. This box toggles the tag "$:/tags/ViewTemplate"

The code is "stolen" from so many people on this mailing list, that I do not remember them, so I thank U all.


Pit



|
<$set name="collectTagName" value=<<currentTiddler>>>


@@color:red;font-size:8pt;''Enter the searchword:''
<$edit-text tiddler="$:/temp/CollectTags/searchWord" tag="input" type="text" size=80/>
[[(e)|$:/+PGA2015/admin/footerCollect]]@@


<$scrollable class='tc-scrollable-demo'>

__Apply the tag @@color:grey;[<$text text=<<collectTagName>>/>]@@ to the following tiddlers (sorted by creation date):__

<$list filter="[!has[draft.of]!is[system]search{$:/temp/CollectTags/searchWord}!title{!!title}!tag<collectTagName>sort[created]]">
"""
<$checkbox tag=<<collectTagName>>> <$link to={{!!title}}><$view field="title"/></$link></$checkbox> @@color:brown;//<$view field="summary"/>//@@
"""
</$list>

</$scrollable>

----

<$scrollable class='tc-scrollable-small'>

__These tiddlers have been included in the workfile: @@color:grey;[<$text text=<<collectTagName>>/>]@@__

<$list filter="[!has[draft.of]!is[system]search{$:/temp/CollectTags/searchWord}tag<collectTagName>sort[title]]">
"""
<$checkbox tag=<<collectTagName>>> <$link to={{!!title}}><$view field="title"/></$link></$checkbox>
"""
</$list>

</$scrollable>

</$set>
|


Am 2017-03-13 um 15:14 schrieb stevesuny:

5.



|
$set name="tag"value="TagNameHere">
<$button>
Tag<$count filter={{tiddlers-filter}}/>tiddlers with<<tag>>
<$list filter={{tiddlers-filter}}>
<$action-listops $tags=<<tag>>/>
</$list>
</$button>
</$set>
|



--
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/76fe089e-dba7-735a-7443-65eff6f09dae%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to