[tw5] TW5 Looking for Mat's side editor

2019-08-04 Thread Jon
Hi Mat, I remember you developed a mini editor in the side bar. I've looked through the threads and it seemed that this fastnewdev.tiddlyspot.com , was the latest iteration bu

Re: [tw5] Re: TW5 Sortable Tables

2019-08-04 Thread Max Schillinger
Have you reloaded the page after editing the tiddler? I only tried it using the WikiText syntax. -- 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+unsubs

[tw5] Re: A wiki to write stories (in spanish)

2019-08-04 Thread 'Mark S.' via TiddlyWiki
On Sunday, August 4, 2019 at 3:46:03 PM UTC-7, TonyM wrote: > > > Ahh the opportunities Netflix presents > > > Making the world smaller since 1997. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receivin

[tw5] Re: A wiki to write stories (in spanish)

2019-08-04 Thread Mohammad
Great Job while I cannot read Spanish! So, I had to open and understand it using Google Translate! Soon, I will publish a timelines plugin and you may like to use it with this nice wiki! Cheers Mohammad On Friday, August 2, 2019 at 3:59:39 PM UTC+4:30, Luis Gonzalez wrote: > > This days I'm cus

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread Mohammad
Thanks Jeremy! Thank you all! By the way I recommend to add a hint somewhere about this in documentation tiddlers. Interestingly the year digits if starts with 01 returns year 100, but if starts with 00 returns year 1900 On Sunday, August 4, 2019 at 10:00:18 PM UTC+4:30, Jeremy Ruston wrote:

[tw5] Re: Filtering from command line

2019-08-04 Thread TonyM
Diego, So we assume Node? - If it were documented it should be here https://tiddlywiki.com/?home#Commands - Also since tiddlers are files on node you could use something in the operating system to search and filter - Also the below may be able to be activated from the command lin

[tw5] Filtering from command line

2019-08-04 Thread Diego Mesa
Hello, Is it possible to use the filter syntax to return a list of tiddler titles from the command line? -- 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 tiddlyw

[tw5] Re: TW5 Sortable Tables

2019-08-04 Thread TonyM
Max, My HTML table is not responding to this Have you any experience with that and tiddlywiki Regards Tony On Monday, August 5, 2019 at 8:05:41 AM UTC+10, TonyM wrote: > > Max > > This is a great solution. I plan to use it right away. The source site has > a lot more information. > > Lookin

[tw5] Re: A wiki to write stories (in spanish)

2019-08-04 Thread TonyM
Mark, I watched "El Ministerio del Tiempo" (with subtitles), as well. I enjoyed the humor as well which was great to get some insight to spanish history and heros. Ahh the opportunities Netflix presents Tony On Monday, August 5, 2019 at 8:31:07 AM UTC+10, Mark S. wrote: > > That's a very attr

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread TonyM
Mark, But did the Mayan Calendar not end in recent years - thus the belief the world was coming to an end? At least I think it started a new cycle. Tony On Monday, August 5, 2019 at 8:16:31 AM UTC+10, Mark S. wrote: > > I did try 0001 -- dates before 0099 get converted to 1899. > > Maybe we s

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread MagoArcade
On Sunday, 4 August 2019 18:30:18 UTC+1, Jeremy Ruston wrote: > > In this case, we’re calling Date.UTC(0,0,0,0,0,0,0), which happens to > return Sun Dec 31 1899 00:00:00 GMT+ (Greenwich Mean Time) > Hey - that's when I was born! Things were so much simpler then... -- You received this mess

[tw5] Re: A wiki to write stories (in spanish)

2019-08-04 Thread 'Mark S.' via TiddlyWiki
That's a very attractive setup you have created ! Perhaps you might consider adding "timeline" as well as people and places. Just finished binge watching "El Ministerio del Tiempo" (with subtitles, por supuesto), and thinking how hard it must have been for the writers to keep track of the variou

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread 'Mark S.' via TiddlyWiki
I did try 0001 -- dates before 0099 get converted to 1899. Maybe we should switch to the Mayan calendar. They could track dates back to the 5th century BC. On Sunday, August 4, 2019 at 2:32:32 PM UTC-7, TonyM wrote: > > I belive it has being very common to calculate dates based on 1900 01 01 >

[tw5] Re: TW5 Sortable Tables

2019-08-04 Thread TonyM
Max This is a great solution. I plan to use it right away. The source site has a lot more information. Looking at the source site I think it would not be right to pull it from his address every time its used. He Actualy asks you to copy it locally. I think we may be able to place the whole scr

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread TonyM
I belive it has being very common to calculate dates based on 1900 01 01 of which the result above is the day before. Years come with leap days and some centuries turn over without a leap day. As a result to be accurate over a long period is quite involved. Try any date except 0, perhaps 000100

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
Brilliant, Mark - I'd never have thought of that given that it's using field manipulation on essentially tiddler text. That's some esoteric TiddlyWIki knowledge you got there! Thanks again. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To un

[tw5] Lock an entire 'section' of a wiki?

2019-08-04 Thread kat
I use one big wiki for everything, rather then several smaller ones. I plan to use it for a project along side other people, but there is stuff in my wiki (journal, personal notes etc) that I would like to be protected by a password. Is there any way to require a password to access anything des

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread 'Mark S.' via TiddlyWiki
The listops widget was made for adding items to a list field or index value. But since you're adding items like myindex=myindex, there isn't really a list field to manipulate. Or rather, the list will always contain just one item. Using the action-listop widget with the $filter attribute, I thi

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
I tried it with both - no difference. -- 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 view this discussion on the web v

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread 'Mark S.' via TiddlyWiki
I notice that your action-listops for deletion doesn't specify an index attribute. Could that be the problem? On Sunday, August 4, 2019 at 12:30:58 PM UTC-7, MagoArcade wrote: > > I'm writing a data tiddler editor, just with add and delete. Can;'t get > delete working. Code below: > > !Edit Rel

[tw5] Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
I'm writing a data tiddler editor, just with add and delete. Can;'t get delete working. Code below: !Edit Relationship Types Existing Types: <$list filter="[[$:/_DTrelTypes]indexes[]sort[title]]" variable="key"> ''Add New:'' <$edit-text tiddler="$:/temp/EditRelTypes" field="newreltype

[tw5] RESOLVED: "Favicon is not displayed"

2019-08-04 Thread oleghbond
Returning to the earlier discussion "Favicon is not displayed" I'm glad to inform the community - the issue has just been resolved. Somehow, I noticed the difference between html-codes in cases when favicon is displayed

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread 'Mark S.' via TiddlyWiki
Edit for those using mail: I can understand defaults for day of month and month of year, but puzzled why it shouldn't work with *year* 0001. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread 'Mark S.' via TiddlyWiki
It seems like it's using it's own default for the century for anything before AD 99. I can understand defaults for day of month and month of year, but puzzled why it shouldn't work with 0001. Thanks! On Sunday, August 4, 2019 at 10:30:18 AM UTC-7, Jeremy Ruston wrote: > > Hi Mohammad > > Tidd

[tw5] Re: The i18n macro, for those who wants a multilingual wiki

2019-08-04 Thread oleghbond
Thanks Sylvian for the i18n macro. I've got an idea to equip some of my open TW resources with multilingual capabilities. The demonstration of your site looks simple and convincing. However, in practice I stumbled immediately. I dragged-and-dropped the i18n macro into my test monolingual (EN)

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread Jeremy Ruston
Hi Tony > Html is still quite usable in tw5 but as you know actions need to be mediated > through widgets and I understand why. However there is a rich source of > content and methods in html5 we cant make use of because of this. I do ask > myself if a few widgets, kind of widget primitives, co

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread Jeremy Ruston
Hi Mohammad TiddlyWiki uses the internal function $tw.utils.parseDate() to convert TW format date strings into proper JavaScript dates. In turn, it uses JavaScript’s Date.UTC() method to construct the date from the components: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Gl

[tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread Mohammad
In https://tiddlywiki.com/prerelease/ Create an empty tiddler Then create a field named date with value (eight zeros) Then paste the below code <$view field=date format=date /> I see 1899 11 30 03:25 What is wrong here? --Mohammad -- You received this message because you are subsc

[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-04 Thread passingby
> When we establish the ability for every tiddlywiki to open a communication > channel it will help. > > > Tony, Are there any ideas out there about how this can be done technologically wise? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

[tw5] Re: TW5 Sortable Tables

2019-08-04 Thread Reaktorblue
Neat! Out of curiosity, how are you hosting the TW file? It it a standard .html file or are you perhaps using Node.js? -- 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 emai

[tw5] Re: TW5 Sortable Tables

2019-08-04 Thread MaxGyver
I know that this is a very old thread but it's still interesting (at least for me). I was looking for the same feature. I played around with that linked *sorttable.js* and TiddlyWiki. This is how you can do it: Add a tiddler tagged *$:/tags/RawMarkup* with this content: https://kryogenix.org/co

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread Mohammad
Tony! On Sunday, August 4, 2019 at 5:18:44 PM UTC+4:30, TonyM wrote: > > Mohammad, > > Give this example of yours I currently use another pattern for something > similar. So I thought It a good time to share. > > \define display(template) > <$set name=template value="$template$" emptyValue= > "$

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread TonyM
Mohammad, Give this example of yours I currently use another pattern for something similar. So I thought It a good time to share. \define display(template) <$set name=template value="$template$" emptyValue= "$:/plugins/kookma/timelines/templates/gilan" variable=null> <$transclude tiddler=<> mod

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-04 Thread TonyM
Thanks Jeremy I expected it was something like that. But at the time I asked, the filename was not even present in the info path. On top of timing I think. I will ask more If I can reproduce it. Regards Tony -- You received this message because you are subscribed to the Google Groups "Tiddly

Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-04 Thread Mohammad
WOW Thank you Birthe It is working for me! Added to TW-Scripts. Cheers Mohammad On Sunday, August 4, 2019 at 12:06:05 AM UTC+4:30, Birthe C wrote: > > Hi Mohammed, > > Go to http://tiddlyspot.com > fill out the form and createbut do not go to your new site. Open the > the tiddlywiki you w

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread TonyM
Jeremy, Tiddlywiki is rich and wonderful now. It took me time to jump to tw5 from twc. This history help explains to me a little of why this transition was difficult for me and where I perceive limitations. Given the context of this thread, perhaps I can express a hard to express idea. Html i

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread Mohammad
Thanks Tony! That's quite true! Also, This if-then-else gives a huge flexibility! One example <$list filter="[<__template__>match[default]then[$:/plugins/kookma/timelines/templates/gilan]else[$template$]]" variable=templateTiddler> <$tiddler tiddler=<> > <$transclude tiddler=<> mode=block/>

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread TonyM
Mohammad So with that clarification, I would suggest the methods in the case example I gave addresses many. Most branching is about selective display and nesting. Are you looking for something else? Regards tony -- You received this message because you are subscribed to the Google Groups "T

Re: [tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Thanks Jeremy, that nudged me in the right direction. The key was rather than passing as parameters, set as vars in main body and use these in the macro. I'll be taking this approach rather than parameters from hereon in. Working code (not tackled the other issues, but seems to be working withou

[tw5] Adding a 'New Todo' button in the tiddler view template

2019-08-04 Thread TonyM
Have a look at Mario's tocP solution it does half of this but it may be easier to avoid a modal and get the other values for static or current tiddler values. However there are system tags for most things including getting buttons to appear where you want. Once you find this tag find the tiddler

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-04 Thread Jeremy Ruston
Hi Tony > On 4 Aug 2019, at 01:04, TonyM wrote: > > I was trying to get the filename.ext the wiki loaded from when using file:// > > Is there a way? Try something like: [[$:/info/url/pathname]get[text]split[/]last[]] Best wishes Jeremy -- You received this message because you are subscri

Re: [tw5] urgh.. brackets

2019-08-04 Thread Jeremy Ruston
Hi MagoArcade I’m not sure that I fully understand what you’re trying to do, but I can see a few red flags in the excerpts you’ve provided. First, the core of this task is appears to be to substitute chunks of text into a template. This is one of those situations where text substitution via a m

Re: [tw5] Shortcut issue

2019-08-04 Thread Jeremy Ruston
Hi Aiden > I created a global shortcut that creates a new tiddler from a template. It > works, except that I get this error: > > Uncaught TypeError: Cannot read property 'indexOf' of null > > I'm expecting to create a ton of tiddlers with the shortcut, so closing the > error every time defeats

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread Mohammad
Thank you all for these descriptive replies! By the way branching here means decision making and executing part of code based on that! Sخ $list with emptyMessage has a simple branching logic! --Mohammad On Sunday, August 4, 2019 at 1:57:48 PM UTC+4:30, Jeremy Ruston wrote: > > Hi Tony > > Your

[tw5] Re: [TW5] Printing and the Reveal Widget

2019-08-04 Thread Anjar
I think I have to ask for some more help; I am currently using this template: <$button class="tc-btn-invisible" popup=<>> !header <$reveal type="nomatch" state=<> text=""> content Is it achievable to use $list wth that set-up? I couldn't find any way to use qualify inside the list to rege

[tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Hi all, Having problems constructing a string from various components. The output I'm looking for would be in this format (literal = to be stored in a tiddler field): {"31ada977-900e-4751-8549-8320014ab42f":{"to":"45e0e73a-0bdb-4a18-8452-8fdb59407bc6","type":"Subtask Of"}} My heavily abridg

Re: [tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread Jeremy Ruston
Hi Tony Your description is very nicely put. The curious thing for me about both the filter language and wikitext is that they both evolved from very simple initial conditions: * The filter language evolved from the idea a simple list should be a valid filter, evaluating to the titles in the l

[tw5] Adding a 'New Todo' button in the tiddler view template

2019-08-04 Thread Christian Macedo
I'm attempting to create a 'Meeting' Template which has a 'new todo' feature. This button would ideally be in the tiddler view template next to the 'edit'. In effect, almost identical to the 'New tiddler with parent field' button. On clicking the to do button: 1. Create a modal which take

[tw5] Re: Conditional Operators in TW 5.1.20

2019-08-04 Thread TonyM
Mohammad, Can you clarify what you mean by branching? Despite my investigating replacements for common structures in procedural programing languages, Tiddlywiki is not actually procedural. Even when you trigger a "batch" operation control is returned only once it is completed and everything vi

[tw5] Re: [TW5] Printing and the Reveal Widget

2019-08-04 Thread Anjar
Thank you Mat and Tony, for quick and nice replies; I think I'll experiment with both approaches! Best, Anders -- 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 t

[tw5] Re: [TW5] Printing and the Reveal Widget

2019-08-04 Thread Anjar
Thank you, Mat, nice approach! -- 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 view this discussion on the web visit h

[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-04 Thread Mohammad
There is a small caveat. One should take care of Empty value! The empty value is interpreted as 0! -- 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+unsu

[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-04 Thread Mohammad
Added to TW-Scripts On Sunday, August 4, 2019 at 10:41:03 AM UTC+4:30, TonyM wrote: > > Mohammad, > > Comparing two values for which is the greater - 5.1.20 ONLY because it > uses match and min operators > > <$set name=input1 value=3> > <$set name=input2 value=5> > > > <$list filter="=[!match]" e

[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-04 Thread Mohammad
Really smart solution! :-) I am working to see how we can do branching using only $list widget and it seems It can be used in many cases! The $list widget seems NOT a simple iterator and almost do many things just its name is misleading for many users --Mohammad On Sunday, August 4, 2019 at