[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
> I changed 'Tagname' to HoldListeBilleder and all bracketed > tiddlertitles were added the tag: "true" > After this operation I lost the ability to save the TW and I had to > restart... > I dont get it ... eek! I goofed... I got the order of the parameters reversed... Instead of: store.setTiddlerTag(titles[i],'tagName',true); it should be: store.setTiddlerTag(titles[i],true,'tagName'); sorry about that! enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: I need something like ToggleTag, but a little bit more
Or, you could take advantage of the onClickAfter powers of the CheckboxPlugin (http://www.tiddlytools.com/##CheckboxPlugin). For example, if you also have the HideWhenPlugin (http:// mptw.tiddlyspot.com/#HideWhenPlugin), you could put something like this in your ViewTemplate: change the tag to assigned: change the tag to completed: change the tag to archived: cmari --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
Thanks a lot for reminding me of how to make the script usable as a clickable button - and the lazy slider solved some other problems I've had with mediacontent, which started to early in IE .. - But I've written this in a tiddler called ListeMakro: var titles=store.getTiddlerText("SomeList").readBracketedList(); for (var i=0; i> For not having this script invoked every > > time you open this tiddler, simply place it in a slider, for example > > NestedSliders: > > > +++ > > > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > > for (var i=0; i > store.setTiddlerTag(titles[i],'tagName',true); // true=set, > > false=clear > > > > === > > To prevent the script from being immediately invoked, you have to use > a "lazy" slider (by adding the "..." syntax), like this: > > +++[click to run]... > > ... > > === > > However, this only invokes the script the first time the slider is > opened. A much better (and simpler) way to defer processing is to use > the label="..." syntax of InlineJavascriptPlugin to create an > 'onclick' script: > > > ... > > > enjoy, > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
I changed 'Tagname' to HoldListeBilleder and all bracketed tiddlertitles were added the tag: "true" After this operation I lost the ability to save the TW and I had to restart... I dont get it ... Antonio -> Erics ChecklistScript |Source|http://www.TiddlyTools.com/#ChecklistScript| Does use toggle all and reset all - in a way that - if it could be combined with fET and sortable table - could provide "Handling of multiple columns and tag toggle check boxes in the one table" ... YS Måns Mårtensson On 28 Aug., 00:12, Måns wrote: > Allright I think I understand - the script needs the tiddler to be > called "SomeList" > Could this be made generic? So I can use my newly created button on > any tiddler in which it is present? > > YS Måns Mårtensson > > On 28 Aug., 00:03, Måns wrote: > > > > > Thanks a lot for reminding me of how to make the script usable as a > > clickable button - and the lazy slider solved some other problems I've > > had with mediacontent, which started to early in IE .. - But > > > I've written this in a tiddler called ListeMakro: > > > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > > for (var i=0; i> [i],'tagName',true); // true=set, false=clear > > > > > and put in a custom viewtemplate (only used for tiddlers tagged with a > > certain tag) like this: > > > > > I should now be able to run the macro on a bracketed list: > > I tried: > > [[12 34]] > > [[56 78]] > > [[910 1112]] > > > But got this error:" TypeError: Cannot call method 'readBracketedList' > > of null" > > I have also tried a list like this: > > 1 > > 2 > > 3 > > 4 > > > - But got the same error. > > > What am I doing wrong? > > > YS Måns Mårtensson > > > On 27 Aug., 21:35, Eric Shulman wrote: > > > > > For not having this script invoked every > > > > time you open this tiddler, simply place it in a slider, for example > > > > NestedSliders: > > > > > +++ > > > > > > > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > > > > for (var i=0; i > > > store.setTiddlerTag(titles[i],'tagName',true); // true=set, > > > > false=clear > > > > > > > > === > > > > To prevent the script from being immediately invoked, you have to use > > > a "lazy" slider (by adding the "..." syntax), like this: > > > > +++[click to run]... > > > > > > ... > > > > > > === > > > > However, this only invokes the script the first time the slider is > > > opened. A much better (and simpler) way to defer processing is to use > > > the label="..." syntax of InlineJavascriptPlugin to create an > > > 'onclick' script: > > > > > > > ... > > > > > > > enjoy, > > > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Ten year diary
POK, Feel free to use it! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
> I've written this in a tiddler called ListeMakro: > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > for (var i=0; i[i],'tagName',true); // true=set, false=clear > > > and put in a custom viewtemplate (only used for tiddlers tagged with a > certain tag) like this: > > > I should now be able to run the macro on a bracketed list: With the script as written above, you must put the bracketed list into a tiddler named "SomeList". You can, of course, change that name in the script to any tiddler you want. To refine the script a bit, you can have it ask for the name of the 'source tiddler' containing the list. Add these two lines to the beginning of the script: var tid=prompt("Please enter the title of a source tiddler"); if (!tid) return; /* cancelled by user */ Then, replace the line following them from: var titles=store.getTiddlerText("SomeList").readBracketedList(); to var txt=store.getTiddlerText(tid); if (!txt) { alert(tid+" not found"); return; } var titles=txt.readBracketedList(); When you click on the "ListT" command link, the script displays a browser dialog box asking for input. If you press cancel, the script exits without doing anything else. Otherwise, it attempts to retrieve the contents of the indicated tiddler. If unsuccessful (i.e., the tiddler doesn't exist), an error is reported and the script exits. If content is retrieved, then the list of titles is extracted from the text and the rest of the script then proceeds as before. enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Problem installing "CollapseTiddlersPlugin"
> Hate to bump my own post, but I think I asked good questions that > others would find helpful to understand. That's quite alright. > As you stated, [[MPTWTheme]] over-rides the default TW core. > So if I want to tweak something (like the definition of ViewToolbar) > that is being defined in the [[MPTWTheme]], I would have to edit that > tiddler. Ideally, I think single-tiddler themes should transclude another StyleSheet tiddler for customizations. That might be the standard StyleSheet, or it might be StyleSheetMyTheme. FWIW, a few months back, I created these samples: http://fnd.lewcid.org/tmp/readOnlyTheme.html http://fnd.lewcid.org/tmp/TiddlyTheming.html However, this doesn't address your issue of toolbar customization. I'm afraid I don't have a simple solution for that. -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: link or popup from toolbar - howto
> >http://www.tiddlytools.com/#CoreTweaks: > > Note: the changes contained in this tiddler are generally applicable for > > version 2.4.3 of TiddlyWiki. Perhaps that should read "version 2.4.3 and above"... > Does this mean that all CoreTweaks have been included into the core of > the newer jQuerry TiddlyWiki versions? A few of the tweaks *have* been added into the core since TW243... I just haven't 'retired' them to the CoreTweaksArchive yet. Most of the tweaks are still relevant to TW253 (the current core version). -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
Allright I think I understand - the script needs the tiddler to be called "SomeList" Could this be made generic? So I can use my newly created button on any tiddler in which it is present? YS Måns Mårtensson On 28 Aug., 00:03, Måns wrote: > Thanks a lot for reminding me of how to make the script usable as a > clickable button - and the lazy slider solved some other problems I've > had with mediacontent, which started to early in IE .. - But > > I've written this in a tiddler called ListeMakro: > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > for (var i=0; i[i],'tagName',true); // true=set, false=clear > > > and put in a custom viewtemplate (only used for tiddlers tagged with a > certain tag) like this: > > > I should now be able to run the macro on a bracketed list: > I tried: > [[12 34]] > [[56 78]] > [[910 1112]] > > But got this error:" TypeError: Cannot call method 'readBracketedList' > of null" > I have also tried a list like this: > 1 > 2 > 3 > 4 > > - But got the same error. > > What am I doing wrong? > > YS Måns Mårtensson > > On 27 Aug., 21:35, Eric Shulman wrote: > > > > > > For not having this script invoked every > > > time you open this tiddler, simply place it in a slider, for example > > > NestedSliders: > > > > +++ > > > > > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > > > for (var i=0; i > > store.setTiddlerTag(titles[i],'tagName',true); // true=set, > > > false=clear > > > > > > === > > > To prevent the script from being immediately invoked, you have to use > > a "lazy" slider (by adding the "..." syntax), like this: > > > +++[click to run]... > > > > ... > > > > === > > > However, this only invokes the script the first time the slider is > > opened. A much better (and simpler) way to defer processing is to use > > the label="..." syntax of InlineJavascriptPlugin to create an > > 'onclick' script: > > > > > ... > > > > > enjoy, > > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
> For not having this script invoked every > time you open this tiddler, simply place it in a slider, for example > NestedSliders: > > +++ > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > for (var i=0; istore.setTiddlerTag(titles[i],'tagName',true); // true=set, > false=clear > > === To prevent the script from being immediately invoked, you have to use a "lazy" slider (by adding the "..." syntax), like this: +++[click to run]... ... === However, this only invokes the script the first time the slider is opened. A much better (and simpler) way to defer processing is to use the label="..." syntax of InlineJavascriptPlugin to create an 'onclick' script: ... enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
Hi Mans, > What is the best method of usig the script? - I don't know how to: > "use an inline script to > iterate over the list of title" ... please educate me.. > You simply put the script in any tiddler, and change "SomeList" to the "TiddlerTitle" of the tiddler which contains your list. The moment you click 'done' and the script is rendered it will have set 'tagName' to all those listed tiddlers. For not having this script invoked every time you open this tiddler, simply place it in a slider, for example NestedSliders: +++ var titles=store.getTiddlerText("SomeList").readBracketedList(); for (var i=0; i
[tw] Re: Ten year diary
Hi and thanks for the tip. It is exactly what I meant, the way you described it. I just hoped that someone else had done it so I woulldn't have to do it myself ;) /POK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: I need something like ToggleTag, but a little bit more
Hi Mel, I think MonkeyTagger does what you want: http://tw.lewcid.org/#MonkeyTaggerMacro Regards.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: link or popup from toolbar - howto
Hi Eric, > An other way would be with Eric's CoreTweak, which allows to > transclude custom commands or popups to the edit toolbar. > > > Try this: > > > First I was surprised you didn't recommend CoreTweak no 610, and than I was surprised even more to read: > > http://www.tiddlytools.com/#CoreTweaks: > > Note: the changes contained in this tiddler are generally applicable for > version 2.4.3 of TiddlyWiki. Does this mean that all CoreTweaks have been included into the core of the newer jQuerry TiddlyWiki versions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Problem installing "CollapseTiddlersPlugin"
Hi Mike, > So if I want to tweak something (like the definition of ViewToolbar) > that is being defined in the [[MPTWTheme]], I would have to edit that > tiddler. > > But if I upgrade the MPTW distribution (per instructions > here:http://mptw.tiddlyspot.com/#Download), I will lose any edits I made to > [[MPTWTheme]] > A simple way to avoid having your customized MPTWTheme tiddler not overwritten with the next update is by renaming it, for example: MyMptwTheme > I understand that MPTW comes with a user tiddler (http:// > mptw.tiddlyspot.com/#MptwUserConfigPlugin) where I can put config > tweaks. But if I already have a systemConfig tiddler called > [[zzDefaultOptions]] with my preferred configuration, I could just as > easily use that. And probably delete the MPTWUserConfigPlugin... > That's right. > Where could I put the code for ViewToolbar (with your added code) so > that it over-rides the MPTW definition? Is that possible? Can I put > it in my [[zzDefaultOptions]]? > There is indeed a way to simply write a plugin which defines the shadowed templates - with the disadvantage that you would have to learn this programming language first - and simply add its code to your zzDefaultOptions systemConfig tagged tiddler. Therefore it's probably easier to simply place your definition the usual way either in the shadowed ToolbarCommands tiddler, and have it transcluded from your custom MyMPTWTheme tiddler. Or the way MPTWTheme tiddler has the toolbar commands in the theme tiddler directly. .. hope that helps you further. > FWIW, a few months back, I created these samples: > http://fnd.lewcid.org/tmp/TiddlyTheming.html That's interesting, Fred. It's the first time I see a single html line do theme switching just as well as any of the plugins. And this script even works with pre jQuerry TiddlyWiki with the only fault, that it also displays theme tiddler. Thanks for showing. Regards.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] TinyChat
Normally I tend to visit tiddlytools from a link from the group. I browsed acorss this today [1] - an embeded chatroom. I think its a great think to put in a wiki. Alex http://www.tiddlytools.com/#TinyChat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
Thanks for the ideas and the script... Eric - how do I use the script and what does it do - I know I ought to understand from your post - but I don't... Can I make a macrobutton for my toolbarcommands - to run it on a tiddler with a lineseperated list? - or is the script not useable untill I have made wikilinks for each white-space separated tiddler title? What is the best method of usig the script? - I don't know how to: "use an inline script to iterate over the list of title" ... please educate me.. YS Måns Mårtensson On 27 Aug., 10:06, Eric Shulman wrote: > > I have a list of tiddlernames (with no common tag or fieldname) which > > I would like to be able to interact with - how do I do that? > > I have lists with tiddlertitles - and I would like to toggle tags or > > fieldnames/values on the tiddlers which they refer to. > > Let's start with a white-space separated tiddler titles, with [[...]] > brackets used as needed around titles that contain spaces, stored in a > tiddler named [[SomeList]]. Then, you can use an inline script to > iterate over the list of titles and set (or clear) any given 'tagName' > on those tiddlers, like this: > > > var titles=store.getTiddlerText("SomeList").readBracketedList(); > for (var i=0; istore.setTiddlerTag(titles[i],'tagName',true); // true=set, > false=clear > > > To set the value of a custom fieldname instead of a tag, use: > store.setValue(titles[i],'fieldname','...value goes here...'); > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Problem installing "CollapseTiddlersPlugin"
Hate to bump my own post, but I think I asked good questions that others would find helpful to understand. Of course, what I think are good questions may be different from what the experts think are good questions... :-) On Aug 25, 9:51 am, MikeS wrote: > that was my hunch, as I was looking through the MPTWTheme... > > Eric, I know you’re not the author of the MPTW distribution, but maybe > you can help clarify my thought-process: > > As you stated, [[MPTWTheme]] over-rides the default TW core. > > So if I want to tweak something (like the definition of ViewToolbar) > that is being defined in the [[MPTWTheme]], I would have to edit that > tiddler. > > But if I upgrade the MPTW distribution (per instructions > here:http://mptw.tiddlyspot.com/#Download), I will lose any edits I made to > [[MPTWTheme]] > > I understand that MPTW comes with a user tiddler (http:// > mptw.tiddlyspot.com/#MptwUserConfigPlugin) where I can put config > tweaks. But if I already have a systemConfig tiddler called > [[zzDefaultOptions]] with my preferred configuration, I could just as > easily use that. And probably delete the MPTWUserConfigPlugin... > > Where could I put the code for ViewToolbar (with your added code) so > that it over-rides the MPTW definition? Is that possible? Can I put > it in my [[zzDefaultOptions]]? > > I’m just trying to understand the “order of operations” when it comes > to TWs... :-) > > On Aug 25, 8:04 am, Eric Shulman wrote: > > > >http://www.tiddlytools.com/#CollapseTiddlersPlugin > > > - installed the "CollapseTiddlersPlugin" tiddler > > > - installed the "CollapsedTemplate" tiddler > > > - edited the "ToolbarCommands::ViewToolbar" tiddler > > > Reloaded my TW and I got nothing :) > > > Here is my TW:http://mjswiki.tiddlyspot.com/index.html > > > Your document is using MPTW customizations. This bypasses all the > > standard ViewTemplate/ToolbarCommands stuff and instead applies > > definitions from a 'systemTheme'-tagged tiddler called [[MPTWTheme]], > > which uses a different syntax for specifying the toolbar items. If > > you can't figure it out, let me know... > > > enjoy, > > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: A few projects I have been working on
Great work! I like your intense orange theme - You ought to share it on tiddlythemes!! It takes some time to look into the taskmanagement - and I look forward to find out how it works. Thank you for sharing. YS Måns Mårtensson On 26 Aug., 04:36, Mike wrote: > In my spare time I have been working on a few projects . . . > I started with my fET Task > Managerhttp://www.strm.us/TidlyWiki/Examples_TWGG/fETTaskManager.html > Which is probably not the best task manager out, but it is a good > resource of examples for the ForEachTiddlerPlugin > > Then I created my Javascript Task > Managerhttp://www.strm.us/TidlyWiki/Examples_TWGG/IJSTaskManager.html > Which is probably not the best task manager out (again), but it is a > good resource of examples for the InlineJavacriptPlugin & > MatchTagsPlugin > > Finally I created my own layout (very > recently)http://www.strm.us/TidlyWiki/NewLayout.html > (Heavily Influenced by MPTW & TiddlyTools) > > I am most proud of the layout (my first attempt) which is strange > because it didn't require the learning curve of the previous (2) > projects. > > I just wanted to share, all of the above are side projects, please > feel free to pick through them as you wish. I am not a programmer, > more of a TW enthusiast. > > Thanks, > > Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to delete a post when using DisscussionPlugin + CommentPlugin?
Great! It works fine now, thank you very much for your help! On 27 Aug, 09:35, Eric Shulman wrote: > > I use DiscussionPlugin and CommentPlugin together, everything works > > fine except that I can´t find out how to delete posted items? I found > > them in edit mode when just using CommentPlugin but after importing > > DiscussionPlugin I cant find it. A silly question maybe but i Really > > can´t find it. > > First of all I just want to delete items but secondly I wonder if > > there is a way to add a "delete-button" somewhere so that users can > > delete their posts if they want to? > > DiscussionPlugin puts each comment into a separate tiddler, tagged > with both 'comment' and 'excludeList' (i.e., a 'hidden tiddler'). You > can use <> to quickly view a popup list of these > tiddlers. To remove a comment from the discussion, delete the > corresponding comment tiddler and then refresh the discussion view. > > from DiscussionPluginInfo: > > config.macros.discussion.titlefmt="_%UTC%%random%"; > When comments are entered, they are written into separate target > tiddlers whose titles are constructed by appending a generated suffix > to the title of the tiddler containing the <> macro. By > default, this suffix contains the current UTC timestamp (e.g., > MMDD.HHMMSSMMM) plus a randomly generated number (e.g., . > 123456789) to ensure that all target tiddlers have unique titles while > also associating each comment with the specific discussion summary. > The suffix is specified by using substitution markers, where: %UTC > %=the UTC timestamp, %random%=a random decimal number, %who%=username, > and %subject% is the subject text entered into the comment form. > > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: 1. Javascript error message (in error) 2. New Projects in Get Team Tasks
> I'm testing several flavors of TW - both for personal use - and hoping > to find the flavor most adaptable for community-based disaster-risk- > management/response organizations. Sounds interesting! > 1.in several TW flavors/variants - I get a Javascript error (file > "failed to save") at the same time as I get the message that the file > HAS saved. Since changes DO seem to be saving, how do I disable the > erroneous Javascript alert? I don't remember having come across similar reports before. Can you provide some more details (e.g. OS and browser version): http://tiddlywiki.org/wiki/Troubleshooting > 2. In Team Tasks [...] Is there a "new project" tiddler/link If I remember correctly, a project in TeamTasks is just an entry in ScopeDefinitions, which can then be selected from tasks' drop-down list. -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: link or popup from toolbar - howto
> Often help is needed in the editTempate at the stage when a tiddler is being > produced with specific tags from a custom newTiddler macro. > A tiddler produced with a <> might need help specific > for that class of tiddler. > The 'context sensitive with fallback' is working well. > Skye, asked "is it possible use tiddler.tags instead of tiddler.title in > this code" : I think that it would be really useful. Try this: Translation: 1) get the current tiddler's title. note: because a new tiddler is being edited, no tiddler *object* exists yet, so we have to fetch the *tentative* tiddler title from the tiddler editor's containing DOM element. 2) get the tags for this new tiddler. Since no tiddler *object* exists, we can't use 'tiddler.isTagged(...)' to test for tags, and have to read the value from the tags input field. One problem: the macro is using story.getTiddlerField(title,"tags"), which needs to occur *after* the tags input field itself is rendered. To make this work, the 'help' toolbar item would have to be displayed at the bottom of the tiddler :-(... 3) loop over the tags to find a tiddler called 'sometagHelp'. If it exists, use that title for the help content, otherwise, use the default 'Help' tiddler. This might not be a 100% solution (yet), but it should be close. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to perform 'batch' functions on a list of tiddlernames?
> I have a list of tiddlernames (with no common tag or fieldname) which > I would like to be able to interact with - how do I do that? > I have lists with tiddlertitles - and I would like to toggle tags or > fieldnames/values on the tiddlers which they refer to. Let's start with a white-space separated tiddler titles, with [[...]] brackets used as needed around titles that contain spaces, stored in a tiddler named [[SomeList]]. Then, you can use an inline script to iterate over the list of titles and set (or clear) any given 'tagName' on those tiddlers, like this: var titles=store.getTiddlerText("SomeList").readBracketedList(); for (var i=0; i
[tw] Re: Customizing TidIDE
> Is it possbile to customize the color of the buttons - new, remove, > save, save as, open, run, preview - in the TidIDE Editor? Get the latest update (v1.8.4) to the plugin: http://www.TiddlyTools.com/#TidIDEPlugin This revision sets a CSS classname, 'tidIDEPanel', on the container element that encloses each instance of the TidIDE controls. This allows you to add custom CSS rules in your [[StyleSheet]], like this: .tidIDEPanel input[type='button'] { ... } enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: How to delete a post when using DisscussionPlugin + CommentPlugin?
> I use DiscussionPlugin and CommentPlugin together, everything works > fine except that I can´t find out how to delete posted items? I found > them in edit mode when just using CommentPlugin but after importing > DiscussionPlugin I cant find it. A silly question maybe but i Really > can´t find it. > First of all I just want to delete items but secondly I wonder if > there is a way to add a "delete-button" somewhere so that users can > delete their posts if they want to? DiscussionPlugin puts each comment into a separate tiddler, tagged with both 'comment' and 'excludeList' (i.e., a 'hidden tiddler'). You can use <> to quickly view a popup list of these tiddlers. To remove a comment from the discussion, delete the corresponding comment tiddler and then refresh the discussion view. from DiscussionPluginInfo: config.macros.discussion.titlefmt="_%UTC%%random%"; When comments are entered, they are written into separate target tiddlers whose titles are constructed by appending a generated suffix to the title of the tiddler containing the <> macro. By default, this suffix contains the current UTC timestamp (e.g., MMDD.HHMMSSMMM) plus a randomly generated number (e.g., . 123456789) to ensure that all target tiddlers have unique titles while also associating each comment with the specific discussion summary. The suffix is specified by using substitution markers, where: %UTC %=the UTC timestamp, %random%=a random decimal number, %who%=username, and %subject% is the subject text entered into the comment form. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---