This does seem to cause a brain meltdown. The tags of the current tiddlers
tags, according to their tags
All of you seem to be on the same track, Here is my example - which I have
almost finished.
I Have a tiddler Called "Test - tags so tagged"
It has content - Including Eric's script
!Project(s)
<script>
var out=[];
for (var i=0; i<tiddler.tags.length; i++) {var
tid=store.getTiddler(tiddler.tags[i]);
if (tid && tid.isTagged("#")) out.push("[["+tiddler.tags[i]+"]]");
}
return out.join(", ");
</script>
Now this tiddler is tagged
*=WIP =urgent :personal .projectTask [[Personal Process Improvement]] *
The Above script in the above tiddler displays "*Personal Process
Improvement*" Because this tiddler is tagged with ""*Personal Process
Improvement*"" and it is a project tiddler. Because all Project tiddlers
are tagged with "#",
The script has evaluated all the tiddlers current tags, and tested them to
see if they are tagged with "#" and listed the ones that are.
If I use "=" instead of "#" it would list the "status" tags because the
tiddlers named *=WIP =urgent** *are them selves tagged with "="
The Script does almost everything I want except I must insert it in every
tiddler I want this to happen in. Unfortunately if I transclude the script
from "anotherTiddler" it will return the result against the tags of the
"anotherTiddler" not the transcluding one.
In my viewtemplate I would like to do something like this
<span macro="showWhenTagged .projectTask">
<div class='viewer' macro='tiddler anotherTiddler'></div>
</span>
Or
<span macro="showWhenTagged .projectTask">
[[ anotherTiddler]]
</span>
Or in another tiddler
<<tiddler anotherTiddler>>
I will post the applications once I have it.
Regards
Tony
On Monday, 9 July 2012 03:46:25 UTC+10, PMario wrote:
>
> On 8 Jul., 04:54, TonyM <[email protected]> wrote:
> > Are you suggesting I use the code from Tagsplorer ?
> yup,
> I thought you could borrow stuff there :)
>
> But reading your descriptons, I think tobi beers stuff is where you
> could borrow too :)
>
> http://tbgtd.tiddlyspot.com
> At a tiddlers toolbar see: x-tab▾ x-plore▾ x-tag▾
>
> http://tagsearch.tiddlyspot.com/
> tagSearch is similar to x-tag
>
> -m
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/H3OGhpW6IhkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.