[tw] [TW5] some widget attributes doesn't work
In order to experiment with the edit widget, I tried: $edit-text tiddler=$:/SVGExampleRadius/ then $edit tiddler=$:/SVGExampleRadius/ The first displays a textarea with the content of the $:/SVGExampleRadius tiddler. The second displays a textarea with the content of the current tiddler, despite the presence of the tiddler attribute. I also did'nt manage to make the class, style and tooltip attributes of the transclude widget work. Maybe it is only that I didn't use them well, or are they deprecated (as between alpha10 and alpha14, these same features were no longer possible with the transclusion notation {{ }} ) ? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] [TW5] some widget attributes doesn't work
Hi Julie Gosh, that's great thank you - a silly typo on my part. It's now fixed on master, and will be part on 5.0.1alpha in a day or two: https://github.com/Jermolene/TiddlyWiki5/commit/b37a139aa7d8208972caa145ad518f19a967b1bf Many thanks, Jeremy On Thu, Dec 5, 2013 at 10:35 AM, Evolena julie.strzele...@gmail.com wrote: In order to experiment with the edit widget, I tried: $edit-text tiddler=$:/SVGExampleRadius/ then $edit tiddler=$:/SVGExampleRadius/ The first displays a textarea with the content of the $:/SVGExampleRadius tiddler. The second displays a textarea with the content of the current tiddler, despite the presence of the tiddler attribute. I also did'nt manage to make the class, style and tooltip attributes of the transclude widget work. Maybe it is only that I didn't use them well, or are they deprecated (as between alpha10 and alpha14, these same features were no longer possible with the transclusion notation {{ }} ) ? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: [TW5] Issues saving on Linux
TW5 has no automatic saving when you cllick done after editing a tiddler. Try this: Download an empty.html rename it to test1.html open test1.html - Now there should be a dialog from TiddlyFox, that asks permission to save the TW. (May be you said no for empty.html). If there is no dialog, something is wrong with the TiddlyFox installation. edit a tiddler - done press save button - There should be the notification - There should be no save file as system dialog. hope this helps -mario -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
On Thursday, December 5, 2013 4:10:18 AM UTC+1, James Weaver wrote: Thanks Jonas. Will it work with TW5? nope -m -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] TW5 Clock
Well, I found setTimeout(), setInterval(), clearTimeout(), and clearInterval() which are supported by node.js but I'm trying to access the computer's internal clock using what? It's just javascript? I'm confused as to what language to use to program a widget in TW5? Does it matter if I'm using TW5 stand alone edition or if it is shared via an actual node.js install? Sent from my Samsung Epic™ 4G TouchJeremy Ruston jeremy.rus...@gmail.com wrote:Hi Andrew There's no native way to build a clock in TW5, so your best bet is probably to include the clock via an iframe. There are websites offering clocks designed to be embedded that you could use. In the future, the combination of a couple of planned features should make it possible to create a clock entirely within TW5. The missing features are the ability for widgets to refresh themselves at a time interval, and a way to assign the current time to a variable. Best wishes Jeremy On Sun, Dec 1, 2013 at 4:53 PM, Andrew Harrison andrew.j.harriso...@gmail.com wrote: Is there a way to access the computer internal clock? Would that be a widget? I wanted to put a clock button with seconds in my top menu like I have in TWC. Any suggestions? Sent from my Samsung Epic™ 4G Touch -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] TW5 Clock
Hi Andrew On Thu, Dec 5, 2013 at 1:42 PM, Andrew Harrison andrew.j.harriso...@gmail.com wrote: Well, I found setTimeout(), setInterval(), clearTimeout(), and clearInterval() which are supported by node.js but I'm trying to access the computer's internal clock using what? You can get the current time and date in JS in both the browser and under node.js with: var date = new Date(); It's just javascript? I'm confused as to what language to use to program a widget in TW5? Does it matter if I'm using TW5 stand alone edition or if it is shared via an actual node.js install? Widgets are a specific type of javascript module within TW5. The same widgets run in the single version and on the server. The easiest way I can see to accomplish a clock would be a widget that used setInterval to update a special tiddler with the current time at intervals. Then, whereever you want a clock you'd just transclude that special tiddler. Best wishes Jeremy Sent from my Samsung Epic™ 4G Touch Jeremy Ruston jeremy.rus...@gmail.com wrote: Hi Andrew There's no native way to build a clock in TW5, so your best bet is probably to include the clock via an iframe. There are websites offering clocks designed to be embedded that you could use. In the future, the combination of a couple of planned features should make it possible to create a clock entirely within TW5. The missing features are the ability for widgets to refresh themselves at a time interval, and a way to assign the current time to a variable. Best wishes Jeremy On Sun, Dec 1, 2013 at 4:53 PM, Andrew Harrison andrew.j.harriso...@gmail.com wrote: Is there a way to access the computer internal clock? Would that be a widget? I wanted to put a clock button with seconds in my top menu like I have in TWC. Any suggestions? Sent from my Samsung Epic™ 4G Touch -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] TW5 Clock
On Thursday, December 5, 2013 2:42:56 PM UTC+1, infernoape wrote: Well, I found setTimeout(), setInterval(), clearTimeout(), and clearInterval() which are supported by node.js but I'm trying to access the computer's internal clock using what? It's just javascript? I'm confused as to what language to use to program a widget in TW5? Does it matter if I'm using TW5 stand alone edition or if it is shared via an actual node.js install? Imo it also depends on your usecase. eg: If you just want to show the actual time somewhere, the iframe solution jeremy suggested, imo would be the best solution. If you want to click the watch and record some start / stop timestamps to eg: track working hours, imo it would be the best idea to just get the actual time / date if you click a start or stop button . So if you can describe your usecase a bit closer, we may be able to point you in the right direction, that fits your usecase, instead of guessing your usecase. -mario -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] TWC: Start ordered list starting at a given number?
Searched, without results. So here's my question: I'd like to start an ordered list (wikimarkup: #) at a certain number, like say 5 instead of 1. How do I do that? I'm sure there's a one-line javascript inclusion I could do ... if I knew what it was ... Thanks! -- David -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Creating a breadcrumb list of tags
I believe you will have problems due to the limitations in tagging. Tagging is like a link to another tiddler but that link carries not properties to describe why it is linked. You can definitely create a list filter which would give you the results you want, but only if LatvianGambit is only tagged by chess and chess is only tagged by board-games and board-games is only tagged by games. Actually, that isn't true. :-) There are other ways but they get pretty complicated. If you have a hierarchy you know ahead of time you could make a predefined list (see the ListField tiddler at five.tiddlywiki.com) of all board games, and a list of all games, and assuming LatvianGambit tags only one board game, chess; and chess tags only one type of game, board-games; you might still be able to create a list filter that will return the result you want, chess out of a list such as chess, checkers, candy-land... And in the same way build your list up the hierarchy. Maybe the ListWidget page of five.tiddlywiki.com will help. There are two nested list examples there. I have been trying to use fields, instead of tags, to define relationships between tiddlers but I want the field name and field value to also be tiddlers and haven't figured out how to put all of that together yet. My goal would be to have RDF style N-triples. Joshua On Wednesday, December 4, 2013 2:23:02 PM UTC-6, James Weaver wrote: I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] [TW5] Possible to sum fields?
Jeremy, I think my TWtcalc plugin can help on this (see http://twtable.tiddlyspace.com/#TWtcalc--Example--IF_and_COUNT for an example). It has a simple parser that recognizes predefined function names (aliases possible) and does calculations according to their definitions. It is currently equipped with about 15 predefined functions, including sum, avg, etc., and is quite easy to extend. Currently it works on TiddlyWiki tables using the OpenOffice.calc/Excel like syntax, but I think to accomplish what's mentioned in the ticket, the followings would do: 1. take the core functions (parser and evaluator) that work on plain text, maybe modify the syntax analyzer to work with the fields things; 2. take the predefined function set, reduce/modify to work with fields; 3. design the syntax and modify the codes that handles fields to make use of the functions taken in step 1 (most likely only one is needed, the TWtcalc.evaluate(txt, start [,...]) function) Step 1 and 2 are easy for me, just need to know how to take values from fields. If some one can do step 3 then it should be done. Have fun! Vincent On Wednesday, December 4, 2013 10:02:46 PM UTC+8, Jeremy Ruston wrote: Hi Jeff None of that is implemented today, but is planned. Your examples are very useful, so I've transferred them to a ticket: https://github.com/Jermolene/TiddlyWiki5/issues/254 Many thanks Jeremy. On Tue, Dec 3, 2013 at 9:34 PM, chis...@gmail.com javascript: wrote: In TW5, is it possible to sum the values of a field from multiple tiddlers? Something like: title: Project Finances [tag[expense]sum[cost]] -- 150 --- title: Expense A tag:expense cost:100 --- title: Expense B tag:expense cost:50 In general, is there (will there be) operators for (numerical) fields such as sum, average, greater than, less than, equal to, etc? Just throwing out more ideas that come to mind: title: Project Finances Budget:200 expenseA:100 expenseB:50 expenseC:200 {{expenseA + expenseB}} -- 150 or [title[Project Finances]sum[expenseA, expenseB]] -- 150 or [title[Project Finances]sum[fieldsearch[expense*]]] -- 350 or [title[Project Finances]avg[expenseA, expenseB]] -- 75 or [title[Project Finances]calc[Budget - sum[expenseA, expenseB]]] -- 50 -Jeff -- 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 tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] [TW5] Templating?
I think I remember that I once saw instructions or a video which showed how to automatically have a tiddler be displayed using a defined template. I can't remember whether it was for TW5 or TWC (I hope TW5). I also can't remember how this was achieved. What I like to do is: I have a class of tiddlers which should display certain Elements (buttons, fieldcontent) at given positions. At the moment I put a macro at the begining but this only allows for displaying my stuff at the beginning. I'd like to be more flexible. I would be very thankful for any hint. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] [TW5] Templating?
I think it would have been TWC, where there is a popular plugin from Eric that selects the template for each displayed tiddler according to tags and other critiera. In TW5 the closes equivalent would be to define a new slice of the ViewTemplate that only displays itself when relevant to the tiddler being displayed. In this way one can augment the default template, rather than totally replacing it. If you wanted to remove any of the default viewtemplate slices you'd just overwrite the relevant shadow tiddlers with a new template that is selective. To selectively hide things you can use the $reveal widget or the $list widget with the [limit[1]] trick that came up a few days ago. Best wishes Jeremy On Thu, Dec 5, 2013 at 3:21 PM, Stephan Hradek stephan.hra...@gmail.comwrote: I think I remember that I once saw instructions or a video which showed how to automatically have a tiddler be displayed using a defined template. I can't remember whether it was for TW5 or TWC (I hope TW5). I also can't remember how this was achieved. What I like to do is: I have a class of tiddlers which should display certain Elements (buttons, fieldcontent) at given positions. At the moment I put a macro at the begining but this only allows for displaying my stuff at the beginning. I'd like to be more flexible. I would be very thankful for any hint. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: TWC: Start ordered list starting at a given number?
Hmm. Yes, that's good, thanks. But: this css element (counter-reset) takes an argument which is the number at which you wish the list to start from. So ... unless I define a new css class for each new starting number ... I'm not sure how I use it. I wrapped my entire #-ordered list in an @@-@@ section but that didn't work. On Thu, Dec 5, 2013 at 7:29 AM, Stephan Hradek stephan.hra...@gmail.comwrote: It can be done using CSS: http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] [TW5] Templating?
I think I got it! It goes somehow along these lines ($:/core/ui/ViewTemplate/body): $reveal field=template type=match text=mytemplate div class=myheaderspan({{!!chapter}}-S{{!!section}}-{{!!target}}) /spanspan{{!!list}}/span/div div class=body $transclude / /div !-- some more stuff-- /$reveal $reveal field=template type=match text= div class=body $transclude / /div /$reveal -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] [TW5] Templating?
Yes, cool. I think it's better practice to augment the default view template chunks rather than replace them, if that works in your application (you can rearrange the chunks by editing the list field of $:/tags/ViewTemplate) Best wishes Jeremy On Thu, Dec 5, 2013 at 4:18 PM, Stephan Hradek stephan.hra...@gmail.comwrote: I think I got it! It goes somehow along these lines ($:/core/ui/ViewTemplate/body): $reveal field=template type=match text=mytemplate div class=myheaderspan({{!!chapter}}-S{{!!section}}-{{!!target}}) /spanspan{{!!list}}/span/div div class=body $transclude / /div !-- some more stuff-- /$reveal $reveal field=template type=match text= div class=body $transclude / /div /$reveal -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Getting field values
Sorry if this has been asked already but I just spent 20 minutes searching and couldn't find it... How would I grab the value of a field in the current tiddler to use in a filter? For example, I want to set up a list of tiddlers that are tagged with the the current tiddlers field value. So, if I am using the current TW5 site, I could create a new tiddler and put this in it: $list filter=[[concepts]tagging[]]/ To get a list of all the tiddlers that have the concepts tag. Now what if I had a field on my new tiddler with the value 'concepts'. How would I pull that into my list filter instead of writing out 'concepts'? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Getting field values
Hi Matt On Thu, Dec 5, 2013 at 5:17 PM, Matt4 clubsav...@gmail.com wrote: Now what if I had a field on my new tiddler with the value 'concepts'. How would I pull that into my list filter instead of writing out 'concepts'? Try this: $list filter=[{!!fieldName}tagging[]]/ Changing the inner square brackets of a filter operation to curly braces causes the operand to be indirected through a text reference. For these purposes a text reference is an optional tiddler title, an optional double !! and an optional fieldname. Omitting the tiddler title defaults to the current tiddler. So the example selects the tiddler title in the field fieldName of the current tiddler, and then retrieves all the tiddlers tagged with that tiddler title. I hope that helps, Best wishes Jeremy -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Getting field values
Ok, that worked (thanks). Now, what if I wanted to go another level. So within that filter I want to list tiddlers that have a tag of the current tiddlers !!tutorialapplicationmaster field? So with your example below I can write $list filter=[{!!tutorialapplicationmaster}tagging[]each[tutorialcategory]] ''$view field=tutorialcategory/'' /$list and I will get the category for all the tiddlers that have the current tiddlers !!tutorialapplicationmaster value. Now I want to show each tiddler in each category that has a tag with the value of same !!tutorialapplicationmaster field. It will work if I use the following: $list filter=[tutorialcategory{!!tutorialcategory}!is[system]sort[title]tag[ *Blender*]] I want to replace *Blender* with the current *!!tutorialapplicationmaster*field value. On Thursday, December 5, 2013 9:17:51 AM UTC-8, Matt4 wrote: Sorry if this has been asked already but I just spent 20 minutes searching and couldn't find it... How would I grab the value of a field in the current tiddler to use in a filter? For example, I want to set up a list of tiddlers that are tagged with the the current tiddlers field value. So, if I am using the current TW5 site, I could create a new tiddler and put this in it: $list filter=[[concepts]tagging[]]/ To get a list of all the tiddlers that have the concepts tag. Now what if I had a field on my new tiddler with the value 'concepts'. How would I pull that into my list filter instead of writing out 'concepts'? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Creating a breadcrumb list of tags
Thanks, Evolena and Joshua. I'll give that a try. @Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: [TWC] how to get a tiddder's alias with $1
Hi all Thank you for your help WikifyPlugin Not knowing when I will migrate to TW5 I prefer not rely too much on plugins tiddler ADU with: {{store.getValue(SomeTitle,alias)}} would be fine but - it does not take account of changes made to SomeTiddler until page is refresher. - if there are alias duplicates there is a problem I had the same problem using tiddler ADU with: SomeTiddlerAlias Then I will use this one : tiddler ADU with: SomeTitle {{store.getValue(SomeTitle,alias)}} slightly modified : [[$2|$1]] (=tiddler [[$1::defaultValue]]tiddler [[$1::valueUnit]]) to be more robust against alias duplicates Thank all Le mercredi 4 décembre 2013 22:24:05 UTC+1, Eric Shulman a écrit : On Wednesday, December 4, 2013 9:47:46 AM UTC-8, julien23 wrote: [[ADU]] with this code inside : [[$1|$1]] (=tiddler [[$1::defaultValue]]tiddler [[$1::valueUnit]]) and I call it in other tiddlers using : tiddler ADU with: theTidlerThatHaveValuesInside What code should à use in [[ADU]] to fetch the tiddler's alias ? I made some try around store.getValue(tiddler,alias) but haven't found the correct syntax yet... Tiddler aliases are not a standard TWCore tiddler field, so I assume you are using a plugin to add 'alias' as a custom field to your tiddlers. Using store.getValue(tiddler,alias) lets you programmatically access the custom field value from javascript code. However, there is no TWCore native method for *directly* inserting a custom field value into the rendered tiddler display. However, if you don't mind installing another plugin, there is an approach that may close to what you have in mind. http://www.TiddlyTools.com/#WikifyPlugin provides a simple macro that constructs and renders formatted output based on specified macro parameter values. Using this macro, you can insert the custom field value directly into the displayed content in [[ADU]], like this: wikify [[%0|%0]] alias@$1 (=tiddler [[$1::defaultValue]]tiddler [[$1::valueUnit]]) The first param of the wikify macro is the output format using %0 as a substitution marker. In this example, it constructs a PrettyLink ([[...|...]]) from the value specified by the second param, which it retrieves from the indicated fieldname@tiddlername (in this example, using $1 to insert the tiddler name passed to [[ADU]]). If you prefer not to add WikifyPlugin to your document, you can use *evaluated parameters* to invoke the necessary javascript code from the calling tiddler macro... like this: tiddler ADU with: {{store.getValue(SomeTitle,alias)}} which will pass in the alias instead of the real tiddler title. However... for your specific use case, you may need to pass *both* the real tiddler title and the alias... so that the slice references inside the [[ADU]] tiddler will still work: tiddler ADU with: SomeTitle {{store.getValue(SomeTitle,alias)}} where [[ADU]] is modified to use $1 and $2 substitution markers: [[$2|$2]] (=tiddler [[$1::defaultValue]]tiddler [[$1::valueUnit]]) (this allows the alias to be displayed as the link, while still using the actual tiddler title to retrieve slice values). enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios EVERY DONATION IS IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: How to repair damaged Tiddlywiki?
Try saving and importing into a new TW5 file. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: [TW5] Issues saving on Linux
Hmm, not sure why it's not working then. Maybe it's something wrong with TiddlyFox. I get the permission dialog like you mentioned. I also see the message saying the the wiki saved when I click on the save button. But, if I close the page and then reopen it the new tiddlers are gone. I just now noticed that the TiddlyFox menu item under Tools is red. On Thursday, December 5, 2013 6:26:36 AM UTC-5, PMario wrote: TW5 has no automatic saving when you cllick done after editing a tiddler. Try this: Download an empty.html rename it to test1.html open test1.html - Now there should be a dialog from TiddlyFox, that asks permission to save the TW. (May be you said no for empty.html). If there is no dialog, something is wrong with the TiddlyFox installation. edit a tiddler - done press save button - There should be the notification - There should be no save file as system dialog. hope this helps -mario -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. attachment: Screenshot.png
[tw] Re: [TW5] Issues saving on Linux
I should mention, however, that when I use TWC it saves OK. On Thursday, December 5, 2013 6:26:36 AM UTC-5, PMario wrote: TW5 has no automatic saving when you cllick done after editing a tiddler. Try this: Download an empty.html rename it to test1.html open test1.html - Now there should be a dialog from TiddlyFox, that asks permission to save the TW. (May be you said no for empty.html). If there is no dialog, something is wrong with the TiddlyFox installation. edit a tiddler - done press save button - There should be the notification - There should be no save file as system dialog. hope this helps -mario -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] How can I make my [twc] page read only?
Hi, I just created my first TiddlyWiki page, and want to put it up on the local server so fellow employees where I work can access it. Please forgive my ignorance but I have a few questions which I hope someone can assist me with: 1. Can I set the page that only myself, and two others, can edit the page, but anyone else who accesses the page will only be able to read the pages and click on the links but not add/subtract/modify anything? If so, how do I set the permissions? 2. Can i set the page so that only myself and the other editors can see the sidebar with options to Save changes, see the timeline and tags, but the sidebar will only have the option to Search and perhaps Close all for all other viewers? If so, how do I do this as well? Thank you. Zane -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: [TW5] Issues saving on Linux
Hi Michael Strange. It's conceivable that another Firefox extension is interfering with things; maybe try disabling any others? The wiki saved notification means that TW5 is managing to pass the save request to TiddlyFox, and getting the expected response back. So that means that TiddlyFox is at least partly working. One possibility is that TW5 is encoding the file path wrongly. Can you experiment with trying to save the TW5 in different locations? Best wishes Jeremy On Fri, Dec 6, 2013 at 3:26 AM, Michael Smith mykal.sm...@gmail.com wrote: I should mention, however, that when I use TWC it saves OK. On Thursday, December 5, 2013 6:26:36 AM UTC-5, PMario wrote: TW5 has no automatic saving when you cllick done after editing a tiddler. Try this: Download an empty.html rename it to test1.html open test1.html - Now there should be a dialog from TiddlyFox, that asks permission to save the TW. (May be you said no for empty.html). If there is no dialog, something is wrong with the TiddlyFox installation. edit a tiddler - done press save button - There should be the notification - There should be no save file as system dialog. hope this helps -mario -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
@Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? I'm hoping that a fair amount of what's needed is already there. The key to displaying potentially recursive graphs is to use click-to-reveal to expand child nodes, rather than trying to expand the whole tree in one go. All child tiddlers of the current tiddler (ie tiddlers tagged with the current tiddler): [is[current]tagged[] Parent tiddler of the current tiddler (ie tiddler title in the parent field): [{!!parent}] Best wishes Jeremy Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Getting field values
Hi Matt I think what you need is this: $list filter=[tutorialcategory{!!tutorialcategory}!is[system]tag{!!tutorialapplicationmaster}sort[title]] Note that I moved the sort operator to the end of the list; it will be marginally faster to sort the titles after filtering them. Best wishes Jeremy On Thu, Dec 5, 2013 at 6:34 PM, Matt4 clubsav...@gmail.com wrote: Ok, that worked (thanks). Now, what if I wanted to go another level. So within that filter I want to list tiddlers that have a tag of the current tiddlers !!tutorialapplicationmaster field? So with your example below I can write $list filter=[{!!tutorialapplicationmaster}tagging[]each[tutorialcategory]] ''$view field=tutorialcategory/'' /$list and I will get the category for all the tiddlers that have the current tiddlers !!tutorialapplicationmaster value. Now I want to show each tiddler in each category that has a tag with the value of same !!tutorialapplicationmaster field. It will work if I use the following: $list filter=[tutorialcategory{!!tutorialcategory}!is[system]sort[title]tag[ *Blender*]] I want to replace *Blender* with the current *!!tutorialapplicationmaster*field value. On Thursday, December 5, 2013 9:17:51 AM UTC-8, Matt4 wrote: Sorry if this has been asked already but I just spent 20 minutes searching and couldn't find it... How would I grab the value of a field in the current tiddler to use in a filter? For example, I want to set up a list of tiddlers that are tagged with the the current tiddlers field value. So, if I am using the current TW5 site, I could create a new tiddler and put this in it: $list filter=[[concepts]tagging[]]/ To get a list of all the tiddlers that have the concepts tag. Now what if I had a field on my new tiddler with the value 'concepts'. How would I pull that into my list filter instead of writing out 'concepts'? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.