[tw] js code within tw5?

2018-01-11 Thread passingby
Is there anyway to use javascript logic within list widget? 
How do we use if then else logic in nested lists? 
And how do these nested lists work anyway!? 
Why does the output change when we add a newline after opening tag? 
Man TW5 is so different than TWC!

The problem is I need tiddlywiki. I could go back to tw classic but I do 
not want to, given the promise of next 25 years.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ee988e5-a5f6-4367-98e7-b11b81a6060c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] can not update tiddlywiki via php, on a password protected folder in cpanel

2018-01-11 Thread Mobil Home
I get the saving message, but the saved confirmation never arrives and the 
file will never be saved.
It's a folder password protected with cpanel.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5f42c9b3-5f92-49db-95f5-f9dc811f9517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to build recurring tasks in existing tiddlers?

2018-01-11 Thread Birthe C
Hi Surya,
I sure do not know the answer to your lists of recurring tasks. Also I 
think that when you find the answer your solution will have grown 
considerably in size. It would be lovely, I do agree on that.

I have settled with a tiddler with the foolish title "Now is now" it has 
tag Task and the fields due and why. The why field has the value 
***DEADLINE***. In my tasklist I have a button Now that sets the above 
mentioned tiddlers due field to now date. It will get listed with my other 
tasks and all listed above that one will have passed deadline.

Birthe

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a490d9cb-e25a-4cd0-88e3-13f847c049ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread 'Mark S.' via TiddlyWiki
List fields may look like a series of links, but actually each element in 
the list is the name of the tiddler (no |description). So your list inside 
"myfield" might look like:

  [[Learning]] [[HelloThere]]

and you can list them out like:

<$list filter=[enlist{!!myfield}] />

To label them with some alternate text, you could add a caption or 
description field to the tiddlers. Then your list might look like:

<$list filter="[enlist{!!myfield}]" >
<$link><$view field="description"/>



(In general use descriptions for longer descriptions of a tiddler, and 
caption for short, button-friendly descriptions)

HTH
-- Mark 


On Thursday, January 11, 2018 at 2:09:34 PM UTC-8, Don Eisele wrote:
>
> Well.. I spoke a little soon...   Something still isn't processing right:
>
> <$list filter={{!!myfield}} />
>
> If the field looks like:
>
> [[display text|tiddler link1]]
> [[display text|tiddler link2]]
>
> It's displaying the entire text including "|" and the link, and also 
> linking to a tiddler with the entirety.
>
> Any thoughts?
>
>
> On Thursday, January 11, 2018 at 3:01:26 PM UTC-6, Don Eisele wrote:
>>
>> The error you pointed out was just me transcribing to the post.. no beans 
>> there.
>>
>> However, from your suggestion, I figured out how to use list fields, and 
>> they will do what I want :)
>>
>> Just a different way of thinking than I am used to for programming, had 
>> to wrap my head around it.
>>
>> Thanks!
>>
>>
>> On Thursday, January 11, 2018 at 2:07:16 PM UTC-6, Mark S. wrote:
>>>
>>> You might just consider using list fields, rather than splitting by some 
>>> token. That way you maintain continuity with the core TW. But that's just 
>>> my view point.
>>>
>>> If Tobias' filter works like other filters, then you have an error. It 
>>> should be:
>>>
>>> <$list filter="[{!!myfield}split[;]]"/>
>>>
>>> Notice the final closing square bracket.
>>>
>>> Good luck!
>>> -- Mark
>>>
>>> On Thursday, January 11, 2018 at 11:55:17 AM UTC-8, Don Eisele wrote:

 I'm trying to use fields to create a list, and am running into 
 troubles  (I just started using TiddlyWiki last night).


 I found this plugin which looks like it will do exactly what I want:

 http://tobibeer.github.io/tw5-plugins/#split


 However, I still have trouble.


 I'm trying to create a bullet list from a field, split upon a character 
 (let's say ";").

 It seems like something like:
 <$list filter="[{!!myfield}split[;]"/>


 would do the trick, but I'm just not getting anything.

 I've tried a ton of combinations to no avail.


 If it's easier, a solution that involved multiple fields would be fine 
 too.
* {{!!myfield1}}
* {{!!myfield2}}
* {{!!myfield3}}


 but open ended so I could just use myfield*

 One other thing I noticed is in the examples the plugin lists a lot of:
   {{{   .


 Sometimes I'm getting things from those examples, others not.   I 
 didn't find in the documentation on how to use that construct.   I'm 
 thinking maybe if it's an array I'm getting no output, but I'm not sure.



-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2eeedb6a-3c81-4d12-be39-a32a61887156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Idea for a Go to anything/Search bar.

2018-01-11 Thread Diego Mesa
Hello all,

I'd really like to see some kind of "Go to anything" search bar, similar to 
the one found in many editors (sublime text for example), jupyter notebook, 
and application launchers like quicksilver, alfred, launchbar, etc. 

So far, I have the following "conceptual map":


   - For the keyboard shortcut, I can use something like 
   - https://github.com/welford/twmousetrap
  - For the search tiddler, I can use some recent post by Eric to 
   create the custom search and do some light styling
   - https://groups.google.com/d/msg/tiddlywiki/Eet6Tol9Tfw/s-XjlOIUBwAJ
  - https://groups.google.com/d/msg/tiddlywiki/Eet6Tol9Tfw/__GtS1A8BwAJ
   - For the "fuzzy" finding, I can use something like the Fuze library:
  - https://github.com/krisk/Fuse
  
My idea is to hide the sidebar on startup, and just press a keyboard 
shortcut to bring up a bar that will let me type the name of a part of the 
tiddler I want to open and it will either open it or scroll to it if its 
already open.  

Now, this is *far* out of my area of expertise. Just figured I would post 
here in case anyone has come across anything similar, has similar interets, 
or would be able/willing to make a first step in this direction. 

So far, I have not yet figured out how to incorporate external libraries 
into TW, and use them in my own javascript work. I am studying other 
plugins to figure this out. I also am not really good with CSS styling. 

Best,
Diego 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4633f3e-12ee-4748-a925-adf78a28e340%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread Don Eisele
Well.. I spoke a little soon...   Something still isn't processing right:

<$list filter={{!!myfield}} />

If the field looks like:

[[display text|tiddler link1]]
[[display text|tiddler link2]]

It's displaying the entire text including "|" and the link, and also 
linking to a tiddler with the entirety.

Any thoughts?


On Thursday, January 11, 2018 at 3:01:26 PM UTC-6, Don Eisele wrote:
>
> The error you pointed out was just me transcribing to the post.. no beans 
> there.
>
> However, from your suggestion, I figured out how to use list fields, and 
> they will do what I want :)
>
> Just a different way of thinking than I am used to for programming, had to 
> wrap my head around it.
>
> Thanks!
>
>
> On Thursday, January 11, 2018 at 2:07:16 PM UTC-6, Mark S. wrote:
>>
>> You might just consider using list fields, rather than splitting by some 
>> token. That way you maintain continuity with the core TW. But that's just 
>> my view point.
>>
>> If Tobias' filter works like other filters, then you have an error. It 
>> should be:
>>
>> <$list filter="[{!!myfield}split[;]]"/>
>>
>> Notice the final closing square bracket.
>>
>> Good luck!
>> -- Mark
>>
>> On Thursday, January 11, 2018 at 11:55:17 AM UTC-8, Don Eisele wrote:
>>>
>>> I'm trying to use fields to create a list, and am running into troubles  
>>> (I just started using TiddlyWiki last night).
>>>
>>>
>>> I found this plugin which looks like it will do exactly what I want:
>>>
>>> http://tobibeer.github.io/tw5-plugins/#split
>>>
>>>
>>> However, I still have trouble.
>>>
>>>
>>> I'm trying to create a bullet list from a field, split upon a character 
>>> (let's say ";").
>>>
>>> It seems like something like:
>>> <$list filter="[{!!myfield}split[;]"/>
>>>
>>>
>>> would do the trick, but I'm just not getting anything.
>>>
>>> I've tried a ton of combinations to no avail.
>>>
>>>
>>> If it's easier, a solution that involved multiple fields would be fine 
>>> too.
>>>* {{!!myfield1}}
>>>* {{!!myfield2}}
>>>* {{!!myfield3}}
>>>
>>>
>>> but open ended so I could just use myfield*
>>>
>>> One other thing I noticed is in the examples the plugin lists a lot of:
>>>   {{{   .
>>>
>>>
>>> Sometimes I'm getting things from those examples, others not.   I didn't 
>>> find in the documentation on how to use that construct.   I'm thinking 
>>> maybe if it's an array I'm getting no output, but I'm not sure.
>>>
>>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6665b435-f009-4a3c-9fae-dead89b55331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Question about saving an offline wiki

2018-01-11 Thread 'Mark S.' via TiddlyWiki
There's 17 (more?) ways to save with TW: 

https://tiddlywiki.com/#GettingStarted

Ordinarily, I would say to save using a firefox saver like 
https://addons.mozilla.org/en-US/firefox/addon/file-backups/ and then use 
junctions or links down below the downloads directory to connect to your 
real target directory, but I'm not sure that that will work with networked 
drives.

In any event, be aware that out of the box TW is not a multi-user system.

Good luck,
-- Mark

On Thursday, January 11, 2018 at 1:40:34 PM UTC-8, Bdubs wrote:
>
> Hey all,
>
> I'm with a group that's looking to start a personal multi-person wiki to 
> archive some of our organization's information, and we wanted to try out 
> TiddlyWiki on a Windows system. None of our members have any experience 
> with the format of TW, but we have plenty of time to learn and get 
> accustomed to the program.
>
> After testing the product out for a few days, the major issue we've 
> continuously ran into is that we want to save the document on a shared 
> network's group drive, but whenever we do, it just creates a new file in 
> the Downloads folder. Instead, we need to automatically save over the html 
> file as soon as we hit 'save', like you would with a regular word document. 
> I've tried going through the different save techniques, but nothing seemed 
> to change (maybe I wasn't using them right, or is it because it's an 
> offline file?)
>
> Is there any way to make the wiki changes automatically save over older 
> versions of the same file on a shared drive?
>
> Thanks in advance.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c860a60d-7bf1-47b0-915d-c9255a6711f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Question about saving an offline wiki

2018-01-11 Thread Bdubs
Hey all,

I'm with a group that's looking to start a personal multi-person wiki to 
archive some of our organization's information, and we wanted to try out 
TiddlyWiki on a Windows system. None of our members have any experience 
with the format of TW, but we have plenty of time to learn and get 
accustomed to the program.

After testing the product out for a few days, the major issue we've 
continuously ran into is that we want to save the document on a shared 
network's group drive, but whenever we do, it just creates a new file in 
the Downloads folder. Instead, we need to automatically save over the html 
file as soon as we hit 'save', like you would with a regular word document. 
I've tried going through the different save techniques, but nothing seemed 
to change (maybe I wasn't using them right, or is it because it's an 
offline file?)

Is there any way to make the wiki changes automatically save over older 
versions of the same file on a shared drive?

Thanks in advance.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea560696-4815-4b17-99e5-ca5c4e61e895%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to build recurring tasks in existing tiddlers?

2018-01-11 Thread 'Surya' via TiddlyWiki
Hi again
*,*my favourites at the moment are these three solutions.
But every solution misses something important.
Of course I would prefer one of them, which is small in size, but that 
doesn't really matter so much, because the difference is probably not so 
big.
Maybe one of you could tell me, how to make one of them work with all 
important features?

*task-list with shown and editable due date, but without popups of the 
tasks:*
<$list filter=[tag[ToDo]sort[due]] template= {{Upgraded Task 
List!!entry_display_template}}>
<$checkbox tag="done"> <$link to={{!!title}}><$date field="due"/><$view 
field="title"/> - <$view field="blurb"/>


>>>Missing but important:

   - Popup of the whole task. In the popup it should be possible to edit 
   the due-date.
   - If the task has checkboxes inside the task, I want the checkboxes to 
   be clickable in the popup
   - 4 lists: Overdue / This Week / This Month / All Tasks. These lists 
   should be wrappable / expandable with a slider or something similar

>>>Would be nice to have:

   - Sorted at first by due-date, then by title. Now it is sorted only by 
   due-date



*task-list without shown due date, but with popups of the tasks:*
\define makeState()
<>
\end

<$list filter="[tag[ToDo]]" variable="mytitle">

<$set name="stateTiddler" filter="[addprefix[$:/temp/state/]]" 
emptyValue=error>
<$wikify name="qualstate" text=<>>

* <$button class="tc-btn-invisible" popup=<>><$text text=<<
mytitle>>/>


<$reveal type="popup" position="below" state=<>>

<$tiddler tiddler=<>>

<$transclude tiddler=<>/>









.mypopup {
min-width: 380px;
border: 1px solid #bbb;
background-color: #ff;
padding: 1em;
margin: 4px 0 0 0;
text-shadow: none;
line-height: 1.4;
}


>>>Missing but important:

   - It shold show the due-date at the beginning. Now it doesn't show the 
   due-date.
   - Sorted by due-date. Now it is sorted by title.
   - The due-date should be editable in the popup. Now it opens the 
   calendar, but looses the focus when I want to choose a date.
   - I want 4 lists: Overdue / This Week / This Month / All Tasks. These 
   lists should be wrappable / expandable with a slider or something similar

>>>Would be nice to have:

   - Sorted at first by due-date, then by title. Now it is sorted by title.



*"Tiddlers By Due Date":*

 DueTiddler <$list 
filter="[has[due]!tag[done]sort[due]]">  <$view field="due"/>  
<$checkbox tag="done"> <$link to={{!!title}}><$view field="title"/> 



   - Great :-)
  - But the tiddlers are only listed with the titles, I cannot see the 
  task(s) I made with checkboxes inside it.
  - For that I tested "popup in table" with:
  - 
  <$list filter="[has[due]!tag[done]sort[due]]">
  <$view field="title"/> <$transclude
  tiddler="$:/core/ui/Buttons/more-page-actions" mode="inline"/>
  
  [...blablabbla table body with fields]
  
  
  
  - That shows me the task-titles with an arrow to show me something 
  else (like a popup). But it doesn't show me the due date and when I click 
  the arrow, it shows me list of "More Actions", but not the task itself.
  

It must be possible to make it with one of these three, isn't it??? Please, 
somebody knows it how to


@Birthe: I also installed the full gsd5-core-plugin. But it also didn't 
worked as I expected. mGsD has a nice feature and it works on that demo 
(but unfortunately not in my wiki, I think that is because it is fur 
TWClassic, not for TW5. There you can say "+ 1 day / week / month / year". 
And then the task is moved 1 day / week / month / year. And if you click 
that it e.g. twice it is moved 2 days / weeks / months / years.

Hoping, Surya

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/50b5f1d7-6259-438a-aaf2-5190eee758d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Documentation Proposal (Improved Examples)

2018-01-11 Thread Diego Mesa
Just to revive this, I'll share a short Tiddler I've been keeping with some 
great explanations by Eric Shulman recently (attached).

It clarifies the use of < vs <<  amd { vs {{ in and out of filters, and has 
been very helpful to me. 

Im not sure where something like this would go in the current documentation 
(if it was improved). I always thought it would be helpful to have a 
Beginner FAQ and Intermediate FAQ.

Best,
Diego

On Thursday, December 14, 2017 at 4:26:03 PM UTC-6, TonyM wrote:
>
> Folks,
>
> Thanks to the Git Reference materials. 
> I have collated all Git Usage References below
>
> I will use these to discover how to submit Doco updates via Git and See if 
> it is suitable for a wider audience, 
>
> Please share your own experience with Git.
>
> Regards
> Tony
>
> On Wednesday, 29 November 2017 09:40:51 UTC+11, TonyM wrote:
>>
>> Folks,
>>
>> I plan to start contributing to the TiddlyWiki documentation. I want to 
>> spell out what I am keen to add, so wanted to open it for discussion before 
>> hand.
>>
>> Please keep this discussion focused on what I propose if possible.
>>
>> As my Newbie status fades I am still finding the documentation falls 
>> short of my needs, I would like to add to the documentation with everyone's 
>> help the following;
>>
>>
>>- Examples (need not include "Try It")
>>- *Provide full examples with the full statement eg using list or 
>>list-links to demonstrate a filter*
>>   - So it can be copy and pasted into someones wiki
>>- *Provide examples with placeholders for the major forms of a 
>>command*
>>   - The alternatives where a command has distinct applications
>>   - Allowing copy, paste and edit.
>>- *Provide examples where values are pulled from the current tiddler*
>>   - Too many examples only have static tiddler names or literal 
>>   strings
>>   - When building reusable macros and solutions we need examples of 
>>   how to extract values from the current tiddlers title, fields and tags.
>>
>>
>> I believe such examples will support newbie and expert alike and act as a 
>> more practical reference. Of importance it will help people get over the 
>> syntax and references humps TW5 presents, and make it easier to learn by 
>> example.
>>
>> If people smarter than me can bring together all the ways and standards 
>> for references and transclusion into a single reference tiddler as well 
>> would be helpful as currently the different forms are all over the place.
>>
>> Are there any other critical pieces of info needed?
>>
>> What do you think?
>>
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/587d042f-b113-462a-8335-f7d29b0e957b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Variables, Fields and Filters in TiddlyWiki.json
Description: application/json


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread Don Eisele
Awesome, that's definitely more clear.I had found the {{, but missed 
the {{{

On Thursday, January 11, 2018 at 2:20:43 PM UTC-6, Diego Mesa wrote:
>
> Hi Don,
>
> The `{{{` syntax is called "Filtered Transclusion" and is explained here:
>
> https://tiddlywiki.com/#Transclusion%20in%20WikiText
>
> It is used to transclude a list of tiddlers matching a specified filter.
>
> Diego
>
> On Thursday, January 11, 2018 at 1:55:17 PM UTC-6, Don Eisele wrote:
>>
>> I'm trying to use fields to create a list, and am running into troubles  
>> (I just started using TiddlyWiki last night).
>>
>>
>> I found this plugin which looks like it will do exactly what I want:
>>
>> http://tobibeer.github.io/tw5-plugins/#split
>>
>>
>> However, I still have trouble.
>>
>>
>> I'm trying to create a bullet list from a field, split upon a character 
>> (let's say ";").
>>
>> It seems like something like:
>> <$list filter="[{!!myfield}split[;]"/>
>>
>>
>> would do the trick, but I'm just not getting anything.
>>
>> I've tried a ton of combinations to no avail.
>>
>>
>> If it's easier, a solution that involved multiple fields would be fine 
>> too.
>>* {{!!myfield1}}
>>* {{!!myfield2}}
>>* {{!!myfield3}}
>>
>>
>> but open ended so I could just use myfield*
>>
>> One other thing I noticed is in the examples the plugin lists a lot of:
>>   {{{   .
>>
>>
>> Sometimes I'm getting things from those examples, others not.   I didn't 
>> find in the documentation on how to use that construct.   I'm thinking 
>> maybe if it's an array I'm getting no output, but I'm not sure.
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f834cad7-a2a8-4442-94ad-b58170248644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread Don Eisele
The error you pointed out was just me transcribing to the post.. no beans 
there.

However, from your suggestion, I figured out how to use list fields, and 
they will do what I want :)

Just a different way of thinking than I am used to for programming, had to 
wrap my head around it.

Thanks!


On Thursday, January 11, 2018 at 2:07:16 PM UTC-6, Mark S. wrote:
>
> You might just consider using list fields, rather than splitting by some 
> token. That way you maintain continuity with the core TW. But that's just 
> my view point.
>
> If Tobias' filter works like other filters, then you have an error. It 
> should be:
>
> <$list filter="[{!!myfield}split[;]]"/>
>
> Notice the final closing square bracket.
>
> Good luck!
> -- Mark
>
> On Thursday, January 11, 2018 at 11:55:17 AM UTC-8, Don Eisele wrote:
>>
>> I'm trying to use fields to create a list, and am running into troubles  
>> (I just started using TiddlyWiki last night).
>>
>>
>> I found this plugin which looks like it will do exactly what I want:
>>
>> http://tobibeer.github.io/tw5-plugins/#split
>>
>>
>> However, I still have trouble.
>>
>>
>> I'm trying to create a bullet list from a field, split upon a character 
>> (let's say ";").
>>
>> It seems like something like:
>> <$list filter="[{!!myfield}split[;]"/>
>>
>>
>> would do the trick, but I'm just not getting anything.
>>
>> I've tried a ton of combinations to no avail.
>>
>>
>> If it's easier, a solution that involved multiple fields would be fine 
>> too.
>>* {{!!myfield1}}
>>* {{!!myfield2}}
>>* {{!!myfield3}}
>>
>>
>> but open ended so I could just use myfield*
>>
>> One other thing I noticed is in the examples the plugin lists a lot of:
>>   {{{   .
>>
>>
>> Sometimes I'm getting things from those examples, others not.   I didn't 
>> find in the documentation on how to use that construct.   I'm thinking 
>> maybe if it's an array I'm getting no output, but I'm not sure.
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/22a01825-0a41-458a-b5ef-e742cabf5578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [VIDEOs] - How to work with a TiddlyWiki development environment

2018-01-11 Thread Diego Mesa
Just wanted to thank you again Mario. Because of your videos I made my 
first (and tiny) PR to the main repo! 

Diego

On Tuesday, January 9, 2018 at 10:53:56 AM UTC-6, cpjobling wrote:
>
> Very useful ... just watched the introduction and will add a To Do to 
> watch the rest.
>
>
> Thanks very much for this!
>
> Chris
>
>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b28abf22-c8ed-4635-a44a-fffc3500e1d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread Diego Mesa
Hi Don,

The `{{{` syntax is called "Filtered Transclusion" and is explained here:

https://tiddlywiki.com/#Transclusion%20in%20WikiText

It is used to transclude a list of tiddlers matching a specified filter.

Diego

On Thursday, January 11, 2018 at 1:55:17 PM UTC-6, Don Eisele wrote:
>
> I'm trying to use fields to create a list, and am running into troubles  
> (I just started using TiddlyWiki last night).
>
>
> I found this plugin which looks like it will do exactly what I want:
>
> http://tobibeer.github.io/tw5-plugins/#split
>
>
> However, I still have trouble.
>
>
> I'm trying to create a bullet list from a field, split upon a character 
> (let's say ";").
>
> It seems like something like:
> <$list filter="[{!!myfield}split[;]"/>
>
>
> would do the trick, but I'm just not getting anything.
>
> I've tried a ton of combinations to no avail.
>
>
> If it's easier, a solution that involved multiple fields would be fine too.
>* {{!!myfield1}}
>* {{!!myfield2}}
>* {{!!myfield3}}
>
>
> but open ended so I could just use myfield*
>
> One other thing I noticed is in the examples the plugin lists a lot of:
>   {{{   .
>
>
> Sometimes I'm getting things from those examples, others not.   I didn't 
> find in the documentation on how to use that construct.   I'm thinking 
> maybe if it's an array I'm getting no output, but I'm not sure.
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2db6f12e-2e9f-4165-8f6a-903a8999dc1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to use fields to create variable-length lists

2018-01-11 Thread 'Mark S.' via TiddlyWiki
You might just consider using list fields, rather than splitting by some 
token. That way you maintain continuity with the core TW. But that's just 
my view point.

If Tobias' filter works like other filters, then you have an error. It 
should be:

<$list filter="[{!!myfield}split[;]]"/>

Notice the final closing square bracket.

Good luck!
-- Mark

On Thursday, January 11, 2018 at 11:55:17 AM UTC-8, Don Eisele wrote:
>
> I'm trying to use fields to create a list, and am running into troubles  
> (I just started using TiddlyWiki last night).
>
>
> I found this plugin which looks like it will do exactly what I want:
>
> http://tobibeer.github.io/tw5-plugins/#split
>
>
> However, I still have trouble.
>
>
> I'm trying to create a bullet list from a field, split upon a character 
> (let's say ";").
>
> It seems like something like:
> <$list filter="[{!!myfield}split[;]"/>
>
>
> would do the trick, but I'm just not getting anything.
>
> I've tried a ton of combinations to no avail.
>
>
> If it's easier, a solution that involved multiple fields would be fine too.
>* {{!!myfield1}}
>* {{!!myfield2}}
>* {{!!myfield3}}
>
>
> but open ended so I could just use myfield*
>
> One other thing I noticed is in the examples the plugin lists a lot of:
>   {{{   .
>
>
> Sometimes I'm getting things from those examples, others not.   I didn't 
> find in the documentation on how to use that construct.   I'm thinking 
> maybe if it's an array I'm getting no output, but I'm not sure.
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d50b440f-41c8-4e86-b0d8-0f9a17400f74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Trying to use fields to create variable-length lists

2018-01-11 Thread Don Eisele
I'm trying to use fields to create a list, and am running into troubles  (I 
just started using TiddlyWiki last night).


I found this plugin which looks like it will do exactly what I want:

http://tobibeer.github.io/tw5-plugins/#split


However, I still have trouble.


I'm trying to create a bullet list from a field, split upon a character 
(let's say ";").

It seems like something like:
<$list filter="[{!!myfield}split[;]"/>


would do the trick, but I'm just not getting anything.

I've tried a ton of combinations to no avail.


If it's easier, a solution that involved multiple fields would be fine too.
   * {{!!myfield1}}
   * {{!!myfield2}}
   * {{!!myfield3}}


but open ended so I could just use myfield*

One other thing I noticed is in the examples the plugin lists a lot of:
  {{{   .


Sometimes I'm getting things from those examples, others not.   I didn't 
find in the documentation on how to use that construct.   I'm thinking 
maybe if it's an array I'm getting no output, but I'm not sure.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28d928eb-6c2e-46d8-b14a-3786c6421d6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyTouch/MuuriTouch

2018-01-11 Thread @TiddlyTweeter
Allora, @BurningTreeC

I may be in love with you? It could be your bling.

Moving on ... great stuff. Love the flex in what you doing. The little 
gizmos you add (color palette, auto-gallery, transparency, hider, build 
macros etc) are brilliant in this context. 

Towards an interface that on click re-builds the interface. 

Very TiddlyWiki, but easier. 

A BRIDGE towards nowish for end-users like me.

Given this is still in Alpha its amazing what it can do.

I have some substantive issues, not just praise. Those I will post next, 
bit by bit.

Best wishes
Josiah

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94ae5833-34fd-41b2-8e81-7dea890d7383%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to build recurring tasks in existing tiddlers?

2018-01-11 Thread Birthe C
Hi Surya

http://tobibeer.github.io/tb5/#Welcome 
.
 
I do not think Tobias made use of that in the example. Tobias referred to 
the possibility of reusing

[[$:/plugins/gsd5/ticklers/modules/widgets/datepicker.js]] and 
[[$:/plugins/gsd5/ticklers/stylesheet/datepicker-stylesheet]]

from Roma Hicks http://gds5.tiddlyspot.com

The ticklers are part of gds5 and I am not sure, but think it is all needed 
to make use of them in that way.
The reason tiddlers are bundled in plugins are that they are really all 
needed for it to work.

That is not to say that you can not make it work, but it would need some 
serious rewriting. 


Birthe



Den torsdag den 11. januar 2018 kl. 16.41.29 UTC+1 skrev Surya:
>
>
>- $:/plugins/gsd5/ticklers 
>
>   - Adding + Ticklers (with recurring every 365 days) with
>   - 
>   
>   <$set name="parentTiddler" value=<>>
>   <$set name="TicklerStatus" value=<   "$:/state/popup/tickler">>>
>   <$button popup=<> 
>   class="tc-btn-invisible gsd-context-button">+ Ticklers
>   <$reveal state=<> type="nomatch" text="" 
>   class="tc-popup-handle" default="" retain="yes" animate="yes">
>   
>   
>   Tickler Date:
>   <$date field="gsd_tickdate"/>
>   
>   Frequency:
>   <$edit field="gsd_tickfreq"/> //days//
>   
>   
>   
>   
>   
>   
>   
>   - When I then click then the checkbox ("I have done this task"), 
>   then the due date should be 1 year later. But it does just nothing. The 
> due 
>   date doesn't change.
>- Adding a date field with <$date field="due"/> and fill it with a 
>date:
>   - I can change the date. But I have to go to that task-tiddler, I 
>   can't change the date in a list or table of all my tasks. I describe it 
> in 
>   the next sentences more.
>- I tested the "Tiddlers By Due Date":
>   - 
>   
>   
>   DueTiddler
>   <$list filter="[has[due]!tag[done]sort[due]]">
>   
>   <$view field="due"/>
>   
>   <$checkbox tag="done">
>   <$link to={{!!title}}><$view field="title"/>
>   
>   
>   
>   
>   
>   
>   - Great :-)
>  - But the tiddlers are only listed with the titles, I cannot see 
>  the task(s) I made with checkboxes inside it.
>  - For that I tested "popup in table" with:
>  - 
>  <$list filter="[has[due]!tag[done]sort[due]]">
>  <$view field="title"/> <$transclude
>  tiddler="$:/core/ui/Buttons/more-page-actions" 
>  mode="inline"/>
>  [...blablabbla table body with fields]
>  
>  
>  - That shows me the task-titles with an arrow to show me 
>  something else (like a popup). But it doesn't show me the due date 
> and when 
>  I click the arrow, it shows me list of "More Actions", but not the 
> task 
>  itself.
>   - And I tested a tasklist with popups with this:
>   - \define makeState()
>   <>
>   \end
>   
>   <$list filter="[tag[ToDo]]" variable="mytitle">
>   
>   <$set name="stateTiddler" 
>   filter="[addprefix[$:/temp/state/]]" emptyValue=error>
>   <$wikify name="qualstate" text=<>>
>   
>   * <$button class="tc-btn-invisible" popup=<>><$text 
>   text=<>/>
>   
>   
>   <$reveal type="popup" position="below" state=<>>
>   
>   <$tiddler tiddler=<>>
>   
>   <$transclude tiddler=<>/>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   .mypopup {
>   min-width: 380px;
>   border: 1px solid #bbb;
>   background-color: #ff;
>   padding: 1em;
>   margin: 4px 0 0 0;
>   text-shadow: none;
>   line-height: 1.4;
>   }
>   
>   - That is also great :-)
>   - I can check the checkboxes inside the popup :-)
>   - But I can't add a new list item (new task) inside the popup- it 
>   looses focus.
>   - And it doesn't show the due dates (it only shows them, when I 
>   click on it, then it opens the popup with the tiddlertext and the due 
> date).
>   - And I cannot change the due date inside the popup- it opens the 
>   calendar as a popup, but looses then focus.
>
>
> How to combine them to fit my needs? Or is there any other possibility?
> It is not anymore needed for me to get notified of tasks. I'll do that 
> with sticky lists (always on the "home").
> My needs:
>
>- *Table or list* with no wasted space, but good readability of the 
>tasks
>- *Sorted* at first by due-date, 

[tw] Re: How to build recurring tasks in existing tiddlers?

2018-01-11 Thread 'Surya' via TiddlyWiki
Hi,

I tested now some solutions I found by asking Mr. Google and from 
http://tobibeer.github.io/tb5/#Welcome. I think, somewhere in the found 
solutions is my solution
I think, some of them should be combined, to get my wished result. All 
these things I found are small in size and have almost no wasted space. But 
I cannot find out, how to combine them.

Yes, why I am so worried about the size: I read somewhere, that when a 
Tiddlywiki has more than 4MB, it starts getting unusable on a mobile device.
My devices are not the newest ones and no Highend-devices. And I need my 
wikis on desktop *and* on my mobiles.
In my one wiki I have about 150 tags (plus the tags for sorting and making 
it visible on the sidebar, plus the tags, the wiki gives itself). In this 
wiki most of the tiddlers have at least 15 tags, some tiddlers have up to 
30 tags.
This wiki is really increasing with each new tiddler. It has now 2,94MB, 
but I'll add hundreds of new tiddlers to it and I can see, that I'll reach 
at least the 4MB.

That's why I'm worried about the size...


I tested now:

   - $:/plugins/gsd5/ticklers 
   
  - Adding + Ticklers (with recurring every 365 days) with
  - 
  
  <$set name="parentTiddler" value=<>>
  <$set name="TicklerStatus" value=<>>
  <$button popup=<> class="tc-btn-invisible 
  gsd-context-button">+ Ticklers
  <$reveal state=<> type="nomatch" text="" 
  class="tc-popup-handle" default="" retain="yes" animate="yes">
  
  
  Tickler Date:
  <$date field="gsd_tickdate"/>
  
  Frequency:
  <$edit field="gsd_tickfreq"/> //days//
  
  
  
  
  
  
  
  - When I then click then the checkbox ("I have done this task"), then 
  the due date should be 1 year later. But it does just nothing. The due 
date 
  doesn't change.
   - Adding a date field with <$date field="due"/> and fill it with a date:
  - I can change the date. But I have to go to that task-tiddler, I 
  can't change the date in a list or table of all my tasks. I describe it 
in 
  the next sentences more.
   - I tested the "Tiddlers By Due Date":
  - 
  
  
  DueTiddler
  <$list filter="[has[due]!tag[done]sort[due]]">
  
  <$view field="due"/>
  
  <$checkbox tag="done">
  <$link to={{!!title}}><$view field="title"/>
  
  
  
  
  
  
  - Great :-)
 - But the tiddlers are only listed with the titles, I cannot see 
 the task(s) I made with checkboxes inside it.
 - For that I tested "popup in table" with:
 - 
 <$list filter="[has[due]!tag[done]sort[due]]">
 <$view field="title"/> <$transclude
 tiddler="$:/core/ui/Buttons/more-page-actions" 
 mode="inline"/>
 [...blablabbla table body with fields]
 
 
 - That shows me the task-titles with an arrow to show me something 
 else (like a popup). But it doesn't show me the due date and when I 
click 
 the arrow, it shows me list of "More Actions", but not the task itself.
  - And I tested a tasklist with popups with this:
  - \define makeState()
  <>
  \end
  
  <$list filter="[tag[ToDo]]" variable="mytitle">
  
  <$set name="stateTiddler" 
  filter="[addprefix[$:/temp/state/]]" emptyValue=error>
  <$wikify name="qualstate" text=<>>
  
  * <$button class="tc-btn-invisible" popup=<>><$text 
  text=<>/>
  
  
  <$reveal type="popup" position="below" state=<>>
  
  <$tiddler tiddler=<>>
  
  <$transclude tiddler=<>/>
  
  
  
  
  
  
  
  
  
  .mypopup {
  min-width: 380px;
  border: 1px solid #bbb;
  background-color: #ff;
  padding: 1em;
  margin: 4px 0 0 0;
  text-shadow: none;
  line-height: 1.4;
  }
  
  - That is also great :-)
  - I can check the checkboxes inside the popup :-)
  - But I can't add a new list item (new task) inside the popup- it 
  looses focus.
  - And it doesn't show the due dates (it only shows them, when I click 
  on it, then it opens the popup with the tiddlertext and the due date).
  - And I cannot change the due date inside the popup- it opens the 
  calendar as a popup, but looses then focus.
   

How to combine them to fit my needs? Or is there any other possibility?
It is not anymore needed for me to get notified of tasks. I'll do that with 
sticky lists (always on the "home").
My needs:

   - *Table or list* with no wasted space, but good readability of the tasks
   - *Sorted* at first by due-date, then by title
   - The tasks have *popup or 

[tw] Re: [TW5] Hide image tiddlers fitles from search

2018-01-11 Thread 'Mark S.' via TiddlyWiki
You can use regexp:type[^image] in your filter rather than look at each 
type (.jpg, jpeg, png, ) .

The problem with modifying core is that the search will not upgrade the 
next time you upgrade TW. So, if there's any improvements in search, you 
won't get them. You will need to delete $:/core/ui/DefaultSearchResultList, 
do the upgrade, and then apply your changes again.

Good luck,

-- Mark

On Thursday, January 11, 2018 at 12:36:00 AM UTC-8, Shaked Pesach wrote:
>
>  
>
>> Found this solution that works for me:
>
> edit  tiddler $:/core/ui/DefaultSearchResultList
>
> and add a filter for title results and content results. for example:
>
>
> \define searchResultList()
>
> //{{$:/language/Search/Matches/Title}}//
>
>  
>
> *<$list 
> filter="[!is[system]!suffix[.png]!suffix[.jpg]!suffix[.jpeg]!suffix[.PNG]!suffix[.JPG]!suffix[.JPEG]search:title{$(searchTiddler)$}sort[title]limit[250]]"
>  
> template="$:/core/ui/ListItemTemplate"/>*
>
>  
>
> //{{$:/language/Search/Matches/All}}//
>
>  
>
> *<$list 
> filter="[!is[system]!suffix[.png]!suffix[.jpg]!suffix[.jpeg]!suffix[.PNG]!suffix[.JPG]!suffix[.JPEG]search{$(searchTiddler)$}sort[title]limit[250]]"
>  
> template="$:/core/ui/ListItemTemplate"/>*
>
>  
>
> \end
>
> <>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a79aa03f-04b1-4f9e-94ad-22029bcca5dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyTouch/MuuriTouch

2018-01-11 Thread BurningTreeC
@all,

updated the first post


all the best,
BurningTreeC

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8bd14215-88ad-4ffe-8090-351a0005631c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Hide image tiddlers fitles from search

2018-01-11 Thread Shaked Pesach
 

> Found this solution that works for me:

edit  tiddler $:/core/ui/DefaultSearchResultList

and add a filter for title results and content results. for example:


\define searchResultList()

//{{$:/language/Search/Matches/Title}}//

 

*<$list 
filter="[!is[system]!suffix[.png]!suffix[.jpg]!suffix[.jpeg]!suffix[.PNG]!suffix[.JPG]!suffix[.JPEG]search:title{$(searchTiddler)$}sort[title]limit[250]]"
 
template="$:/core/ui/ListItemTemplate"/>*

 

//{{$:/language/Search/Matches/All}}//

 

*<$list 
filter="[!is[system]!suffix[.png]!suffix[.jpg]!suffix[.jpeg]!suffix[.PNG]!suffix[.JPG]!suffix[.JPEG]search{$(searchTiddler)$}sort[title]limit[250]]"
 
template="$:/core/ui/ListItemTemplate"/>*

 

\end

<>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29fd802c-2af9-43f8-8fe4-efe0c2d43cf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.