Maybe what I really need is a new tagger feature which will tag two
tiddlers at once. If I tag a task with a teacher, the teacher should be
tagged with the task - and/or vice versa...
Is this possible already?
Den onsdag den 23. april 2014 11.57.10 UTC+2 skrev Måns:
>
> Hi TwWizards
>
> This is a (maybe) basic filter syntax question - please excuse me if it's
> too obvious... (It isn't to me..)
>
> I have some tasks tagged with names of those who are assigned to execute
> them.
>
> Tasks might have other tags too, however I only want my filtered list to
> list name-tiddlers tagged with "teacher" - it shouldn't show the tag "task"
> - or other tags I have assigned to tasks.-
>
> Because I couldn't find out how to do it I've made a workaround where I
> have to tag a task with a teacher - AND the teacher with the tag to make
> relations useable in lists...
>
> I'd like to cook it down so I only have to tag a task with a teacher and
> not a teacher with a task too...
>
> This is how my list filter looks atm. (it will only show teachers who are
> tagged with the actual tag too. It will, however, allow me to tag the task
> with a teacher - which again will not show in the list untill I have tagged
> the teacher with the tag too):
>
> <$list filter="[tag[task]] -[[task]] +[!sort[modified]limit[300]]">
>
> | Task: {{!!title}} |c
> | Teachers assigned |
> | <$list
> filter="[is[current]tagging[]sort[title]]"><br>{{!!title||$:/core/ui/TagTemplate}}
>
> |
>
> Assign teacher:
>
> <$fieldmangler>
> <$linkcatcher set="$:/NewTagName" setTo="" message="tw-add-tag">
> <$list filter="[tag[teacher]] -[all[current]tagging[]]
> -[[teacher]]">
> <$link>
> <$set name="backgroundColor" value={{!!color}}>
> <span style=<<tag-styles>> class="tw-tag-label">
> <$view field="title" format="text"/>
> </span>
> </$set>
> </$link>
> </$list>
> </$linkcatcher>
> </$fieldmangler>
>
> </div></$list>
>
> My work in progress is here: http://opgavefordeling.tiddlyspot.com/ You
> will find my code reused in different categories of tasks (opgaver) - Its
> all in Danish I'm afraid...
>
> Cheers Måns Mårtensson
>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.