> Using InlineJavascriptPlugin:
>
> <script>
> var tid="AParticularTiddler";
> var tag="tagToAdd";
> var links=store.getTiddler(tid).links;
> store.suspendNotifications();
> for (var i=0; i<links.length; i++)
> if (store.tiddlerExists(links[i])
> store.setTiddlerTag(links[i],true,tag);
> store.resumeNotifications();
> </script>
Fantastic. I'll be using this a number of times. FYI, a ")" was
missing and what follows works:
<script>
var tid="AParticularTiddler";
var tag="tagToAdd";
var links=store.getTiddler(tid).links;
store.suspendNotifications();
for (var i=0; i<links.length; i++)
if (store.tiddlerExists(links[i]))
store.setTiddlerTag(links[i],true,tag);
store.resumeNotifications();
</script>
I've tried
<<list filter [tag[systemConfig]] [sort[+created]]>>
<<list filter [tag[systemConfig]] [sort[-created]]>>
<<list filter [tag[systemConfig]] [sort[+modified]]>>
<<list filter [tag[systemConfig]] [sort[-modified]]>>
And the sorting isn't working. Anyone know what I am doing wrong?
I'm using 2.5.0.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"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/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---