On Mar 25, 6:49 pm, "Jorge A. Ramos M." <[email protected]> wrote:
> Excelent! Thank you,
>
> There is only one way to show the actions that belong only to this project
> and not to show all Action of the mGTD?
Well, despite my previous post, I went and figured out a way anyway.
=P
With this code, dependent actions are localized: not in projects to
other actions not in projects, and project actions to same project
actions. Done actions are not shown. It involves an addition to a core
function, so unless it becomes default later, know that you'd have to
add it in when you upgrade.
Goes in MgtdTagControls, under the MultiSelectTag macro. Find this
section:
if (tag == "Project") {
// only want to see active projects
filterComplete += "!tiddler.tags.contains('Complete')";
}
and put the following code right after it:
if (tag == "Action") {
// only want to see active actions; actions only show other actions
in same project (or no project)
if (tiddler.hasParent('Project'))
filterComplete += "(!tiddler.tags.contains('Done') &&
tiddler.tags.contains('"+tiddler.getParent('Project')+"'))";
else
filterComplete += "(!tiddler.tags.contains('Done') && !
tiddler.hasParent('Project'))";
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "GTD
TiddlyWiki" group.
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/GTD-TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---