[tw5] Re: Streams : "strange behaviour" when transcluding a root tiddler

2021-07-02 Thread FrD
Thanks !

It works perfectly.

Best regards
FrD

Le vendredi 2 juillet 2021 à 22:25:02 UTC+2, saq.i...@gmail.com a écrit :

> Since the nodes are separate tiddlers, they don't show up with a normal 
> transclusion.
> You need to transclude through a template: 
>
> {{TiddlerTitleHere||$:/plugins/sq/streams/nodes-list-template}}
>
> On Friday, July 2, 2021 at 9:27:45 PM UTC+2 FrD wrote:
>
>> Hi (specially Saq) !
>>
>> Thank you Saq for your fine piece of sofware. Its works flawlessly for my 
>> occasionnal note taking (or organizing).
>> Recently I've being trying to organize notes from watching a video.
>> I wanted to transclude in a tiddler, below the video, the root tiddler of 
>> my notes : {{Personal Notes for Class 01}}. And nothing shows.
>> Maybe I missed something from the documentation ...
>> I've tried on your demo site to transclude the tiddler "Streams 0.2 
>> improvements" inside a new tiddler and same problem. The only tiddlers that 
>> are showing as transclusions are the "leaf" tiddlers.
>>
>> Is there a way to make a root tiddler appear when transcluded ?
>>
>> Thanks in advance
>>
>> Best regards
>> FrD
>>
>

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/c7f67420-4a06-4481-93b4-0341f3520d38n%40googlegroups.com.


[tw5] Streams : "strange behaviour" when transcluding a root tiddler

2021-07-02 Thread FrD
Hi (specially Saq) !

Thank you Saq for your fine piece of sofware. Its works flawlessly for my 
occasionnal note taking (or organizing).
Recently I've being trying to organize notes from watching a video.
I wanted to transclude in a tiddler, below the video, the root tiddler of 
my notes : {{Personal Notes for Class 01}}. And nothing shows.
Maybe I missed something from the documentation ...
I've tried on your demo site to transclude the tiddler "Streams 0.2 
improvements" inside a new tiddler and same problem. The only tiddlers that 
are showing as transclusions are the "leaf" tiddlers.

Is there a way to make a root tiddler appear when transcluded ?

Thanks in advance

Best regards
FrD

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/6b0d7ee8-3af9-4bab-9312-101d50af92efn%40googlegroups.com.


[tw5] Re: Best way to use same TW on multiple platforms?

2020-06-14 Thread FrD
Hi LG,

Dropbox is an easy solution too.

Regards

FrD

Le dimanche 14 juin 2020 03:31:29 UTC+2, LG a écrit :
>
> I have the good fortune to own an Android phone, an iPad, a PC, and use a 
> Mac at work. What is the best method (s) to be able to seamlessly use and 
> update the same TW on each of these platforms? It's really hampering my 
> ability to go all in when I don't know the best way to do this.

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/f88afc8b-0139-4ee9-96e8-dd4bbafab82eo%40googlegroups.com.


[tw5] Re: Can't save .html file on WebDAV

2020-05-21 Thread FrD
Hi t,

Not sure, but PMario has done a lot of work on the webdav topic. Maybe have 
a look at :

https://groups.google.com/d/msg/tiddlywiki/Tg2-mhVheQ0/UKS5vN7zAgAJ


Regards

FrD

Le jeudi 21 mai 2020 18:22:43 UTC+2, t a écrit :
>
> Hi all,
>
> I've been trying to figure this out for a few hours. I've searched here, 
> Google, everything. Unfortunately I don't know enough about coding, command 
> line, etc. to figure out what I'm doing or simply not get exhausted from 
> troubleshooting.
>
> I've downloaded an emptystroll.html file to run, uploaded it to a WebDAV 
> server I have access to, but when I click save changes, it says "Error 
> while saving: File changed on server"
>
> The directory has full RW access given to everyone and there is no 
> authentication enabled currently. Any ideas? I've tried various browsers to 
> no avail, also.
>

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/ff3b1b67-4a1a-40fe-b05d-952ea15321e5%40googlegroups.com.


[tw5] Re: TiddlyDesktop method for exporting individual tiddlers (90% there)

2020-05-20 Thread FrD
Hi Mark,

It sems to work if you use a cloned version of $:/core/templates/
exporters/TidFile
where you remove the +[limit[1]] in the filter.

Regards

FrD

Le mercredi 20 mai 2020 04:18:34 UTC+2, Mark S. a écrit :
>
> The original post asks about multiple tid files. When I try to adapt your 
> code like this:
>
><$list filter="[tag[HelloThere]]">
>   <$action-sendmessage
>   $message="tm-download-file"
> $param="$:/core/templates/exporters/TidFile"
>   exportFilter=<>
>   filename={{{ [addsuffix[.tid]] }}} />
>
> 
>
> all of the generated files are empty. Is that a bug, or is there some 
> reason it's not possible to do multiple tid files?
>
> Thanks!
>
> On Tuesday, May 19, 2020 at 5:33:46 PM UTC-7, Eric Shulman wrote:
>>
>> On Tuesday, May 19, 2020 at 3:14:38 PM UTC-7, Jared Lettau wrote:
>>>
>>> Goal: To export individual tiddlers in a format where they can be 
>>> imported.
>>>
>>
>> Give this a try:
>> Export tiddlers with this tag:
>> <$edit-text tag="input" width="50" placeholder="Tag name" tiddler=
>> "$:/temp/myfavtag"/>
>>
>> Found <$count filter="[tag{$:/temp/myfavtag}]"/> matching tiddlers:
>> <$list filter="[tag{$:/temp/myfavtag}]"><>> >
>>
>> <$button> Save to one JSON file
>><$action-sendmessage
>>   $message="tm-download-file"
>> $param="$:/core/templates/exporters/JsonFile"
>>   exportFilter="[tag{$:/temp/myfavtag}]"
>>   filename="tiddlers.json" />
>> 
>> <$button> Save to separate JSON files
>><$list filter="[tag{$:/temp/myfavtag}]">
>>   <$action-sendmessage
>>   $message="tm-download-file"
>> $param="$:/core/templates/exporters/JsonFile"
>>   exportFilter=<>
>>   filename={{{ [addsuffix[.json]] }}} />
>>
>> 
>>
>> That should do it, or at least get you close to what you want.
>>
>> Let me know how it goes.
>>
>> enjoy,
>> -e
>>
>

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/c4044ad9-3fe1-45cd-a173-d3e3d9ecbe84%40googlegroups.com.


[tw5] Re: Personal News

2020-05-18 Thread FrD
Best wishes and get well soon.

Regards

FrD

Le lundi 18 mai 2020 10:59:36 UTC+2, Jeremy Ruston a écrit :
>
> I should let you all know that I have somehow contracted Covid-19, despite 
> being in careful lockdown for two months. I haven't been tested (this is 
> the UK), but the symptoms have gradually become unmistakeable over the last 
> week and a half. It's all tolerable at the moment, and I remain hopeful 
> that this is a mild dose of the disease. My doctor says that I can be 
> cautiously optimistic that I've had symptoms for so long without developing 
> the really dangerous ones. I've been told unequivocally to rest, and so 
> I'll likely be out of action for at least a few days. 
>
> I'm very happy there's so much activity on the group just now, but 
> naturally frustrated not to be able to keep up. Hopefully I'll be back 
> soon, and in the meantime please take care of yourselves and each other, 
>
> Best wishes 
>
> Jeremy 
>
> -- 
> Jeremy Ruston 
> jer...@jermolene.com  
> https://jermolene.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/198dcfe9-0ff4-491a-abac-31621bc3b3c0%40googlegroups.com.


[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-10 Thread FrD
Yes that's how I use it in some TWs of mine.

Regards
FrD

Le dimanche 10 mai 2020 16:01:45 UTC+2, Anne-Laure Le Cunff a écrit :
>
> Wow, thank you so much everyone for all the help
>
> @FrD: Thank you! If I understand correctly, I'd have to tag each new 
> tiddler with the corresponding data-tag to make sure these custom styles 
> are applied?
>
> @...
>
>
>
>
>
> On Sunday, May 10, 2020 at 1:52:35 PM UTC+1, David Gifford wrote:
>>
>> Anne-Laure,
>>
>> Here is a strange but simple hack that just occurred to me: I cloned the 
>> bulleted list button to add  before each line. So you paste from 
>> Roam, Workflowy, etc, select all text, and push the button.
>>
>>
>> https://giffmex.org/stroll/goodies.html#%24%3A%2F.giffmex%2FEditorToolbar%2Fbrbr
>>
>> You will probably want to change the icon.
>>
>>
>>
>>
>> On Saturday, May 9, 2020 at 7:26:44 PM UTC-5, Anne-Laure Le Cunff wrote:
>>>
>>> Hey everyone!
>>>
>>> I often have to paste long content from other sources (Google Doc, Roam, 
>>> email) into TW and it just lumps everything together. No more paragraphs, 
>>> formatting or anything, just a massive blob of text.
>>>
>>> Is there a way to fix this?
>>>
>>> Thank you!
>>> Anne-Laure.
>>>
>>

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/e199f880-eb04-45ff-b845-4914ae4f8fcb%40googlegroups.com.


[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-10 Thread FrD
Hi,

Have a look at https://tiddlywiki.com/#Hard%20Linebreaks%20with%20CSS

Regards
FrD

Le dimanche 10 mai 2020 02:26:44 UTC+2, Anne-Laure Le Cunff a écrit :
>
> Hey everyone!
>
> I often have to paste long content from other sources (Google Doc, Roam, 
> email) into TW and it just lumps everything together. No more paragraphs, 
> formatting or anything, just a massive blob of text.
>
> Is there a way to fix this?
>
> Thank you!
> Anne-Laure.
>

-- 
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 
https://groups.google.com/d/msgid/tiddlywiki/d4d18bab-942f-4e96-9944-eb2535ef9aeb%40googlegroups.com.


[tw5] Re: [ANNOUNCEMENT] file-backups plugin will be updated at: March 20th - Browser restart required!

2020-03-21 Thread FrD
Hi PMario,

Works fine for me (windows 10, firefox 74.0)

Thanks a lot !

Le samedi 21 mars 2020 11:50:57 UTC+1, PMario a écrit :
>
> On Saturday, March 21, 2020 at 7:36:18 AM UTC+1, Jon wrote:
>>
>> Thanks for your work on this, mario.
>>
>
> You are welcome!
> It should be easier now, to make new updates and let users know.
> have fun!
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/468427b3-62b1-4f61-a647-b557e132697e%40googlegroups.com.


[tw5] Re: How does tiddlywiki knows where to apply CSS classes defined inside theme?

2019-02-26 Thread FrD
Hi,

Have a look at $:/themes/jd/Material/Template/Header-Sidebar,
and search for "jd-lists-body".

Regards

FrD

Le mardi 26 février 2019 15:35:34 UTC+1, talha131 a écrit :
>
> I am using material theme by JD
>
> http://j.d.material.tiddlyspot.com/
>
> The stylesheet is here
>
>
> http://j.d.material.tiddlyspot.com/#%24%3A%2Fthemes%2Fjd%2FMaterial%2FStylesheet
>
> It has a class div.tc-tab-content.jd-lists-body. 
>
> When you inspect the tiddlywiki in the browser you can see that this class 
> is applied to the sidebar content
>
> My question is how does TW knows which CSS class or selector is to be 
> applied to which component?
>
> In theme source code, I don’t see any where that says apply 
> div.tc-tab-content.jd-lists-body to this specific div. 
>
> Usually you declare CSS classes in the html for example
>
> 
> 
> Lorem ispum
> 
> 
>
> Where is the part  
> ​
>

-- 
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/7778ee4a-26ee-4e7f-b69e-35fc7bb0ee1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Cloning a Tiddler

2019-02-19 Thread FrD


Le mardi 19 février 2019 20:06:52 UTC+1, Mohammad a écrit :
>
> Hi Mark,
> Yes, but I have to iterate over all fields. 
>

Hi,

No, you don't have to iterate over the fields ; it clones the template and 
gives the clone the title you pass.

Regards

FrD

-- 
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/93e2ca0a-7df5-4e91-aa6b-c9f9a5d5288c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Cloning a Tiddler

2019-02-19 Thread FrD
Hi,

Have a look at :

https://groups.google.com/d/msg/tiddlywiki/swbra9EhOm4/dQk3YpsPAQAJ

Delete the part where you remove a field. The drawback is that you need to 
know the new title.

Regards

FrD

Le mardi 19 février 2019 09:49:21 UTC+1, Mohammad a écrit :
>
> How is it possible to clone a tiddler without navigation to it?
>
>
>1. use the tm-new-tiddler
>   - issue: open the tiddler in the story river, not good for bulk 
>   cloning
>2. use the action action-createtiddler
>   - issue: has to iterate over all fields and copy one by one to the 
>   new tiddler, performance issue not simple
>
> What do you propose? Any better solution?
>
> Ref: TonyM: 
> https://groups.google.com/d/msg/tiddlywiki/WsiLG2xTViM/DO5NdudQBQAJ
>
>
> --Mohammad
>

-- 
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/9042dcb7-ef01-42c7-9e9f-7b382f8c7802%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-18 Thread FrD
Hi,

Latest version on http://simplecalendar.tiddlyspot.com/ .
Two fixes :

   - styles "manager" is working again
   - state tiddler doesn't need to exist before creating the calendar
   
Let me know how it goes ...

Regards

FrD

Le dimanche 10 février 2019 18:07:16 UTC+1, FrD a écrit :
>
> Hi,
>
> I am on my phone so not easy to post. You could try this fix :
>
> Locate the tiddler $:/plugins/frd/simplecalendar/DaysTemplate
>
> Edit it.
> Just after all the "define", locate <$wikify .../> ... 
> Replace with
>
> <$set name="style" value=<>>
> <$wikify name="itemTitle" text="$:/simplecalendar/<

[tw5] Re: How to count items within a field of a tiddler that matches a certain pattern

2019-02-11 Thread FrD
Hi.

You could try :

\define ckl_state() $(currentTiddler)$_state

<$tiddler tiddler=<>>
<$count filter="[list[!!ckl_checked]]" /> / <$count 
filter="[list[!!ckl_items-enabled]]" />
/$tiddler>

Regards

FrD

-- 
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/6fb53aef-7de3-4c68-951c-9442e307b237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-10 Thread FrD
Hi,

I am on my phone so not easy to post. You could try this fix :

Locate the tiddler $:/plugins/frd/simplecalendar/DaysTemplate

Edit it.
Just after all the "define", locate <$wikify .../> ... 
Replace with

<$set name="style" value=<>>
<$wikify name="itemTitle" text="$:/simplecalendar/<

[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-09 Thread FrD
Hi,

Sorry for yours problems with the plugin. Will be absent for a week and 
will tackle that just after.

Regards

FrD

Le samedi 9 février 2019 22:16:34 UTC+1, Artem Ivanov a écrit :
>
> Installed your latest.
>
> Now, for some reason the td class in the table is coming up as 
> "calendar-undefined" 
> and the styles aren't working.
>
> I'm running 5.1.19 on Node.js
>
> Thanks again,
>
> Art
>
> On Friday, February 8, 2019 at 4:25:20 PM UTC-5, FrD wrote:
>>
>> Hi,
>>
>> I've updated the simplecalendar plugin ; in the latest version  you don't 
>> need to create the state tiddler anymore before calling the macro. It will 
>> be created when needed.
>> Grab the plugin at http://simplecalendar5-1-19.tiddlyspot.com/
>>
>> Regards
>> FrD
>>
>> Le vendredi 8 février 2019 17:59:21 UTC+1, FrD a écrit :
>>>
>>> Hi,
>>>
>>> Just create the tiddler "MyStateTiddler" and then your macro call 
>>> should work.
>>>
>>> After having created the tiddler, open the tiddler containing your macro 
>>> call (<>> monthState:"MyStateTiddler!!month">>) and close it. It will refresh its 
>>> content and display your calendar.
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le vendredi 8 février 2019 17:25:01 UTC+1, Artem Ivanov a écrit :
>>>>
>>>> What I mean is, after uninstalling the plugin and a fresh install of 
>>>> the 5.1.19 version,
>>>>
>>>> <>>> monthState:"MyStateTiddler!!month">>
>>>>
>>>> does not work.
>>>>
>>>> tia
>>>>
>>>> On Friday, February 8, 2019 at 3:35:28 AM UTC-5, FrD wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> For now you need to create the state tiddler before calling the 
>>>>> simplecalendar macro. This behavior didn't change from the previous 
>>>>> version.
>>>>> The reason is that a macro can only return a string and should not 
>>>>> modify a tiddler or create a new one (only widgets should do that). So it 
>>>>> was easier for me to build the simplecalendar macro this way.
>>>>>
>>>>> But the code could be improved and the state tiddler could be created 
>>>>> at the first click on a month or year button. I'll have a look and 
>>>>> hopefully will come back with a new version ...
>>>>>
>>>>> Regards
>>>>>
>>>>> FrD
>>>>>
>>>>> Le vendredi 8 février 2019 01:29:13 UTC+1, Artem Ivanov a écrit :
>>>>>>
>>>>>> Hi FrD,
>>>>>>
>>>>>> Thank you, this version solved the issue. However, now when I use
>>>>>>
>>>>>> <>>>>> monthState:"MyStateTiddler!!month">>
>>>>>>
>>>>>> I get this error:
>>>>>>
>>>>>> The state tiddler for the year does not exist ; create it before 
>>>>>> calling the simplecalendar macro
>>>>>>
>>>>>> Should I just use 5.1.17 for now?
>>>>>>
>>>>>> On Wednesday, February 6, 2019 at 5:04:16 PM UTC-5, FrD wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I've made some changes in the tiddler 
>>>>>>> $:/plugins/frd/simplecalendar/DaysTemplate.
>>>>>>> Could you test the new version of the plugin from 
>>>>>>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>>>>>>> ?
>>>>>>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>>>>>>> And let me know how it works ...
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> FrD
>>>>>>>
>>>>>>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>>>>>>
>>>>>>>> Newbie here,
>>>>>>>>
>>>>>>>> In a plugin i recently installed (simplecalendar), when calling out 
>>>>>>>> a defined variable as $(style)$, it doesn't return the data but 
>>>>>>>> the variable itself.
>>>>>>>> Not sure how else to put this. This is from the plugin's default 
>>>>>>>> code of $:/plugins/frd/simplecalendar/DaysTemplate:
>>>>>>>>
>>>>>>>> <$set name="style" value=<>>
>>>>>>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>>>>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create 
>>>>>>>> new item" actions=<>>
>>>>>>>>  {{$:/core/images/new-button}}
>>>>>>>>  
>>>>>>>>  
>>>>>>>> 
>>>>>>>>
>>>>>>>> So here the itemTitle is defined as literally 
>>>>>>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>>>>>>
>>>>>>>> Am I missing a setting?
>>>>>>>>
>>>>>>>> tia
>>>>>>>>
>>>>>>>>
>>>>>>>>

-- 
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/9d3618f6-fef3-4817-ac77-7f5f1b6adc21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-08 Thread FrD
Hi,

I've updated the simplecalendar plugin ; in the latest version  you don't 
need to create the state tiddler anymore before calling the macro. It will 
be created when needed.
Grab the plugin at http://simplecalendar5-1-19.tiddlyspot.com/

Regards
FrD

Le vendredi 8 février 2019 17:59:21 UTC+1, FrD a écrit :
>
> Hi,
>
> Just create the tiddler "MyStateTiddler" and then your macro call should 
> work.
>
> After having created the tiddler, open the tiddler containing your macro 
> call (< monthState:"MyStateTiddler!!month">>) and close it. It will refresh its 
> content and display your calendar.
>
> Regards
>
> FrD
>
> Le vendredi 8 février 2019 17:25:01 UTC+1, Artem Ivanov a écrit :
>>
>> What I mean is, after uninstalling the plugin and a fresh install of the 
>> 5.1.19 version,
>>
>> <> monthState:"MyStateTiddler!!month">>
>>
>> does not work.
>>
>> tia
>>
>> On Friday, February 8, 2019 at 3:35:28 AM UTC-5, FrD wrote:
>>>
>>> Hi,
>>>
>>> For now you need to create the state tiddler before calling the 
>>> simplecalendar macro. This behavior didn't change from the previous version.
>>> The reason is that a macro can only return a string and should not 
>>> modify a tiddler or create a new one (only widgets should do that). So it 
>>> was easier for me to build the simplecalendar macro this way.
>>>
>>> But the code could be improved and the state tiddler could be created at 
>>> the first click on a month or year button. I'll have a look and hopefully 
>>> will come back with a new version ...
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le vendredi 8 février 2019 01:29:13 UTC+1, Artem Ivanov a écrit :
>>>>
>>>> Hi FrD,
>>>>
>>>> Thank you, this version solved the issue. However, now when I use
>>>>
>>>> <>>> monthState:"MyStateTiddler!!month">>
>>>>
>>>> I get this error:
>>>>
>>>> The state tiddler for the year does not exist ; create it before 
>>>> calling the simplecalendar macro
>>>>
>>>> Should I just use 5.1.17 for now?
>>>>
>>>> On Wednesday, February 6, 2019 at 5:04:16 PM UTC-5, FrD wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I've made some changes in the tiddler 
>>>>> $:/plugins/frd/simplecalendar/DaysTemplate.
>>>>> Could you test the new version of the plugin from 
>>>>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>>>>> ?
>>>>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>>>>> And let me know how it works ...
>>>>>
>>>>> Regards
>>>>>
>>>>> FrD
>>>>>
>>>>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>>>>
>>>>>> Newbie here,
>>>>>>
>>>>>> In a plugin i recently installed (simplecalendar), when calling out a 
>>>>>> defined variable as $(style)$, it doesn't return the data but the 
>>>>>> variable itself.
>>>>>> Not sure how else to put this. This is from the plugin's default code 
>>>>>> of $:/plugins/frd/simplecalendar/DaysTemplate:
>>>>>>
>>>>>> <$set name="style" value=<>>
>>>>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create 
>>>>>> new item" actions=<>>
>>>>>>  {{$:/core/images/new-button}}
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>>
>>>>>> So here the itemTitle is defined as literally 
>>>>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>>>>
>>>>>> Am I missing a setting?
>>>>>>
>>>>>> tia
>>>>>>
>>>>>>
>>>>>>

-- 
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/f3e7cd38-f0f9-48ca-99ca-5d258b5fd184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-08 Thread FrD
Hi,

Just create the tiddler "MyStateTiddler" and then your macro call should 
work.

After having created the tiddler, open the tiddler containing your macro 
call (<>) and close it. It will refresh its 
content and display your calendar.

Regards

FrD

Le vendredi 8 février 2019 17:25:01 UTC+1, Artem Ivanov a écrit :
>
> What I mean is, after uninstalling the plugin and a fresh install of the 
> 5.1.19 version,
>
> < monthState:"MyStateTiddler!!month">>
>
> does not work.
>
> tia
>
> On Friday, February 8, 2019 at 3:35:28 AM UTC-5, FrD wrote:
>>
>> Hi,
>>
>> For now you need to create the state tiddler before calling the 
>> simplecalendar macro. This behavior didn't change from the previous version.
>> The reason is that a macro can only return a string and should not modify 
>> a tiddler or create a new one (only widgets should do that). So it was 
>> easier for me to build the simplecalendar macro this way.
>>
>> But the code could be improved and the state tiddler could be created at 
>> the first click on a month or year button. I'll have a look and hopefully 
>> will come back with a new version ...
>>
>> Regards
>>
>> FrD
>>
>> Le vendredi 8 février 2019 01:29:13 UTC+1, Artem Ivanov a écrit :
>>>
>>> Hi FrD,
>>>
>>> Thank you, this version solved the issue. However, now when I use
>>>
>>> <>> monthState:"MyStateTiddler!!month">>
>>>
>>> I get this error:
>>>
>>> The state tiddler for the year does not exist ; create it before calling 
>>> the simplecalendar macro
>>>
>>> Should I just use 5.1.17 for now?
>>>
>>> On Wednesday, February 6, 2019 at 5:04:16 PM UTC-5, FrD wrote:
>>>>
>>>> Hi,
>>>>
>>>> I've made some changes in the tiddler 
>>>> $:/plugins/frd/simplecalendar/DaysTemplate.
>>>> Could you test the new version of the plugin from 
>>>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>>>> ?
>>>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>>>> And let me know how it works ...
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>>>
>>>>> Newbie here,
>>>>>
>>>>> In a plugin i recently installed (simplecalendar), when calling out a 
>>>>> defined variable as $(style)$, it doesn't return the data but the 
>>>>> variable itself.
>>>>> Not sure how else to put this. This is from the plugin's default code 
>>>>> of $:/plugins/frd/simplecalendar/DaysTemplate:
>>>>>
>>>>> <$set name="style" value=<>>
>>>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create 
>>>>> new item" actions=<>>
>>>>>  {{$:/core/images/new-button}}
>>>>>  
>>>>>  
>>>>> 
>>>>>
>>>>> So here the itemTitle is defined as literally 
>>>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>>>
>>>>> Am I missing a setting?
>>>>>
>>>>> tia
>>>>>
>>>>>
>>>>>

-- 
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/d180feb9-a7a0-4fa4-bacf-34d51349ce48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-08 Thread FrD
Hi TonyM,



Le vendredi 8 février 2019 02:13:39 UTC+1, TonyM a écrit :
>
> FrD,
>
> Thanks, I suppose if I had to choose it would be;
>
> sc_linkNavigateToOrCreateEditModeJournal : navigate to a journal or create 
> it in edit mode
>
>
>- Does this mean if it exists it opens in view mode, if it does not 
>the new one opens in edit mode?
>
>
Yes.
 

>
>- 
>
>
> Could you perhaps include user defined actions such as 
> <> where the user can then define
>
> \define simplecal-onclickday-actions()
>
> <$action-sendmessage $message="tm-add-tag" param="Journal">>/>
>
> <$action-setfield $field=journal-date $value=< "0MM0DD0hh0mm0ss000">>/>
>
> \end
>
> and the above will add the tag and fieldname the user desires, and if not 
> defined will do nothing?
>
> Thanks
> Tony
>
 
Inside the <$button> widget of the 
"sc_linkNavigateToOrCreateEditModeJournal" macro, put the following code :

<$action-setfield $tiddler=<> $field="journal-date" $value=<
>/>
<$action-setfield $tiddler=<> tags="Journal"/>
<$action-sendmessage $message="tm-edit-tiddler" param=<>/>
//$day$//

Or better, copy the macro, rename it and change the content of the 
<$button> widget.
That should do what you want.

Regards

FrD

-- 
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/875587f3-8d3b-4f5f-8e69-cee6f00c517b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-08 Thread FrD
Hi,

For now you need to create the state tiddler before calling the 
simplecalendar macro. This behavior didn't change from the previous version.
The reason is that a macro can only return a string and should not modify a 
tiddler or create a new one (only widgets should do that). So it was easier 
for me to build the simplecalendar macro this way.

But the code could be improved and the state tiddler could be created at 
the first click on a month or year button. I'll have a look and hopefully 
will come back with a new version ...

Regards

FrD

Le vendredi 8 février 2019 01:29:13 UTC+1, Artem Ivanov a écrit :
>
> Hi FrD,
>
> Thank you, this version solved the issue. However, now when I use
>
> < monthState:"MyStateTiddler!!month">>
>
> I get this error:
>
> The state tiddler for the year does not exist ; create it before calling 
> the simplecalendar macro
>
> Should I just use 5.1.17 for now?
>
> On Wednesday, February 6, 2019 at 5:04:16 PM UTC-5, FrD wrote:
>>
>> Hi,
>>
>> I've made some changes in the tiddler 
>> $:/plugins/frd/simplecalendar/DaysTemplate.
>> Could you test the new version of the plugin from 
>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>> ?
>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>> And let me know how it works ...
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>
>>> Newbie here,
>>>
>>> In a plugin i recently installed (simplecalendar), when calling out a 
>>> defined variable as $(style)$, it doesn't return the data but the 
>>> variable itself.
>>> Not sure how else to put this. This is from the plugin's default code of 
>>> $:/plugins/frd/simplecalendar/DaysTemplate:
>>>
>>> <$set name="style" value=<>>
>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
>>> item" actions=<>>
>>>  {{$:/core/images/new-button}}
>>>  
>>>  
>>> 
>>>
>>> So here the itemTitle is defined as literally 
>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>
>>> Am I missing a setting?
>>>
>>> tia
>>>
>>>
>>>

-- 
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/8714518f-d09d-4a8a-aaa2-ab12d859bfcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-06 Thread FrD
Hi TonyM,

I'd be pleased to help you. Can you bring me bit more of the context ?

I assume you want to create a "journal" tiddler by clicking on a cell on 
the calendar. The macro invoked by clicking on a date is the one declared 
in the config tiddler : see for instance 
$:/plugins/frd/simplecalendar/CalendarConfigDefault

The macro is the value of the "cellContent" index. 
There are 4 different values corresponding to 4 different macros. The code 
of the macros is in
$:/plugins/frd/simplecalendar/CalendarCellContentMacros

sc_basic : doesn't open or create a journal tiddler
sc_linkNavigateToJournal : navigate to the journal tiddler
sc_linkNavigateToOrCreateViewModeJournal : navigate to a journal or create 
it in view mode
sc_linkNavigateToOrCreateEditModeJournal : navigate to a journal or create 
it in edit mode

So if you tell me the desired behavior (from the four described above) I 
could write a 5th macro as a modified version that could set a tag and a 
field as required.

Hope this clarifies a bit

Regards

FrD


Le mercredi 6 février 2019 23:34:20 UTC+1, TonyM a écrit :
>
> FrD,
>
> I was just testing the update, and realised I wanted to make a change to 
> include a tag of "Journal" and add a field with the full date in it eg; 
> journal-date with the value 
> journal-date=<>
>
> However my initial attempt failed. 
>
> Would you be able to advise where I can do this please?
>
> I am also keen to bring forward week numbers and make a few other 
> adjustments, I would be happy to share back, but I need to work it out in 
> the first place
>
> Thanks
> Tony
>
>
> On Thursday, February 7, 2019 at 9:04:16 AM UTC+11, FrD wrote:
>>
>> Hi,
>>
>> I've made some changes in the tiddler 
>> $:/plugins/frd/simplecalendar/DaysTemplate.
>> Could you test the new version of the plugin from 
>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>> ?
>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>> And let me know how it works ...
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>
>>> Newbie here,
>>>
>>> In a plugin i recently installed (simplecalendar), when calling out a 
>>> defined variable as $(style)$, it doesn't return the data but the 
>>> variable itself.
>>> Not sure how else to put this. This is from the plugin's default code of 
>>> $:/plugins/frd/simplecalendar/DaysTemplate:
>>>
>>> <$set name="style" value=<>>
>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
>>> item" actions=<>>
>>>  {{$:/core/images/new-button}}
>>>  
>>>  
>>> 
>>>
>>> So here the itemTitle is defined as literally 
>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>
>>> Am I missing a setting?
>>>
>>> tia
>>>
>>>
>>>

-- 
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/b5d8bd46-0739-4655-a272-46ca93973564%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-06 Thread FrD
Hi Mohammad and Mark !

Thanks for your answers. I think you're right on the spot.
I'll need to inspect my (old) code to see if I'm using this kind of 
construct.

Regards

FrD

Le jeudi 7 février 2019 05:13:47 UTC+1, Mohammad a écrit :
>
> See the note by Mark.
> The problem is with $(style)$.
>
> The below show the same result in TW5.1.17, 5.1.18 and 5.1.19
>
> \define concat() Prefix_$(style)$
> <$set name="style" value=<> >
>  <$wikify name="itemTitle" text=<> >
>  <>
>  
> 
>
>
>  <$wikify name="itemTitle" text="""Prefix_<>
> """>
>  <>
>  
>
>
>
>
> Name the macro whatever you wish.
>
>
> --Mohammad
>
> On Thursday, February 7, 2019 at 2:00:10 AM UTC+3:30, FrD wrote:
>>
>> Hi,
>>
>> Following the bug just reported here, I tried the following code in a 
>> 5.1.17 and a 5.1.19 TW :
>>
>> <$set name="style" value=<>>
>>  <$wikify name="itemTitle" text="Prefix_$(style)$">
>>  <>
>>  
>> 
>>
>>  <$wikify name="itemTitle" text="""Prefix_<> >>""">
>>  <>
>>  
>>
>>
>> The result of these two expressions is the same in the 5.1.17 version.
>> And not in the 5.1.19.
>>
>> I couldn't test on 5.1.18.
>>
>> Could someone explain this behaviour ?
>>
>> Thanks and regards
>>
>> FrD
>>
>> Le mercredi 6 février 2019 23:04:16 UTC+1, FrD a écrit :
>>>
>>> Hi,
>>>
>>> I've made some changes in the tiddler 
>>> $:/plugins/frd/simplecalendar/DaysTemplate.
>>> Could you test the new version of the plugin from 
>>> http://simplecalendar5-1-19.tiddlyspot.com/ 
>>> ?
>>> <http://simplecalendar5-1-19.tiddlyspot.com/>
>>> And let me know how it works ...
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>>>
>>>> Newbie here,
>>>>
>>>> In a plugin i recently installed (simplecalendar), when calling out a 
>>>> defined variable as $(style)$, it doesn't return the data but the 
>>>> variable itself.
>>>> Not sure how else to put this. This is from the plugin's default code 
>>>> of $:/plugins/frd/simplecalendar/DaysTemplate:
>>>>
>>>> <$set name="style" value=<>>
>>>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
>>>> item" actions=<>>
>>>>  {{$:/core/images/new-button}}
>>>>  
>>>>  
>>>> 
>>>>
>>>> So here the itemTitle is defined as literally 
>>>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>>>
>>>> Am I missing a setting?
>>>>
>>>> tia
>>>>
>>>>
>>>>

-- 
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/6b8c7514-2bc4-4684-bc59-bb14192fc737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-06 Thread FrD
Hi,

Following the bug just reported here, I tried the following code in a 
5.1.17 and a 5.1.19 TW :

<$set name="style" value=<>>
 <$wikify name="itemTitle" text="Prefix_$(style)$">
 <>
 


 <$wikify name="itemTitle" text="""Prefix_<
>""">
 <>
 


The result of these two expressions is the same in the 5.1.17 version.
And not in the 5.1.19.

I couldn't test on 5.1.18.

Could someone explain this behaviour ?

Thanks and regards

FrD

Le mercredi 6 février 2019 23:04:16 UTC+1, FrD a écrit :
>
> Hi,
>
> I've made some changes in the tiddler 
> $:/plugins/frd/simplecalendar/DaysTemplate.
> Could you test the new version of the plugin from 
> http://simplecalendar5-1-19.tiddlyspot.com/ 
> ?
> <http://simplecalendar5-1-19.tiddlyspot.com/>
> And let me know how it works ...
>
> Regards
>
> FrD
>
> Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>>
>> Newbie here,
>>
>> In a plugin i recently installed (simplecalendar), when calling out a 
>> defined variable as $(style)$, it doesn't return the data but the 
>> variable itself.
>> Not sure how else to put this. This is from the plugin's default code of 
>> $:/plugins/frd/simplecalendar/DaysTemplate:
>>
>> <$set name="style" value=<>>
>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
>> item" actions=<>>
>>  {{$:/core/images/new-button}}
>>  
>>  
>> 
>>
>> So here the itemTitle is defined as literally 
>> "$:/simplecalendar/$(style)$" and not that defined by style.
>>
>> Am I missing a setting?
>>
>> tia
>>
>>
>>

-- 
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/388de966-baa8-45a5-8dbf-e5c76d3d137d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-06 Thread FrD
Hi,

I've made some changes in the tiddler 
$:/plugins/frd/simplecalendar/DaysTemplate.
Could you test the new version of the plugin from 
http://simplecalendar5-1-19.tiddlyspot.com/ 
?
<http://simplecalendar5-1-19.tiddlyspot.com/>
And let me know how it works ...

Regards

FrD

Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>
> Newbie here,
>
> In a plugin i recently installed (simplecalendar), when calling out a 
> defined variable as $(style)$, it doesn't return the data but the 
> variable itself.
> Not sure how else to put this. This is from the plugin's default code of 
> $:/plugins/frd/simplecalendar/DaysTemplate:
>
> <$set name="style" value=<>>
>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
> item" actions=<>>
>  {{$:/core/images/new-button}}
>  
>  
> 
>
> So here the itemTitle is defined as literally 
> "$:/simplecalendar/$(style)$" and not that defined by style.
>
> Am I missing a setting?
>
> tia
>
>
>

-- 
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/b7a8c53e-8247-4ef2-bde9-3c12716df0a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 $(variable)$ doesn't work

2019-02-06 Thread FrD
Hi Ivanov,

I'm the author of that plugin. I didn't test it with the last version of TW 
(5.1.19). And indeed as you've found there is a new bug. I'll investigate 
and get back to you.

Regards

FrD

Le mercredi 6 février 2019 20:03:42 UTC+1, Artem Ivanov a écrit :
>
> Newbie here,
>
> In a plugin i recently installed (simplecalendar), when calling out a 
> defined variable as $(style)$, it doesn't return the data but the 
> variable itself.
> Not sure how else to put this. This is from the plugin's default code of 
> $:/plugins/frd/simplecalendar/DaysTemplate:
>
> <$set name="style" value=<>>
>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
> item" actions=<>>
>  {{$:/core/images/new-button}}
>  
>  
> 
>
> So here the itemTitle is defined as literally 
> "$:/simplecalendar/$(style)$" and not that defined by style.
>
> Am I missing a setting?
>
> tia
>
>
>

-- 
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/849f6cfa-7fdb-4864-ac0b-9590b8b70529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching Tiddlers with transcluded content

2018-12-16 Thread FrD
Hi,

I'm wondering whether an option could be added to the search operator 
allowing to search a "wikified" version of the text (or the field) of a 
tiddler.
The change in the code could be in the search function that lives in 
wiki.js. The field that is to be searched could be wikified before the 
search according to an option or a field value for this particular tiddler.

I believe there should be more tools to manage transclusions as 
transclusions are an ordinary way to organize knowledge in TW. I feel 
sometimes that :
- on one hand we don't have "sections" anymore (I was a fan of sections in 
TWC) and so we have to cut information into small pieces and use 
transclusions. And I'm fine with that.
- but on the other hand we don't have many tools to deal with transclusions.

A search with wikified content could be such a tool.

Regards

FrD

Le vendredi 14 décembre 2018 19:23:28 UTC+1, S. S. a écrit :
>
> Emily, there was a discussion some months ago which may shed some (very 
> dim) light : Backlinking' transclusions ? 
> <https://groups.google.com/forum/#!topic/tiddlywiki/IZVvyMxNqqo/>
>
> --
>
> The rest of this is not an answer - just some thoughts relating to the 
> question.
>
> As I create more and more "written" material, I keep running against this 
> "smallest semantic unit" - and "small tiddlers re-used by transclusion."
>
> My constant concern is, when I want to find that "written" material, will 
> I be able to find it in its proper context (with the other main material of 
> which it is a part) - quickly, easily, and without fail.
>
> For example, I take an excerpt of a few paragraphs from a book by one 
> author and put it in a tiddler. Within that excerpt is a quote from another 
> book with another author. If I put the quote in a second tiddler and 
> transclude it back into the first tiddler, I would need a way to know 
> later, which tiddler has transcluded this second tiddler, as a search will 
> find the quote in the second tiddler, but in itself, without its context, 
> this quote is useless.
>
> I may be able to find its place by searching for the literal " {{second 
> tiddler}} ". But what if the transclusion is done by a macro, or 
> <$transclude .../>, or <$list filter=" ... "/>
>
> One solution would be to have a "related" field in the second tiddler (or 
> maybe first tiddler?) that is manually updated each time it is transcluded, 
> but this is more cumbersome to do than first imagined.***See the note 
> below
>
> To avoid this happening, whenever I have material that I expect may need 
> to be searched for and found within its proper context - and I cannot find 
> a way to "safely" transclude it - I do not separate it into a smaller unit. 
> I keep it within its context no matter how big the tiddler becomes.
>
> I have a feeling this philosophy I am using is inherently wrong. Perhaps 
> one day I will understand a better way of doing it.
>
>
>
> *** Note:
> Automagically keeping track of related tiddlers 
> <https://groups.google.com/forum/#!topic/tiddlywiki/TXrQk1WCp8Q>
> Handling Changing Relationships Between Tiddlers 
> <https://groups.google.com/forum/#!topic/tiddlywiki/iBzf2L24rhU>
>
>

-- 
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/3062125d-37ee-4d19-a601-b306db345141%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Simple Calendar Macro

2018-09-13 Thread FrD
Hi Marcus,

The first version of the macro had a datepicker. But the current version 
doesn't have one.

I've got a working prototype of a datepicker based on the current 
simplecalendar macro. It needs a bit more polishing.
I plan to release it in the coming weeks (or days ...)

Regards

FrD

Le mercredi 12 septembre 2018 10:44:22 UTC+2, Marcus a écrit :
>
> Is there a way to use the <> macro to change the value of 
> a field?
>
> For example: <> to change the field 
> agenda-date of <> to the date selected on the calendar
>
> How would I modify the macro to do that? 
>

-- 
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/f137002d-78ae-44b1-8d72-6384a36ef36f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: flexbox in TW

2018-08-26 Thread FrD
Hi Mohammad ,

Thanks for the link ! very interesting.

Regards

FrD

Le dimanche 26 août 2018 12:00:09 UTC+2, Mohammad a écrit :
>
> Hello Jeremy!
>
> Based on your reply, I understand there is no reason to not use flexbox in 
> TW5.
> I would like to refer to http://solar-flair.tiddlyspot.com/ a great 
> example of using
> flexbox to create a story river in two columns in TW5. 
> Thanks to Rustem!
>
> Note: Click on the icon next to save button to switch between two layouts 
> (single column and double columns story river!)
>
> Best
> Mohammad
>
>
>
> On Sunday, August 26, 2018 at 2:18:37 PM UTC+4:30, Jeremy Ruston wrote:
>>
>> Hi Tony
>>
>> On 26 Aug 2018, at 01:00, TonyM  wrote:
>>
>> flexbox not specificaly used in tiddlywiki
>>
>>
>> Indeed, flexbox was not widely supported by browsers when TW5 started. 
>> The one thing that the core uses it for is constructing vertical tabs.
>>
>> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9f649dc4-baed-4ae7-a32d-d09b4a18e076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: flexbox in TW

2018-08-25 Thread FrD
Hi,

You could type "flex" in advanced search in a TW (ont the site or in an 
empty one), then search in "$:/themes/tiddlywiki/vanilla/base" for the same 
word and see where it"s used.

Regards

FrD

Le samedi 25 août 2018 21:12:42 UTC+2, Mohammad a écrit :
>
> Hello Tony!
>
>  Thank you for the links! How was your experiences using flexbox?
> I am not sure if TW itself uses or recommend flex box?
>
>
> Cheers 
> Mohammad
>
> On Saturday, August 25, 2018 at 2:23:26 AM UTC+4:30, TonyM wrote:
>>
>> Mohammad
>>
>> I played with the info here with some sucess in tiddlywiki 
>> https://www.w3schools.com/css/css3_flexbox.asp
>> Regards
>> Tony
>>
>

-- 
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/053bc72d-4678-4b70-9132-8932f50a64e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Idea for simple versioning system

2018-08-23 Thread FrD
Hi,

About Auto-download (or SaveTrail plugin), I believe it could be useful if 
someone could "merge" this plugin with some kind of "file-backups" (from 
PMario). So we could choose what tiddler to automatically backup (with a 
special button for instance) in a designated folder (like file-backups 
already does) and as a JSON file. It would be a "raw" tiddler-level backup.

Just a thought.

Regards

FrD

Le jeudi 23 août 2018 06:47:17 UTC+2, TonyM a écrit :
>
> Mat,
>
> There are more than one type of "Versioning system".
>
> ...
>
>
>- ...
>- The Core Plugin Auto-download modified tiddlers
>This plugin causes TiddlyWiki <https://tiddlywiki.com/#TiddlyWiki> to 
>continuously download (as a JSON file) the contents of any tiddler that is 
>manually changed by any of several means ...
>
>

-- 
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/77eaa44b-f73f-46cd-a023-9a3c00fac3ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Idea for simple versioning system

2018-08-22 Thread FrD
Hi,

What about http://j.d.revisions.tiddlyspot.com/ ?

Regards

FrD

Le mercredi 22 août 2018 23:10:34 UTC+2, Mat a écrit :
>
> This is not a question nor anything I intend to implement but I just 
> thought it was an interesting idea;
>
> Someone complained 
> <https://stackoverflow.com/questions/50707651/tiddlywiki-alternative> that 
> TW doesn't feature versioning. If it is a big deal, then shouldn't it be 
> simple to create a primitive versioning system by merely modding the Save 
> tiddler button (or make a new button) that triggers an action widget that 
> creates a numbered copy of the tiddler? Some minor shuffling to get the old 
> content be in the tiddler with the new (numbered) title is probably needed 
> but we definitely have the tools needed and it shouldn't be very tricky.
>
> Then, also not complicated, just make a tiddler viewtemplate that lists 
> those previous versions. 
>
> Yeah, that was all.
>
> <:-)
>

-- 
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/5b4c2d23-f4cc-4a26-8fd6-bd6facbc9091%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: List indexes from a dictionary tiddler (data tiddler)

2018-08-21 Thread FrD
Hi Mohammad,

Here is the main function in  $:/core/modules/filters/indexes.js :

exports.indexes = function(source,operator,options) {
var results = [];
source(function(tiddler,title) {
var data = options.wiki.getTiddlerDataCached(title);
if(data) {
$tw.utils.pushTop(results,Object.keys(data));
}
});
results.sort();
return results;
};


It indeed sorts the results !


Regards

FrD

Le mardi 21 août 2018 17:57:27 UTC+2, Mohammad a écrit :
>
> Thank you Mark!
> I edited my question! yes the correct code was
> <$list filter="[[My Alert Class Dictionary]indexes[]addprefix[bg-] 
> -index[bg-warning bg-light]]" variable="alert-type">
> <>
> 
>
> No I learned I can remove those indexes (light and warning) before adding 
> the prefix bg-
>
> I use chrome and for me the results by indexes operator is sorted! not 
> good for what i want to do!
>
> Mohammad
>
>
> On Tuesday, August 21, 2018 at 8:15:39 PM UTC+4:30, Mark S. wrote:
>>
>> I'm not sure what bg-warn and bg-light are, since they're not in your 
>> dictionary.
>>
>> You can only do boolean subtract on an entire filter run -- not inside a 
>> run.
>>
>> So this might work for the first part:
>>
>> [[My Alert Class Dictionary]indexes[]addprefix[alert-]]
>>
>> If you just wanted to remove warn and light, then maybe this:
>>
>> [[My Alert Class 
>> Dictionary]indexes[]!prefix[warn]!prefix[light]addprefix[alert-]]
>>
>> Whenever a TW filter has a title list, it compresses it (eliminates 
>> duplicates), so I imagine that it may also incidentally sort the results. I 
>> haven't looked at the code, but if it was me I would just use javascript's 
>> ability to eliminate duplicates, then pull out the unique values. That 
>> might imply that sorting would be dependent on which browser you used, 
>> since different javascript engines might have internal differences.
>>
>> -- Mark
>>
>> On Tuesday, August 21, 2018 at 8:00:16 AM UTC-7, Mohammad wrote:
>>>
>>>
>>>
>>> I have a dictionary tiddler as below (My Alert Class Dictionary)
>>>
>>> primary:x
>>> secondary:x
>>> info:x
>>> success:x
>>> warning:x
>>> danger:x
>>> light:x
>>> dark:x
>>>
>>>
>>>
>>> I used the idea by Mark S to list my classes except warning and light, 
>>> so I used the below snippet, but it doesn't work?
>>>
>>>
>>> <$list filter="[[My Alert Class Dictionary]indexes[]addprefix[alert-] 
>>> -index[bg-warning bg-light]]" variable="alert-type">
>>> <>
>>> 
>>>
>>>
>>> Q2.
>>>  Why the above list widget sorts indexes in output while I have not used 
>>> sort[title]?
>>>
>>>
>>> -Mohammad
>>>
>>

-- 
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/0491d062-2577-45cb-b454-e7e0304f3268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css, before: and svg

2018-08-20 Thread FrD
Hi c pa,

Thanks for the reply.
I've tried your way but I couldn't make it work.
Have you tried on https://tiddlywiki.com/

Regards

FrD

Le lundi 20 août 2018 07:28:12 UTC+2, c pa a écrit :
>
> The problem is probably in the number of quote marks. If there are "" in 
> the svg then you have to surround them with 3 quotes.
>
> Also the code for the SVG is part of a longer string so you have to set a 
> variable to the contents of the svg and then insert that variable in the 
> text using substitution like this:
>
> \define svgbeforeclass()
> .square:before{
>display: block;
>content: url("data:image/svg+xml;charset=UTF-8,$(svgcode)$");
>background-size: 28px 28px;
>height: 28px;
>width: 28px;
> }
> \end
> <$set name=svgcode tiddler="svgTiddler" field="text" >
> <>
> 
>

-- 
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/b527d2fb-55d4-4505-ac4e-38bbc0097da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to find or filter all tiddlers that have custom fields?

2018-08-15 Thread FrD
Hi,

Assuming that the "non-custom" fields of a tiddler are :

   - title
   - text
   - tags
   - modified
   - created
   - type

Here is my proposal (but not sure it works really as intended). You'd 
better test it :

<$list filter="[all[tiddlers]!is[system]!has[draft.of]]">
<$list filter="[]fields[] -[text] -[title] -[type] 
-[created] -[modified] -[tags]" variable="ff">

<$link to=<>><>




Regards

FrD

Le mercredi 15 août 2018 13:03:47 UTC+2, Alexei R a écrit :
>
> How to find or filter all tiddlers that have some custom fields?
>

-- 
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/2bcf7a21-0d66-4c32-a2ad-88d78ecf934a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Sidebar TOC has a different order than the TOC inside tiddler.

2018-08-13 Thread FrD
Hi,

Haven't tested this :
You could try to put your macro in a tiddler (say "MyTOC") and transclude 
this tiddler inside "Contents", instead of directly calling the macro from 
"Contents".

Regards

FrD


Le lundi 13 août 2018 16:41:00 UTC+2, DemoniWaari a écrit :
>
> I have a simple TOC tiddler: < !sort{!!sorting}>>, and I use two fields: sorting and list. Sorting field 
> has just "list" in it and list field has "Journal Untagged ToDo Scripts 
> Equipment". The point is that I want the order of the list field to be 
> used in the main branch of the TOC and then inside Journal branch I only 
> have list field with "created" in it so it is then sorted by creation 
> date. This seems to work fine, however, I want this TOC to be in the 
> sidebar as well, so I use the standard $:/tags/SideBar tag *but the 
> sidebar has a different order!* 
>
> Any advice? Here's a screenshot of this https://imgur.com/a/p1HJBD7. 
>

-- 
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/9138e920-cb81-435e-8d30-7c741984a294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-13 Thread FrD
Hi,

You're welcome !
Happy its works as intended and it's useful for you.

Regards

FrD

Le lundi 13 août 2018 14:39:23 UTC+2, Littleagle Thoronaug a écrit :
>
> Hi,
>
> Everything works perfectly now!!
>
> NewJournatTemplate working well in edit and view mode in both FF and 
> Chrome with or without format: "default".
> Chrome issue of non-edit mode tiddler is solved too.
>
> So appreciate for your help and your time. This is exactly what I needed. 
> I owe you a beer ;P.
>
> If you need further testing, please, contact me.
>
> Thank you!
>

-- 
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/9a61c56e-ca61-44e1-8fef-44d57b4ae166%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to show the text fields of multiple tiddlers in 1

2018-08-12 Thread FrD
Hi,

Assuming the tiddlers you want to include have all the tag "MyTag", you 
could write in a tiddler :

<$list filter="[tag[MyTag]]">

<$transclude mode="block"/>



Regards

FrD

Le dimanche 12 août 2018 09:00:44 UTC+2, thomasec...@gmail.com a écrit :
>
> Hey all, Im new to Tiddlerwiki and love it so far. It is a great system 
> that gives me the flexibility Ive bee. Looking for.
>
> Any how I aam writting a book and am toying with TW to help organize. So 
> my question if i want to include the text of multiple tiddlers in one based 
> in tags how would I even go about that?
>
>
> Thanks for any input.
>
>

-- 
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/3fa3e092-69c4-4985-8985-7a2fe8219551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css, before: and svg

2018-08-12 Thread FrD
Hi PMario,

Thanks it works indeed.

My next step was to be able to use a transclusion (for instance 
{{$:/core/images/left-arrow}}) instead of an svg tag. And the type  text/css 
does not help !
Do you know how it could work ?

Thanks

Regards

FrD


Le dimanche 12 août 2018 08:56:57 UTC+2, PMario a écrit :
>
> Hi FrD, 
>
> Move the style element into a tiddler tagged: $:/tags/StylesheetAND
> use type: text/css
>
> Then it works. 
>
> -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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a6f1e04-981c-4a56-b369-da46de73c5c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-12 Thread FrD
Hi,

The updated version is at http://simplecalendar.tiddlyspot.com/
The template "NewJournalTemplate" should work both in edit and view mode.

In the config tiddler, for the "cellContent" index, you have these choices :

- "sc_basic" : just write the number of the day (not clickable)
- "sc_linkNavigateToJournal" : a link to the journal tiddler (existing or 
not)
- "sc_linkNavigateToOrCreateViewModeJournal" : creates a journal tiddler in 
view mode based on the template (or navigate to the tiddler if it exists)
- "sc_linkNavigateToOrCreateEditModeJournal" : idem but in edit mode.

Please report any problem

Regards

FrD

Le dimanche 12 août 2018 07:48:20 UTC+2, FrD a écrit :
>
>
>

-- 
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/d03d31d5-b915-4a9d-8492-08ab1a40cca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-11 Thread FrD
Hi Littleagle Thoronaug,

Thanks for the feedback !
Since the templating thing works now for the view mode, I'll re-write the 
cellContent macros for the edit mode allowing the use of a template.
And now I know where the problem comes from in Chrome.

I'll update the site soon and keep you informed.

Regards

FrD

Le samedi 11 août 2018 22:39:00 UTC+2, Littleagle Thoronaug a écrit :
>
> Hi, FrD.
> I've been testing the new version of the plugin. The issues I had 
> yesterday were because I hadn't restarted TW after deleting the plugin so 
> shame on me. Here are the results:
>
> - Firefox:
> +It seems everything is working fine. The only thing I detected is 
> when using "default" fomat only the new journal Title config is used but 
> not tags and text. But maybe this is the behaviour you pretended.
> +In CreateViewMode the NewJournalTemplate works perfectly, even in 
> combination with "default" format. It's a pity that this config can't go 
> directly in edit mode, but it's ok.
> - Chrome (chromium):
> + "default" format works well in both Edit and ViewMode.
> + Use of NewJournalTemplate in ViewMode works as well.
> + But there is an issue with Chrome that is a little annoying. 
> Clicking on a day, even with the cellContent in CreateEditMode, doesn't 
> enter the new tiddler in Edit Mode. Instead of that, a tiddler with the 
> text "The tiddler  does not exist - click on ..." appears in the 
> Story. That's not really bad at all, but it would be more comfy enter 
> directly the edit mode.
> - TiddlyDesktop: I've tested TiddlyDesktop as well, but as I think uses 
> Chrome engine the results are the same above.
>
>
> EDIT: I forgot to mention that I also made the tests with a new blank TW 
> file, with same results.
>
> I hope this helps you. If you need any other tests, don't doubt to ask me 
> for.
> Thanks again for your attention.
>
> Regards.
>
>>
>>>>>>>

-- 
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/93759019-e7de-49db-a096-0b0d0b879171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css, before: and svg

2018-08-11 Thread FrD
Hi c pa,

On a web page, I get a red circle an below a red circle inside a green 
square.
In a tiddler I get a red circle and below a green square, with not circle 
inside.

Regards

FrD

Le samedi 11 août 2018 22:15:22 UTC+2, c pa a écrit :
>
>
>

-- 
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/6f9f6231-3943-4f25-b82c-87922268eff3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Css, before: and svg

2018-08-11 Thread FrD
Hi,

I'm trying to use an svg element directly as an image in a before: 
pseudoclass.

The code below works in an html page, but not in a tiddler. I can't see why.
The image inside the url is just the same red circle that is drawn below.
Any hint ?


.square{
   background-color: Lightgreen;
   width: 100px;
   height: 100px;
}

.square:before{
   display: block;
   content: url("data:image/svg+xml;charset=UTF-8,<svg 
xmlns='<a  rel="nofollow" href="http://www.w3.org/2000/svg">http://www.w3.org/2000/svg</a>' version='1.1' height='100' 
width='100'><circle cx='50' cy='50' r='40' stroke='black' stroke-width='3' 
fill='red' /></svg>");
   background-size: 28px 28px;
   height: 28px;
   width: 28px;
}


  






Thanks
Regards

FrD

-- 
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/c613a506-494a-41f8-9e97-11f83fcc501e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Delete a field on a newly "cloned" tiddler

2018-08-11 Thread FrD
Hi TonyM,

There is a function in the core that generates a new title based on a given 
title (from task, it generates task 1, task 2, ...).
I've wrapped it in a js macro. You could try it. Import save and reload (in 
a test wiki or in a copy of your wiki !!!)

Just enter <> or <>

Be careful with your data, try it on a copy.

Regards

FrD

Le samedi 11 août 2018 09:53:40 UTC+2, TonyM a écrit :
>
> Frd,
>
> Thanks for your effort. Unfortunately I do not know the name before hand 
> as I am cloning to create multiple instances of say tasks. They may be 
> renamed or named task 1 task 2 etc...
>
> This is a messy part of the available code.
>
> So I am currentlt working on a copy selected fields to a new tiddler, 
> which does create a new tiddler, but does not include the increment of 
> duplicate tiddler names.
>
> Agh, I can't win.
>
> Perhaps I determine the new name myself and make it unique. This will be 
> easier in the next release with the range operator.
>
> Regards
> Tony
>
> On Saturday, 11 August 2018 17:40:33 UTC+10, FrD wrote:
>>
>> Hi TonyM,
>>
>> Finally I found a way to do what you want. The drawback is that you need 
>> to know in advance the name of the tiddler you want to create.
>>
>> Go to https://tiddlywiki.com/
>> Create a tiddler, for instance "testtemplate" with a tag ("MyTag"), some 
>> text and two fields : field1 and field2.
>> Create a tiddler, say "testcreate" with this code inside :
>>
>> \define actions()
>> <$action-setfield $tiddler="testtemplate" $field="title" $value=
>> "MyNewTiddler" />
>> <$action-deletefield $tiddler="MyNewTiddler" $field="field2" />
>> \end
>>
>> <$button actions=<>>
>> Create and remove field
>> 
>>
>> When you click the button, testtemplate is cloned (without being deleted) 
>> and field2 is removed from the cloned tiddler.
>> I think it's a convoluted way to use action-setfield and probably not the 
>> way it was intended to be used. But it seems to work.
>>
>> Regards
>>
>> FrD
>>
>> Le samedi 11 août 2018 09:12:03 UTC+2, TonyM a écrit :
>>>
>>> Mark,
>>>
>>> Just to clarify, the "idea of [your] own and FrD's suggestion" just did 
>>> not work?
>>>
>>> I was relay smart because I decided to use a subtiddler such as 
>>> task/template to indicate it was a template tiddler so task no longer held 
>>> the removeme field and would not be cloned. This is a good idea but 
>>> somewhere I decided this was a useful tip for creating templates for 
>>> subTiddlers, and I returned it the above method only to be reminded it does 
>>> not work again.
>>>
>>>
>>> I am using the following to clone tiddlers I am using as templates;
>>>
>>> <$button message="tm-new-tiddler" param=<> 
>>> tooltip="Clone this 'template'" aria-label="Clone this 'template'" class=<
>>> > >
>>> <$action-setfield $field=template-source $value=<>/>
>>> {{$:/PSaT/newTiddler/icon.svg}}
>>> 
>>>
>>> So to restate the problem
>>>
>>> *This works nicely except I have to remove a field from the new Tiddler 
>>> eg removeme*
>>> *<$action-deletefield $field=removeme/>*
>>>
>>> *Unfortunately if I use this in the above tiddler it removes the field 
>>> from the source tiddler before the cloning.*
>>>
>>> As Mark suggested I may need resort to the ActionCreateTiddler so a 
>>> Final call to see if anyone knows a workaround or has build a clone tool 
>>> using ActionCreateTiddler?
>>>
>>> Regards
>>> Tony
>>>
>>> On Friday, 3 August 2018 12:46:30 UTC+10, TonyM wrote:
>>>>
>>>> Folks/Team,
>>>>
>>>> I am creating a tool to create tiddlers from template tiddlers and will 
>>>> share today (if I resolve this).
>>>>
>>>> However to do so I am using the following to clone the tiddler to a new 
>>>> tiddler name eg "task 1" and open for edit (which the user then modifies)
>>>>
>>>> \whitespace trim
>>>> <$button message="tm-new-tiddler" param=<> tooltip="Clone 
>>>> this 'template'" aria-label="Clone this 'template'" class=<>>> toolbar-class>> >
>>>> <$action-setfield $fiel

[tw5] Re: Delete a field on a newly "cloned" tiddler

2018-08-11 Thread FrD
Hi TonyM,

Finally I found a way to do what you want. The drawback is that you need to 
know in advance the name of the tiddler you want to create.

Go to https://tiddlywiki.com/
Create a tiddler, for instance "testtemplate" with a tag ("MyTag"), some 
text and two fields : field1 and field2.
Create a tiddler, say "testcreate" with this code inside :

\define actions()
<$action-setfield $tiddler="testtemplate" $field="title" $value=
"MyNewTiddler" />
<$action-deletefield $tiddler="MyNewTiddler" $field="field2" />
\end

<$button actions=<>>
Create and remove field


When you click the button, testtemplate is cloned (without being deleted) 
and field2 is removed from the cloned tiddler.
I think it's a convoluted way to use action-setfield and probably not the 
way it was intended to be used. But it seems to work.

Regards

FrD

Le samedi 11 août 2018 09:12:03 UTC+2, TonyM a écrit :
>
> Mark,
>
> Just to clarify, the "idea of [your] own and FrD's suggestion" just did 
> not work?
>
> I was relay smart because I decided to use a subtiddler such as 
> task/template to indicate it was a template tiddler so task no longer held 
> the removeme field and would not be cloned. This is a good idea but 
> somewhere I decided this was a useful tip for creating templates for 
> subTiddlers, and I returned it the above method only to be reminded it does 
> not work again.
>
>
> I am using the following to clone tiddlers I am using as templates;
>
> <$button message="tm-new-tiddler" param=<> tooltip="Clone 
> this 'template'" aria-label="Clone this 'template'" class=<
> > >
> <$action-setfield $field=template-source $value=<>/>
> {{$:/PSaT/newTiddler/icon.svg}}
> 
>
> So to restate the problem
>
> *This works nicely except I have to remove a field from the new Tiddler eg 
> removeme*
> *<$action-deletefield $field=removeme/>*
>
> *Unfortunately if I use this in the above tiddler it removes the field 
> from the source tiddler before the cloning.*
>
> As Mark suggested I may need resort to the ActionCreateTiddler so a Final 
> call to see if anyone knows a workaround or has build a clone tool using 
> ActionCreateTiddler?
>
> Regards
> Tony
>
> On Friday, 3 August 2018 12:46:30 UTC+10, TonyM wrote:
>>
>> Folks/Team,
>>
>> I am creating a tool to create tiddlers from template tiddlers and will 
>> share today (if I resolve this).
>>
>> However to do so I am using the following to clone the tiddler to a new 
>> tiddler name eg "task 1" and open for edit (which the user then modifies)
>>
>> \whitespace trim
>> <$button message="tm-new-tiddler" param=<> tooltip="Clone 
>> this 'template'" aria-label="Clone this 'template'" class=<> toolbar-class>> >
>> <$action-setfield $field=template-source $value=<>/>
>> *<$action-deletefield $field=tiddler-template-caption/**>*
>> {{$:/core/images/clone-button}}
>> 
>>
>>
>>- I identify which tiddlers are templates by the existence of the 
>>field *tiddler-template-caption*
>>- During the clone which works perfectly the tiddler-template-caption 
>> also 
>>gets cloned
>>- Unfortunately this means the new tiddlers now appear in the list of 
>>tiddler templates
>>- In the above code *<$action-deletefield 
>>$field=tiddler-template-caption/*> deletes the field from the 
>>template tiddler not the new one.
>>- How can I delete this field from the new tiddler with the yet to be 
>>determined name?
>>
>> I believe I need to use message="tm-new-tiddler" param=<> 
>> rather than ActionCreateTiddlerWidget to clone the tiddler, where I would 
>> use the $savetitle.
>> I want the clone to work regardless of the fields and their content so I 
>> do not want to explicitly create the fields, I just want them to come from 
>> the template tiddler except for *tiddler-template-caption.*
>>
>> Note: <$action-setfield $field=template-source 
>> $value=<>/> updates the template tiddler before the clone, 
>> this saves the user doing it.
>>
>> How can I trigger *<$action-deletefield $field=tiddler-template-caption/**> 
>> on the new tiddler after it is named/created without an additional 
>> "trigger"*
>>
>> Thanks
>> Tony
>>
>

-- 
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/f897888c-1d2e-4cc5-a42f-c2fbb658c0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-10 Thread FrD
Hi Littleagle Thoronaug,

I'm very sorry for your troubles.

To delete the plugin :
- go to the sidebar => "More" tab
- then click on "Plugins" (last vertical tab)
- click on "Simple Calendar"
The shadow tiddler shows up. Delete this tiddler. Save and reload.

Then drag and drop the last version of the plugin. Save and reload.

Waiting for your tests tomorrow.

Regards

FrD

Le vendredi 10 août 2018 23:44:51 UTC+2, Littleagle Thoronaug a écrit :
>
> Well, I've been making some tests in both tiddlyspot and my own TW and I 
> think I must have some issues in my file.
>
> Anyway, Chrome seems not to work properly even in tiddlyspot. Even it 
> works well with the template, format:default is still not working. Firefox 
> do works well with your TW in tiddlyspot, but not with mine.
> Even I deleted $:/plugins/frd/simplecalendar tiddler, the shadow tiddlers 
> are still there. Is this the normal behaviour? Even more: 
> <> macro is still working even the plugin must be deleted. 
> Maybe my TW file is broken in some way. 
>
> I've no more time tonight, but I will try with a brand new TW file 
> tomorrow and test it. Will post the results then.
>
> Thank you so much for your time, FrD.
>
>
> Hi,
>>
>> I think I've fixed the problem. Seems to work fine both in Firefox and 
>> Chrome
>> Grab the new version at http://simplecalendar.tiddlyspot.com/
>>
>> Please keep me informed.
>>
>> Regards
>>
>> FrD
>>
>> Le vendredi 10 août 2018 19:24:19 UTC+2, Littleagle Thoronaug a écrit :
>>>
>>> Thank you for the fast response.
>>>
>>> Well, I think I'm doing something wrong because this don't work for me.
>>>
>>> If I change the "format" index in the config tiddler (I tried in 
>>> CalendarConfigDefault and in a cloned version of this) with "default", 
>>> clicking on a day will open a tiddler named "default" with the message 
>>> "This tiddler don't exist".
>>>
>>> Then I created a NewJournalTiddler, fill it with my data and changed 
>>> "cellContent" index as you suggested, and no changes at all. When I click 
>>> in a day a non-existing tiddler titled with current date appears instead of 
>>> an editing tiddler. It just like if the "tm-new-tiddler" message isn't 
>>> working.
>>>
>>> I tried this with two different TW files, in two different pc's. Any 
>>> idea?
>>>
>>>
>>> El jueves, 9 de agosto de 2018, 15:09:36 (UTC+1), FrD escribió:
>>>>
>>>> Hi Littleagle Thoronaug,
>>>>
>>>> I've uploaded a slightly updated version at 
>>>> http://simplecalendar.tiddlyspot.com/. 
>>>> <http://simplecalendar.tiddlyspot.com/>
>>>> With this version you can use the default settings for a new journal 
>>>> title (the one you can modify in the control panel / info / title of new 
>>>> journal tiddlers). For this, in your config tiddler (for your calendar), 
>>>> just put "default" for the "format" index.
>>>>
>>>> "format": "default"
>>>>
>>>>
>>>> In order to use a template for your journal tiddler, do the following :
>>>> - for the "cellContent" index, use this value : 
>>>> "sc_LinkNavigateToOrCreateViewModeJournal" :
>>>>
>>>> "cellContent": "sc_linkNavigateToOrCreateViewModeJournal",
>>>>
>>>> - create a tiddler named "NewJournalTemplate" and put inside the text 
>>>> you want and tag it as you wish.
>>>>
>>>> Then you will have to re-execute the calendar macro. Just click on the 
>>>> edit button of the tiddler that contains the macro and then cancel.
>>>>
>>>> You should be good to go.
>>>> Please report any problem.
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Le jeudi 9 août 2018 11:36:51 UTC+2, Littleagle Thoronaug a écrit :
>>>>>
>>>>> Hi FrD.
>>>>>
>>>>> Is it possible to use a template for a new day tiddler? I'm trying to 
>>>>> create a template (or use the default TW Journa template) with some text 
>>>>> and tags but I can't see how to do it.
>>>>>
>>>>> Could you help me?
>>>>>
>>>>> Thanks for the macro. I really love it!
>>>>>
>>>>> El lunes, 8 de mayo de 2017, 18:12:16 (UTC+1), FrD escribió:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I've updated my simplecalendar macro. The code is cleaner and it's 
>>>>>> easier to style days.
>>>>>> Here <http://simplecalendar.tiddlyspot.com/> it is.
>>>>>>
>>>>>> Any feedback welcome.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> FrD
>>>>>>
>>>>>> PS : I still have to update the datepicker macro that goes along this 
>>>>>> plugin ... to be done :-)
>>>>>>
>>>>>

-- 
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/f6a5c07c-85ff-4b99-94ea-ab3f5889c293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-10 Thread FrD
Hi,

I think I've fixed the problem. Seems to work fine both in Firefox and 
Chrome
Grab the new version at http://simplecalendar.tiddlyspot.com/

Please keep me informed.

Regards

FrD

Le vendredi 10 août 2018 19:24:19 UTC+2, Littleagle Thoronaug a écrit :
>
> Thank you for the fast response.
>
> Well, I think I'm doing something wrong because this don't work for me.
>
> If I change the "format" index in the config tiddler (I tried in 
> CalendarConfigDefault and in a cloned version of this) with "default", 
> clicking on a day will open a tiddler named "default" with the message 
> "This tiddler don't exist".
>
> Then I created a NewJournalTiddler, fill it with my data and changed 
> "cellContent" index as you suggested, and no changes at all. When I click 
> in a day a non-existing tiddler titled with current date appears instead of 
> an editing tiddler. It just like if the "tm-new-tiddler" message isn't 
> working.
>
> I tried this with two different TW files, in two different pc's. Any idea?
>
>
> El jueves, 9 de agosto de 2018, 15:09:36 (UTC+1), FrD escribió:
>>
>> Hi Littleagle Thoronaug,
>>
>> I've uploaded a slightly updated version at 
>> http://simplecalendar.tiddlyspot.com/. 
>> <http://simplecalendar.tiddlyspot.com/>
>> With this version you can use the default settings for a new journal 
>> title (the one you can modify in the control panel / info / title of new 
>> journal tiddlers). For this, in your config tiddler (for your calendar), 
>> just put "default" for the "format" index.
>>
>> "format": "default"
>>
>>
>> In order to use a template for your journal tiddler, do the following :
>> - for the "cellContent" index, use this value : 
>> "sc_LinkNavigateToOrCreateViewModeJournal" :
>>
>> "cellContent": "sc_linkNavigateToOrCreateViewModeJournal",
>>
>> - create a tiddler named "NewJournalTemplate" and put inside the text you 
>> want and tag it as you wish.
>>
>> Then you will have to re-execute the calendar macro. Just click on the 
>> edit button of the tiddler that contains the macro and then cancel.
>>
>> You should be good to go.
>> Please report any problem.
>>
>> Regards
>>
>> FrD
>>
>>
>>
>>
>>
>> Le jeudi 9 août 2018 11:36:51 UTC+2, Littleagle Thoronaug a écrit :
>>>
>>> Hi FrD.
>>>
>>> Is it possible to use a template for a new day tiddler? I'm trying to 
>>> create a template (or use the default TW Journa template) with some text 
>>> and tags but I can't see how to do it.
>>>
>>> Could you help me?
>>>
>>> Thanks for the macro. I really love it!
>>>
>>> El lunes, 8 de mayo de 2017, 18:12:16 (UTC+1), FrD escribió:
>>>>
>>>> Hi,
>>>>
>>>> I've updated my simplecalendar macro. The code is cleaner and it's 
>>>> easier to style days.
>>>> Here <http://simplecalendar.tiddlyspot.com/> it is.
>>>>
>>>> Any feedback welcome.
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> PS : I still have to update the datepicker macro that goes along this 
>>>> plugin ... to be done :-)
>>>>
>>>

-- 
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/d3ec5d42-06b2-4cca-b9f9-ef1bb0e965d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-10 Thread FrD
Hi,

I uploaded the new version again to be sure.
If I do the modifications on http://simplecalendar.tiddlyspot.com/ *and in 
Firefox*, it works for me.
In Chrome the "default" format works, but not the creation of a journal 
tiddler from a template.
I'll try to figure that out.

If you use Firefox I suggest you try on 
http://simplecalendar.tiddlyspot.com/ (modifying the config tiddler for the 
format and cellContent indexes). It should work. If it fails it probably 
means you are working with the version that is cached by your browser. At 
least reload the page.

Then delete the plugin in your TW and import it from the site.

If you work with Chrome, I'm sorry to say you'll have to wait a bit more ...

Keep me posted

Regards

FrD

Le vendredi 10 août 2018 19:24:19 UTC+2, Littleagle Thoronaug a écrit :
>
> Thank you for the fast response.
>
> Well, I think I'm doing something wrong because this don't work for me.
>
> If I change the "format" index in the config tiddler (I tried in 
> CalendarConfigDefault and in a cloned version of this) with "default", 
> clicking on a day will open a tiddler named "default" with the message 
> "This tiddler don't exist".
>
> Then I created a NewJournalTiddler, fill it with my data and changed 
> "cellContent" index as you suggested, and no changes at all. When I click 
> in a day a non-existing tiddler titled with current date appears instead of 
> an editing tiddler. It just like if the "tm-new-tiddler" message isn't 
> working.
>
> I tried this with two different TW files, in two different pc's. Any idea?
>
>
> El jueves, 9 de agosto de 2018, 15:09:36 (UTC+1), FrD escribió:
>>
>> Hi Littleagle Thoronaug,
>>
>> I've uploaded a slightly updated version at 
>> http://simplecalendar.tiddlyspot.com/. 
>> <http://simplecalendar.tiddlyspot.com/>
>> With this version you can use the default settings for a new journal 
>> title (the one you can modify in the control panel / info / title of new 
>> journal tiddlers). For this, in your config tiddler (for your calendar), 
>> just put "default" for the "format" index.
>>
>> "format": "default"
>>
>>
>> In order to use a template for your journal tiddler, do the following :
>> - for the "cellContent" index, use this value : 
>> "sc_LinkNavigateToOrCreateViewModeJournal" :
>>
>> "cellContent": "sc_linkNavigateToOrCreateViewModeJournal",
>>
>> - create a tiddler named "NewJournalTemplate" and put inside the text you 
>> want and tag it as you wish.
>>
>> Then you will have to re-execute the calendar macro. Just click on the 
>> edit button of the tiddler that contains the macro and then cancel.
>>
>> You should be good to go.
>> Please report any problem.
>>
>> Regards
>>
>> FrD
>>
>>
>>
>>
>>
>> Le jeudi 9 août 2018 11:36:51 UTC+2, Littleagle Thoronaug a écrit :
>>>
>>> Hi FrD.
>>>
>>> Is it possible to use a template for a new day tiddler? I'm trying to 
>>> create a template (or use the default TW Journa template) with some text 
>>> and tags but I can't see how to do it.
>>>
>>> Could you help me?
>>>
>>> Thanks for the macro. I really love it!
>>>
>>> El lunes, 8 de mayo de 2017, 18:12:16 (UTC+1), FrD escribió:
>>>>
>>>> Hi,
>>>>
>>>> I've updated my simplecalendar macro. The code is cleaner and it's 
>>>> easier to style days.
>>>> Here <http://simplecalendar.tiddlyspot.com/> it is.
>>>>
>>>> Any feedback welcome.
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> PS : I still have to update the datepicker macro that goes along this 
>>>> plugin ... to be done :-)
>>>>
>>>

-- 
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/6bc64353-08e4-489c-ae4f-a45bcdf3a336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-10 Thread FrD
Hi,

Thanks a lot ; it will help !

Regards

FrD

Le vendredi 10 août 2018 15:18:29 UTC+2, Mat a écrit :
>
> TonyM wrote:
>>
>> FYI the https://github.com/dbushell/Pikaday p[lugin has the option to 
>> show the week number.
>>
>
> Jumping in without having read the thread fully so fwiw: you can get week 
> number with <>
>
>
> <:-)
>

-- 
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/f6c11819-3c8e-4569-9a95-6825e4d7984f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-10 Thread FrD
Hi TonyM,

To turn the day names into links is not difficult. But as there are only 7 
such tiddlers to create, I think it's as easy to create them manually as 
needed (?) .
As for "MonthYear", for now if you click on it it sets the calendar to the 
current month and the current year. I don't intend to change this default 
behaviour ; but I could create an option in the config tiddler (I'll 
investigate).
About week numbers : it seems a bit complicated, but I'm interested too.

I'll try to work on that during this month.

Regards

FrD

Le vendredi 10 août 2018 02:42:25 UTC+2, TonyM a écrit :
>
> Frd,
>
> I may have asked this before but just as we can click to open the "journal 
> date tiddler" would it be possible to have links to the dayname, month, 
> Monthyear and year, and create them as needed? This would allow us to 
> create day of week (Mon, Tue), month of year (-0MM) and year tiddlers. 
>
> Week numbers would also me nice eg; w01 - w52
>
> Thanks for this very helpful tool.
>
> Tony
>
> On Friday, August 10, 2018 at 12:09:36 AM UTC+10, FrD wrote:
>>
>> Hi Littleagle Thoronaug,
>>
>> I've uploaded a slightly updated version at 
>> http://simplecalendar.tiddlyspot.com/. 
>> <http://simplecalendar.tiddlyspot.com/>
>> With this version you can use the default settings for a new journal 
>> title (the one you can modify in the control panel / info / title of new 
>> journal tiddlers). For this, in your config tiddler (for your calendar), 
>> just put "default" for the "format" index.
>>
>> "format": "default"
>>
>>
>> In order to use a template for your journal tiddler, do the following :
>> - for the "cellContent" index, use this value : 
>> "sc_LinkNavigateToOrCreateViewModeJournal" :
>>
>> "cellContent": "sc_linkNavigateToOrCreateViewModeJournal",
>>
>> - create a tiddler named "NewJournalTemplate" and put inside the text you 
>> want and tag it as you wish.
>>
>> Then you will have to re-execute the calendar macro. Just click on the 
>> edit button of the tiddler that contains the macro and then cancel.
>>
>> You should be good to go.
>> Please report any problem.
>>
>> Regards
>>
>> FrD
>>
>>
>>
>>
>>
>> Le jeudi 9 août 2018 11:36:51 UTC+2, Littleagle Thoronaug a écrit :
>>>
>>> Hi FrD.
>>>
>>> Is it possible to use a template for a new day tiddler? I'm trying to 
>>> create a template (or use the default TW Journa template) with some text 
>>> and tags but I can't see how to do it.
>>>
>>> Could you help me?
>>>
>>> Thanks for the macro. I really love it!
>>>
>>> El lunes, 8 de mayo de 2017, 18:12:16 (UTC+1), FrD escribió:
>>>>
>>>> Hi,
>>>>
>>>> I've updated my simplecalendar macro. The code is cleaner and it's 
>>>> easier to style days.
>>>> Here <http://simplecalendar.tiddlyspot.com/> it is.
>>>>
>>>> Any feedback welcome.
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> PS : I still have to update the datepicker macro that goes along this 
>>>> plugin ... to be done :-)
>>>>
>>>

-- 
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/5721db10-a909-4b0f-993b-1adc946d8eb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Please advise: what is the clean and simple method of having a multiline note for a tiddler?

2018-08-10 Thread FrD
Hi,

An idea for the packing/unpacking mechanism :using the getTiddlerAsJson 
function (in $:/core/modules/wiki.js).

var jsonString=this.wiki.getTiddlerAsJson(title);

<https://danielorodriguez.com/TW5-EncryptTiddlerPlugin/>
This function returns a JSON string of the fields of a tiddler.

You can do this for each related tiddler ant put the strings inside fields.

To unpack you only have to use JSON.Parse(JsonString) and then use the 
saveTiddler function to re-create the tiddler.

Thanks to DanieloRodriguez's Encrypt Tiddler Plugin where I discovered 
these functions working in a widget (
https://danielorodriguez.com/TW5-EncryptTiddlerPlugin/).

Regards

FrD


Le jeudi 9 août 2018 17:26:24 UTC+2, Mark S. a écrit :
>
> I haven't seen the comments plugin, so pardon me if this idea is 
> unoriginal. It occurs to me that you could have a "packer" button that 
> takes all tiddlers related to a current tiddler, and packs them into 
> fields. Then when you export the tiddler, all the supporting tiddlers go 
> with it. Later, an unpacker button would extract the fields.
>
> -- Mark
>
> On Thursday, August 9, 2018 at 7:26:17 AM UTC-7, Mohammad wrote:
>>
>> Hello Mark!
>>  Thank you, yes I thought the same to have a customized export button!
>> By the way I learned from comments pluging in pre-release 5.1.18 how I 
>> can have my note edit box in the view mode not in the edit mode.
>>
>> You asked to whom you want to export? It is good to export a slideshow 
>> with its all slides and notes as json file as archive, and distribute for 
>> example to students!
>> But as you said there is always problem to keep everything related with 
>> together!
>>
>> I will have a look at PMario bundler plugin!
>>
>> *Mohammad*
>>
>

-- 
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/bdfd5acb-993a-4700-bf38-d03f166c0fd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Text Reference for set parameter in button widget

2018-08-09 Thread FrD
Hi,

I believe the explanation is at the end of the tiddler 
https://tiddlywiki.com/#ButtonWidget

Regards

FrD

Le jeudi 9 août 2018 17:03:10 UTC+2, Mohammad a écrit :
>
> In https://tiddlywiki.com/#ButtonWidget it explains
>
> set A TextReference <https://tiddlywiki.com/#TextReference> to which a 
> new value will be assigned
> Now assume you have a button like this
>
>   <$button 
> set={{!!note-status}}
> setTo="show" 
> class="tc-btn-invisible">
>   {{icon/addNote.svg}}
>   
>
> It creates a new tiddler with title got from the {{!!note-status}} and 
> sets its text to show. But the purpose here is to set the field 
> note-status in the current tiddler! However the below code works fine
>
>   <$button 
> set="!!note-status"
> setTo="show" 
> class="tc-btn-invisible">
>   {{icon/addNote.svg}}
>   
>
> Note to set="!!note-status"
>
> Do you know why?
>
> - Mohammad
>
>

-- 
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/c804395b-14b0-4cf3-9b77-8a68c8f98ad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] TiddlyWiki toolmap : Tinka plugin is missing ?

2018-08-09 Thread FrD
Hi (specially @David Gifford),

When updating a plugin I needed the Tinka plugin (from Andreas Hahn) so I 
went to TiddlyWiki toolmap <https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM> 
to fetch it.
But it seems missing.
IMHO it would be a good idea to add it (if Andreas Hahn is ok).
Here are the websites : https://github.com/TinkaPlugin/Tinka and 
https://tinkaplugin.github.io/ .

Regards

FrD

-- 
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/c2e14636-0739-4ed5-b6ef-da3070a69453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] New version of the simple calendar plugin

2018-08-09 Thread FrD
Hi Littleagle Thoronaug,

I've uploaded a slightly updated version at 
http://simplecalendar.tiddlyspot.com/. 
<http://simplecalendar.tiddlyspot.com/>
With this version you can use the default settings for a new journal title 
(the one you can modify in the control panel / info / title of new journal 
tiddlers). For this, in your config tiddler (for your calendar), just put 
"default" for the "format" index.

"format": "default"


In order to use a template for your journal tiddler, do the following :
- for the "cellContent" index, use this value : 
"sc_LinkNavigateToOrCreateViewModeJournal" :

"cellContent": "sc_linkNavigateToOrCreateViewModeJournal",

- create a tiddler named "NewJournalTemplate" and put inside the text you 
want and tag it as you wish.

Then you will have to re-execute the calendar macro. Just click on the edit 
button of the tiddler that contains the macro and then cancel.

You should be good to go.
Please report any problem.

Regards

FrD





Le jeudi 9 août 2018 11:36:51 UTC+2, Littleagle Thoronaug a écrit :
>
> Hi FrD.
>
> Is it possible to use a template for a new day tiddler? I'm trying to 
> create a template (or use the default TW Journa template) with some text 
> and tags but I can't see how to do it.
>
> Could you help me?
>
> Thanks for the macro. I really love it!
>
> El lunes, 8 de mayo de 2017, 18:12:16 (UTC+1), FrD escribió:
>>
>> Hi,
>>
>> I've updated my simplecalendar macro. The code is cleaner and it's easier 
>> to style days.
>> Here <http://simplecalendar.tiddlyspot.com/> it is.
>>
>> Any feedback welcome.
>>
>> Regards
>>
>> FrD
>>
>> PS : I still have to update the datepicker macro that goes along this 
>> plugin ... to be done :-)
>>
>

-- 
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/670de1bb-a8fd-49f5-8b95-c9b8fc5292fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-05 Thread FrD
Hi,

Seems fine to me ! Nothing to worry about -:)
The FBI (Fake Button Investigators) won't be alerted ...

Another way to do the same :

\define _title() $(currentTiddler)$-thumbnails
\define _text() <>
\define actions()
<$action-setfield $tiddler=<<_title>> text=<<_text>>/>
<$action-navigate $to=<<_title>> />
\end

<$button actions=<>>Thumbnails2




Regards

FrD

Le dimanche 5 août 2018 19:17:00 UTC+2, Mohammad a écrit :
>
>
> Problem: 
>
> I.  I want a button to create a tiddler put some text inside it and 
> navigate to it in view mode NOT edit mode
> II. If the tiddler is already exists, I want to navigate to tiddler and 
> not create it again or create a new one with a numerical counter at the end 
> (don't want to do what action create tiddler does)
>
>
> So, I did like below:
>
> \define _title() $(currentTiddler)$-thumbnails
> \define _text() <>
>
> <$button set=<<_title>> setTo=<<_text>> >Thumbnails
> <$action-navigate $to=<<_title>> />
> 
>
>
>
> This button create a tiddler with the title of current tiddler with 
> -thumbnails suffix and put this text <> inside it and 
> then navigate to it!
>
> Is this legal or illegal?
>
> Actually I used ilegally from set/setTo parameters in button widget to 
> create a new tiddler and if it exists use and navigate to it!
>
>
>
> *Mohammad*
>

-- 
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/727585a7-4fc0-4902-be7e-db8f62cd512e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create New Tiddler contains Wikified Value

2018-08-05 Thread FrD
Hi Eric,

Short and efficient !!!
Thanks for the tip.

Regards

FrD

Le dimanche 5 août 2018 16:22:42 UTC+2, Eric Shulman a écrit :
>
> On Sunday, August 5, 2018 at 5:27:30 AM UTC-7, FrD wrote:
>>
>> I may have a solution, not sure it's the smallest or the smartest ; and 
>> it uses the wikify widget.
>> \define actions()
>> <$wikify name=tt text="This is a text based on {{!!title}}">
>> <$action-createtiddler $basetitle="myTiddler" tags="myTag" text=<>/>
>> 
>> \end
>>
>> <$button actions=<>>
>> Create
>> 
>>
>
> In this particular use case, since the reference is to the current tiddler 
> title, you can use the "currentTiddler" variable, rather than having to 
> transclude the title field of the tiddler and, since the actions are 
> defined in a macro, you can use the $(currentTiddler)$ *macro substitution" 
> syntax to insert the actual title text.  Something like this:
>
> \define actions()
> <$action-createtiddler $basetitle="myTiddler" tags="myTag" text="This is 
> a text based on $(currentTiddler)$"/>
> \end
> <$button actions=<>>Create
>
> enjoy,
> -e
>
>
>

-- 
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/025a5718-19b6-4b2b-931b-1751561282da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create New Tiddler contains Wikified Value

2018-08-05 Thread FrD
Hi,

I may have a solution, not sure it's the smallest or the smartest ; and it 
uses the wikify widget.

\define actions()
<$wikify name=tt text="This is a text based on {{!!title}}">
<$action-createtiddler $basetitle="myTiddler" tags="myTag" text=<>/>

\end

<$button actions=<>>
Create




Regards

FrD

Le dimanche 5 août 2018 06:39:59 UTC+2, Mohammad a écrit :
>
> Assume you want to create a tiddler inside it put some wikified values like
>
> <$button>
> <$action-createtiddler $basetitle="myTiddler" tags="myTag" text="This is a 
> text based on {{!!title}}"/>
> Create
> 
>
> Here the the button is in a tiddler titled parent, and the text in the 
> newly created tiddler shall be
>
> This is a text based on parent
>
>
> Note in the new tiddler we have not {{!!title}} but we have parent
>
> What is the shortest solution, do we need wikify widget?
>
> Mohammad
>

-- 
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/60cac22a-b4b7-4dbd-908a-08cbcc7d3aa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Delete a field on a newly "cloned" tiddler

2018-08-04 Thread FrD
H Tony,

I see. thanks for your explanation.

Regards.

FrD

Le samedi 4 août 2018 10:34:20 UTC+2, TonyM a écrit :
>
> Frd
>
> I am using sub to suggest subordinate. Using the /template name after the 
> tiddlername.
>
> Tiddlername (actual template)
> Tiddlername/template existing means tiddlername is a template.
>
> Thus every tiddler with suffix[/template] says there is a template tiddler 
> called removesuffix[/template]
>
> When I clone templatename to templateinstance the subtiddler is not cloned 
> and I do not need to modify the new tiddler 
>
> Regards
> Tony
>
>

-- 
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/91843b70-318c-42be-b3eb-fe4e84f8dd3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Delete a field on a newly "cloned" tiddler

2018-08-04 Thread FrD
Hi Tony,

Could you elaborate a bit about your solution and the use of a "subtiddler" 
? This word seems to relate only to plugin tiddlers on 
https://tiddlywiki.com/. But I think you give it another meaning here and 
use it for something else.

Regards

FrD

Le samedi 4 août 2018 05:33:30 UTC+2, TonyM a écrit :
>
> Mark,
>
> As I posted I am happy to use the existence of a /template subtiddler 
> because I can simply use a custom clone button. In fact I can see being 
> able store additional info about the template or even listing the resulting 
> tiddlers.
>
> However I have thought of allowing check boxes on each field of one 
> tiddler to copy or append to a target tiddler. Similer to how you suggest.
>
> Regards
> Tony
>
>

-- 
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/68052413-35a7-4503-8c5f-614682d58786%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Delete a field on a newly "cloned" tiddler

2018-08-03 Thread FrD
Hi,

I've not written the code so it's not tested.

Perhaps the list of actions when you click the button could be :

- Remove the field from the template tiddler,
- clone the template tiddler
- add back the field to the template tiddler.

Regards

FrD

Le vendredi 3 août 2018 04:46:30 UTC+2, TonyM a écrit :
>
> Folks/Team,
>
> I am creating a tool to create tiddlers from template tiddlers and will 
> share today (if I resolve this).
>
> However to do so I am using the following to clone the tiddler to a new 
> tiddler name eg "task 1" and open for edit (which the user then modifies)
>
> \whitespace trim
> <$button message="tm-new-tiddler" param=<> tooltip="Clone 
> this 'template'" aria-label="Clone this 'template'" class=< toolbar-class>> >
> <$action-setfield $field=template-source $value=<>/>
> *<$action-deletefield $field=tiddler-template-caption/**>*
> {{$:/core/images/clone-button}}
> 
>
>
>- I identify which tiddlers are templates by the existence of the 
>field *tiddler-template-caption*
>- During the clone which works perfectly the tiddler-template-caption also 
>gets cloned
>- Unfortunately this means the new tiddlers now appear in the list of 
>tiddler templates
>- In the above code *<$action-deletefield 
>$field=tiddler-template-caption/*> deletes the field from the template 
>tiddler not the new one.
>- How can I delete this field from the new tiddler with the yet to be 
>determined name?
>
> I believe I need to use message="tm-new-tiddler" param=<> 
> rather than ActionCreateTiddlerWidget to clone the tiddler, where I would 
> use the $savetitle.
> I want the clone to work regardless of the fields and their content so I 
> do not want to explicitly create the fields, I just want them to come from 
> the template tiddler except for *tiddler-template-caption.*
>
> Note: <$action-setfield $field=template-source 
> $value=<>/> updates the template tiddler before the clone, 
> this saves the user doing it.
>
> How can I trigger *<$action-deletefield $field=tiddler-template-caption/**> 
> on the new tiddler after it is named/created without an additional 
> "trigger"*
>
> Thanks
> Tony
>

-- 
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/97046571-f787-4423-bf17-c1e7fd6bb565%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Firefox v61, can we just save over our current Wiki file without all the dialogs?

2018-08-02 Thread FrD
Hi,

Same. Firefox (64 bit) 61.0.1 on windows 10. File Backups works fine with a 
junction inside the download folder. The junction points to a dropbox 
directory so I have both backups and history :-)

Regards

FrD

Le jeudi 2 août 2018 20:26:27 UTC+2, Mark S. a écrit :
>
> Just tested File Backup under windows FF 61.0.1 on Windows  using a 
> junction inside Downloads/Wikis -- appears to work fine. Also made a backup.
>
> -- Mark
>
> On Thursday, August 2, 2018 at 10:49:58 AM UTC-7, Mark S. wrote:
>>
>> Are you sure you're not confusing tiddlysavers with File Backups? I just 
>> tested and it worked fine (FF61) , but I'm not on Windows at the moment.
>>
>> C:\downloads\tiddlywikilocations is the directory that "tiddlysavers" 
>> uses -- not the directory that File Backups uses (though you can use any 
>> Downloads subdirectory with File Backups).
>>
>> -- Mark
>>
>> On Thursday, August 2, 2018 at 10:32:08 AM UTC-7, Alfonso Arciniega wrote:
>>>
>>> Mark,
>>>
>>> It used to work fine with FF versions up to 59+, though improperly with 
>>> v60+.
>>> It doesn't save to the C:\downloads\tiddlywikilocations (this is the 
>>> folder set). It only saves to C:\downloads, and also it doesn't save 
>>> backups.
>>>
>>> I played extensively with settings, uninstalled and installed back the 
>>> add-on, and the issue persisted.
>>>
>>> Alfonso
>>>
>>> On Thursday, August 2, 2018 at 11:25:12 AM UTC-6, Mark S. wrote:
>>>>
>>>> What do you mean "does not work properly" ? 
>>>>
>>>> -- Mark
>>>>
>>>>

-- 
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/eef8ba23-6c64-4502-b118-703ef6582634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to assign a field value as a tag name

2018-08-01 Thread FrD
Hi,

One place to start : https://tiddlywiki.com/dev/ and type hook in the 
search area.
I've found this too : 
https://groups.google.com/d/msg/tiddlywikidev/bQn6jkco48w/etaznVc4AAAJ

I don't know in what kind of module the JS code needs to be, and if it's a 
startup module, when does it has to start.

Regards

FrD


Le mercredi 1 août 2018 18:53:48 UTC+2, Mark S. a écrit :
>
> Where do I learn about this hook?
>
> Thanks!
> -- Mark
>
> On Wednesday, August 1, 2018 at 9:21:14 AM UTC-7, FrD wrote:
>>
>> Hi,
>>
>> Another way would be to use the "th-saving-tiddler" hook (if it's 
>> available). So when you save the tiddler it automagically add the value of 
>> field1 as a tag.
>> But that's way above my TW skills :-)
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 1 août 2018 17:55:55 UTC+2, FrD a écrit :
>>>
>>> Hi,
>>>
>>> I don't much about the edit template, but apart from typing John :-), I 
>>> can't think of any other solution.
>>> Having taken a quick look at $:/core/ui/EditTemplate/tags which is the 
>>> part of the edit template which deals with tags, ant at the tag-picker 
>>> macro ($:/core/macros/tag-picker), I don't think they allow what you want 
>>> to do.
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le mercredi 1 août 2018 16:52:47 UTC+2, Alexei R a écrit :
>>>>
>>>> I'll try to explain it again:
>>>>
>>>> Let say we have two tiddlers. One tiddler with a *field *named 
>>>> "field1" and it has value "John" and the another (second tiddler) tiddler 
>>>> has the same field "field1" but with enother value "Ringo".
>>>> What should I type into area marked with red circle?
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-foWlfWgfge0/W2HIfF3zcpI/AAAAM0Y/6a83iw8PgDwnFZ5-Mp_yAgo6imMMwZ5rQCLcBGAs/s1600/edit.PNG>
>>>>
>>>> In order to get the following result:
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/--dfmWKIst5I/W2HI9EC0OfI/M0g/hB09rQgLGeIYXHUaws35U_IjHjFeatA5ACLcBGAs/s1600/get.PNG>
>>>> When "John" not hard coded as tag but it parametric value of "field1" 
>>>> field.
>>>>
>>>>
>>>> On Wednesday, August 1, 2018 at 4:59:56 PM UTC+3, FrD wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I've tried it in https://tiddlywiki.com/ and it works for me. But 
>>>>> maybe I misunderstood your question.
>>>>>
>>>>> Regards
>>>>>
>>>>> FrD
>>>>>
>>>>> Le mercredi 1 août 2018 15:39:51 UTC+2, Alexei R a écrit :
>>>>>>
>>>>>> I'v just tryed it doesn't work for me :-(
>>>>>> Isn't a simple way to just type somthing like {{!!myfield}}> into *tag 
>>>>>> name* input fild in tiddler editing mode?
>>>>>>
>>>>>> On Wednesday, August 1, 2018 at 4:15:38 PM UTC+3, FrD wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Create a tiddler. Add a field ("myfield" for the code below to 
>>>>>>> work). Assign a value to this field (even with white spaces).
>>>>>>>
>>>>>>> Add this code inside the tiddler :
>>>>>>>
>>>>>>> <$button>Field To Tag
>>>>>>> <$set name="myfieldvalue" value={{!!myfield}}>
>>>>>>> <$action-listops $field="tags" $subfilter="[]"/>
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> FrD
>>>>>>>
>>>>>>> Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>>>>>>>>
>>>>>>>> Hello
>>>>>>>>
>>>>>>>> Please help me to understend how can I assign value of a field as 
>>>>>>>> name of a tag.
>>>>>>>> Let say we have one tiddler with *field *named "field1" and it has 
>>>>>>>> value "John" and the second has the same field "field1" with value 
>>>>>>>> "Ringo".
>>>>>>>> How can I get the tiddler to be taged as "John" by refferensing to 
>>>>>>>> the string "John" by field name (in our case "field1") only?
>>>>>>>> How can I get both tiddlers to automaticly been tagged with value 
>>>>>>>> of theyer own field "field1": tiddler on as "John" and tiddler two as 
>>>>>>>> "Ringo".
>>>>>>>> Some how I need to make tiddler to display value of its particular 
>>>>>>>> field as tag...
>>>>>>>>
>>>>>>>

-- 
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/bf3142d9-ce69-445d-a6f7-13e89f98d28e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Firefox v61, can we just save over our current Wiki file without all the dialogs?

2018-08-01 Thread FrD
Hi,

If you go with one firefox extension, there are some simple "tricks" that 
allow you to keep your TW files outside the Download folder (with symbolic 
links).

Regards

FrD

Le mercredi 1 août 2018 18:44:50 UTC+2, FrD a écrit :
>
> Hi,
>
> There are some answers at https://tiddlywiki.com/#GettingStarted
> Click on "Firefox". savetiddllers and file-backups are two firefox 
> extensions as you look familiar with this kind of things. But the other 
> solutions are great too.
>
> Regards
>
> FrD
>
> Le mercredi 1 août 2018 18:37:57 UTC+2, Chuck R. a écrit :
>>
>> I have Firefox v61 on Windows 7. 
>>
>> Is it possible that when I click the save button (on sidebar, on right) 
>> to save all my changes, that we can just save over the current TW file 
>> without going through all the Firefox Save As dialogs, and confirm to save? 
>> TiddlyFox no longer works with FF 61.
>>
>> Thanks!
>>
>

-- 
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/ff0c7444-540d-415a-a7ae-8f97cef6181c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Firefox v61, can we just save over our current Wiki file without all the dialogs?

2018-08-01 Thread FrD
Hi,

There are some answers at https://tiddlywiki.com/#GettingStarted
Click on "Firefox". savetiddllers and file-backups are two firefox 
extensions as you look familiar with this kind of things. But the other 
solutions are great too.

Regards

FrD

Le mercredi 1 août 2018 18:37:57 UTC+2, Chuck R. a écrit :
>
> I have Firefox v61 on Windows 7. 
>
> Is it possible that when I click the save button (on sidebar, on right) to 
> save all my changes, that we can just save over the current TW file without 
> going through all the Firefox Save As dialogs, and confirm to save? 
> TiddlyFox no longer works with FF 61.
>
> Thanks!
>

-- 
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/87410f21-786a-44b3-9fdb-cbafce4ed586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to assign a field value as a tag name

2018-08-01 Thread FrD
Hi,

Another way would be to use the "th-saving-tiddler" hook (if it's 
available). So when you save the tiddler it automagically add the value of 
field1 as a tag.
But that's way above my TW skills :-)

Regards

FrD

Le mercredi 1 août 2018 17:55:55 UTC+2, FrD a écrit :
>
> Hi,
>
> I don't much about the edit template, but apart from typing John :-), I 
> can't think of any other solution.
> Having taken a quick look at $:/core/ui/EditTemplate/tags which is the 
> part of the edit template which deals with tags, ant at the tag-picker 
> macro ($:/core/macros/tag-picker), I don't think they allow what you want 
> to do.
>
> Regards
>
> FrD
>
> Le mercredi 1 août 2018 16:52:47 UTC+2, Alexei R a écrit :
>>
>> I'll try to explain it again:
>>
>> Let say we have two tiddlers. One tiddler with a *field *named "field1" 
>> and it has value "John" and the another (second tiddler) tiddler has the 
>> same field "field1" but with enother value "Ringo".
>> What should I type into area marked with red circle?
>>
>>
>> <https://lh3.googleusercontent.com/-foWlfWgfge0/W2HIfF3zcpI/M0Y/6a83iw8PgDwnFZ5-Mp_yAgo6imMMwZ5rQCLcBGAs/s1600/edit.PNG>
>>
>> In order to get the following result:
>>
>>
>> <https://lh3.googleusercontent.com/--dfmWKIst5I/W2HI9EC0OfI/M0g/hB09rQgLGeIYXHUaws35U_IjHjFeatA5ACLcBGAs/s1600/get.PNG>
>> When "John" not hard coded as tag but it parametric value of "field1" 
>> field.
>>
>>
>> On Wednesday, August 1, 2018 at 4:59:56 PM UTC+3, FrD wrote:
>>>
>>> Hi,
>>>
>>> I've tried it in https://tiddlywiki.com/ and it works for me. But maybe 
>>> I misunderstood your question.
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le mercredi 1 août 2018 15:39:51 UTC+2, Alexei R a écrit :
>>>>
>>>> I'v just tryed it doesn't work for me :-(
>>>> Isn't a simple way to just type somthing like {{!!myfield}}> into *tag 
>>>> name* input fild in tiddler editing mode?
>>>>
>>>> On Wednesday, August 1, 2018 at 4:15:38 PM UTC+3, FrD wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Create a tiddler. Add a field ("myfield" for the code below to work). 
>>>>> Assign a value to this field (even with white spaces).
>>>>>
>>>>> Add this code inside the tiddler :
>>>>>
>>>>> <$button>Field To Tag
>>>>> <$set name="myfieldvalue" value={{!!myfield}}>
>>>>> <$action-listops $field="tags" $subfilter="[]"/>
>>>>> 
>>>>> 
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>> FrD
>>>>>
>>>>> Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>>>>>>
>>>>>> Hello
>>>>>>
>>>>>> Please help me to understend how can I assign value of a field as 
>>>>>> name of a tag.
>>>>>> Let say we have one tiddler with *field *named "field1" and it has 
>>>>>> value "John" and the second has the same field "field1" with value 
>>>>>> "Ringo".
>>>>>> How can I get the tiddler to be taged as "John" by refferensing to 
>>>>>> the string "John" by field name (in our case "field1") only?
>>>>>> How can I get both tiddlers to automaticly been tagged with value of 
>>>>>> theyer own field "field1": tiddler on as "John" and tiddler two as 
>>>>>> "Ringo".
>>>>>> Some how I need to make tiddler to display value of its particular 
>>>>>> field as tag...
>>>>>>
>>>>>

-- 
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/59c82390-74af-4a5a-9870-c69c330bc491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to assign a field value as a tag name

2018-08-01 Thread FrD
Hi,

I don't much about the edit template, but apart from typing John :-), I 
can't think of any other solution.
Having taken a quick look at $:/core/ui/EditTemplate/tags which is the part 
of the edit template which deals with tags, ant at the tag-picker macro 
($:/core/macros/tag-picker), I don't think they allow what you want to do.

Regards

FrD

Le mercredi 1 août 2018 16:52:47 UTC+2, Alexei R a écrit :
>
> I'll try to explain it again:
>
> Let say we have two tiddlers. One tiddler with a *field *named "field1" 
> and it has value "John" and the another (second tiddler) tiddler has the 
> same field "field1" but with enother value "Ringo".
> What should I type into area marked with red circle?
>
>
> <https://lh3.googleusercontent.com/-foWlfWgfge0/W2HIfF3zcpI/M0Y/6a83iw8PgDwnFZ5-Mp_yAgo6imMMwZ5rQCLcBGAs/s1600/edit.PNG>
>
> In order to get the following result:
>
>
> <https://lh3.googleusercontent.com/--dfmWKIst5I/W2HI9EC0OfI/M0g/hB09rQgLGeIYXHUaws35U_IjHjFeatA5ACLcBGAs/s1600/get.PNG>
> When "John" not hard coded as tag but it parametric value of "field1" 
> field.
>
>
> On Wednesday, August 1, 2018 at 4:59:56 PM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> I've tried it in https://tiddlywiki.com/ and it works for me. But maybe 
>> I misunderstood your question.
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 1 août 2018 15:39:51 UTC+2, Alexei R a écrit :
>>>
>>> I'v just tryed it doesn't work for me :-(
>>> Isn't a simple way to just type somthing like {{!!myfield}}> into *tag 
>>> name* input fild in tiddler editing mode?
>>>
>>> On Wednesday, August 1, 2018 at 4:15:38 PM UTC+3, FrD wrote:
>>>>
>>>> Hi,
>>>>
>>>> Create a tiddler. Add a field ("myfield" for the code below to work). 
>>>> Assign a value to this field (even with white spaces).
>>>>
>>>> Add this code inside the tiddler :
>>>>
>>>> <$button>Field To Tag
>>>> <$set name="myfieldvalue" value={{!!myfield}}>
>>>> <$action-listops $field="tags" $subfilter="[]"/>
>>>> 
>>>> 
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>>>>>
>>>>> Hello
>>>>>
>>>>> Please help me to understend how can I assign value of a field as name 
>>>>> of a tag.
>>>>> Let say we have one tiddler with *field *named "field1" and it has 
>>>>> value "John" and the second has the same field "field1" with value 
>>>>> "Ringo".
>>>>> How can I get the tiddler to be taged as "John" by refferensing to the 
>>>>> string "John" by field name (in our case "field1") only?
>>>>> How can I get both tiddlers to automaticly been tagged with value of 
>>>>> theyer own field "field1": tiddler on as "John" and tiddler two as 
>>>>> "Ringo".
>>>>> Some how I need to make tiddler to display value of its particular 
>>>>> field as tag...
>>>>>
>>>>

-- 
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/65003b74-09e6-4996-825a-454e92abc724%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to assign a field value as a tag name

2018-08-01 Thread FrD
Hi,

I've tried it in https://tiddlywiki.com/ and it works for me. But maybe I 
misunderstood your question.

Regards

FrD

Le mercredi 1 août 2018 15:39:51 UTC+2, Alexei R a écrit :
>
> I'v just tryed it doesn't work for me :-(
> Isn't a simple way to just type somthing like {{!!myfield}}> into *tag 
> name* input fild in tiddler editing mode?
>
> On Wednesday, August 1, 2018 at 4:15:38 PM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> Create a tiddler. Add a field ("myfield" for the code below to work). 
>> Assign a value to this field (even with white spaces).
>>
>> Add this code inside the tiddler :
>>
>> <$button>Field To Tag
>> <$set name="myfieldvalue" value={{!!myfield}}>
>> <$action-listops $field="tags" $subfilter="[]"/>
>> 
>> 
>>
>>
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>>>
>>> Hello
>>>
>>> Please help me to understend how can I assign value of a field as name 
>>> of a tag.
>>> Let say we have one tiddler with *field *named "field1" and it has 
>>> value "John" and the second has the same field "field1" with value "Ringo".
>>> How can I get the tiddler to be taged as "John" by refferensing to the 
>>> string "John" by field name (in our case "field1") only?
>>> How can I get both tiddlers to automaticly been tagged with value of 
>>> theyer own field "field1": tiddler on as "John" and tiddler two as "Ringo".
>>> Some how I need to make tiddler to display value of its particular field 
>>> as tag...
>>>
>>

-- 
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/fc74ef00-075e-429c-8ba5-04e46a1fd1ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Transclude field value as a link

2018-08-01 Thread FrD
Hi,

Try :

<$link to={{!!myfield1}}>{{!!myfield1}}



Regards

FrD

Le mercredi 1 août 2018 15:49:40 UTC+2, Alexei R a écrit :
>
> Why following exsample doesnt works?
> I have tiddler with field named *myfield1* that has value 22.
> I would like to transclude / show *myfield1* value into tiddler text area 
> as a link.
> When I enter* [[{{!!myfield1}}]]* expression as tiddler's text it 
> rendered as link *{{!!myfield1}}* instead of link *22* as I would expect.
>
> At other hand I always can assign value [[22]] to *myfield1* field. And 
> transclude it just with *{{!!myfield1}} *expression.
> But it not acceptable for me by some unrelated reason.
>

-- 
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/74af65cf-1668-4be5-8ba9-2be47d607eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to assign a field value as a tag name

2018-08-01 Thread FrD
Hi,

Create a tiddler. Add a field ("myfield" for the code below to work). 
Assign a value to this field (even with white spaces).

Add this code inside the tiddler :

<$button>Field To Tag
<$set name="myfieldvalue" value={{!!myfield}}>
<$action-listops $field="tags" $subfilter="[]"/>





Regards

FrD

Le mercredi 1 août 2018 14:28:25 UTC+2, Alexei R a écrit :
>
> Hello
>
> Please help me to understend how can I assign value of a field as name of 
> a tag.
> Let say we have one tiddler with *field *named "field1" and it has value 
> "John" and the second has the same field "field1" with value "Ringo".
> How can I get the tiddler to be taged as "John" by refferensing to the 
> string "John" by field name (in our case "field1") only?
> How can I get both tiddlers to automaticly been tagged with value of 
> theyer own field "field1": tiddler on as "John" and tiddler two as "Ringo".
> Some how I need to make tiddler to display value of its particular field 
> as tag...
>

-- 
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/8b1d209a-1f42-4d96-9067-82c2a7306f43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Template for set field?

2018-08-01 Thread FrD
Hi,

I made a test.
I create a tiddler named "test a" containing :

enter text : <$edit-text tiddler="test b" field="input"/>

In a tiddler called "test b" I put the following code :

\define concatlatexfield() $${{!!input}}$$

\define actions()
<$wikify name="latextext" text=<>>
<$action-setfield inputlatex=<>/>

\end

<$button actions=<>>to latex

input : <$view field="input"/>

inputlatex : <$view field="inputlatex"/>

The content of the field "inputlatex" seems OK. Is that what you want ?

Regards

FrD

Le mercredi 1 août 2018 10:09:49 UTC+2, Ste Wilson a écrit :
>
> Bump... 
> How can I use the set field widget to put user entered text into $$text 
> here$$ without the user having to do it manualy? 

-- 
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/af80fa20-2c21-488b-be44-04c5b5f42cd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Transclude the Whole Tiddler

2018-08-01 Thread FrD
Hi,

Well that's strange ! If you look at the code of $:/core/ui/ViewTemplate 
you can see this near the end :

<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>

It seems the <$list> loop runs through all tiddlers tagged 
$:/tags/Viewtemplate.

Regards

FrD

Le mercredi 1 août 2018 09:55:44 UTC+2, Mohammad a écrit :
>
> That's quite true! Still there is a small problem!
>
> Those setting contents come from tiddlers tagged with $:/tags/ViewTemplate 
> are missing in this transclusion!
> I mean you may apply settings or produce contents inside a tiddler tagged 
> with $:/tags/ViewTemplate
>
> *Mohammad*
>
>
>
> On Wednesday, August 1, 2018 at 12:15:28 PM UTC+4:30, FrD wrote:
>>
>> Hi,
>>
>> I think Mark S. already answered your question in the thread about 
>> thumbnails : use 
>> $:/core/ui/ViewTemplate
>> when transcluding
>>
>> https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/U6SYjXhtAgAJ
>>
>> Regards
>>
>> FrD
>>
>> Le mercredi 1 août 2018 09:23:31 UTC+2, Mohammad a écrit :
>>>
>>>
>>> In another post 
>>> <https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/CSzrKq1LAgAJ>I 
>>> asked for thumbnail image of tiddler. In that post I encountered the issue 
>>> to transclude a tiddler as a whole, that means a snapshot of tiddler 
>>> trancluded, this include Tiddler text + title and what ever is shown in the 
>>> original tiddler and also those contents come from customized ViewTemplate!
>>>
>>> How this is possible?
>>>
>>> Mark S: One solution is to get everything from tiddler and using CSS 
>>> make a copy where we want the transclusion, but this seems impractical!
>>> Ton: Other solution was to use Cecily theme!
>>> Eric: Use transformation
>>>
>>> More discussion: 
>>> https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/CSzrKq1LAgAJ
>>>
>>> Because I thought this can be of interest for other people I put the 
>>> question in a separate post! I appreciate other solutions if any!
>>>
>>>
>>>
>>> /Mohammad
>>>
>>

-- 
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/1349a31f-a492-4bef-873a-12cae734d901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Transclude the Whole Tiddler

2018-08-01 Thread FrD
Hi,

I think Mark S. already answered your question in the thread about 
thumbnails : use 
$:/core/ui/ViewTemplate
when transcluding

https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/U6SYjXhtAgAJ

Regards

FrD

Le mercredi 1 août 2018 09:23:31 UTC+2, Mohammad a écrit :
>
>
> In another post 
> <https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/CSzrKq1LAgAJ>I 
> asked for thumbnail image of tiddler. In that post I encountered the issue 
> to transclude a tiddler as a whole, that means a snapshot of tiddler 
> trancluded, this include Tiddler text + title and what ever is shown in the 
> original tiddler and also those contents come from customized ViewTemplate!
>
> How this is possible?
>
> Mark S: One solution is to get everything from tiddler and using CSS make 
> a copy where we want the transclusion, but this seems impractical!
> Ton: Other solution was to use Cecily theme!
> Eric: Use transformation
>
> More discussion: 
> https://groups.google.com/d/msg/tiddlywiki/J7_Ne9_uy3E/CSzrKq1LAgAJ
>
> Because I thought this can be of interest for other people I put the 
> question in a separate post! I appreciate other solutions if any!
>
>
>
> /Mohammad
>

-- 
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/bf286db9-c99a-43cc-80ad-4c5b9908d0d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: thumbnail images from tiddlers

2018-07-30 Thread FrD
Hi,

Go to https://tiddlywiki.com/#Community, tab "latest" for instance.
If it's what you want, go to the tiddler which is the content of this tab : 
https://tiddlywiki.com/#Latest
Look at the code.

I believe the trick is in the css classes "tc-link-info" and 
"tc-link-info-item".

Regards

FrD

Le lundi 30 juillet 2018 20:47:04 UTC+2, Mohammad a écrit :
>
> Is there any way to produce thumbnail images from tiddlers say tagged with 
> someTag?
>
> for example:
>
>
> <$list filter="[tag[someTag]]">
>  <>
> 
>
>
>
> It seems trasclude does not keep the source format (those applied by css 
> to special tagged tiddlers)!
>
> I want to use later list widget to show like gallery for quick view these 
> tiddlers.
>
> Mohammad
>

-- 
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/90d2a614-ee23-471a-bfb5-fefc8c0f3c94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Query 101 -- $:/state, $:/temp, $:/config, $:/whatever/what-123456789

2018-07-30 Thread FrD
Hi,

Well the code in $:/core/save/all is very short :

\define saveTiddlerFilter()
[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
-[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] 
-[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] 
$(publishFilter)$
\end
{{$:/core/templates/tiddlywiki5.html}}



Regards

FrD

Le lundi 30 juillet 2018 15:50:49 UTC+2, @TiddlyTweeter a écrit :
>
> Thanks FrD
>
> Very quickly helpful.
>
> My upshot is fiddling with $:/core/save/all 
> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fsave%2Fall> is a non-starter :-) 
> Way too complex for me.
>
> What it looks like is as I thought. That "$:/temp/" persist like any other 
> Tiddler between reloads. There is no normal auto-deletion of 
> "$:/temp/etc..." tiddlers.
>
> Best wishes
> Josiah
>
> On Monday, 30 July 2018 15:33:03 UTC+2, FrD wrote:
>>
>> Hi,
>>
>> If you read untill the end (SavingMechanism) you'll see you have to 
>> assign a template to the tm-save-wiki message.
>>
>> You assign the new template's name to the  SaveWikiButtonTemplate 
>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaveWikiButton%2FTemplate> 
>> Template
>>
>> As for the template, have a look at the code of $:/core/save/all 
>> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fsave%2Fall> to built a new one.
>>
>> Regards
>>
>> FrD
>>
>> Le lundi 30 juillet 2018 14:45:03 UTC+2, @TiddlyTweeter a écrit :
>>>
>>> FrD,
>>>
>>> Playing with this. I does NOT seem to work in the latest TW??
>>>
>>> BEFORE  I report it as a bug could someone else please check I have my 
>>> brain correct?
>>>
>>> [all[]] -$:/HistoryList <https://tiddlywiki.com/#%24%3A%2FHistoryList> -
>>> $:/StoryList <https://tiddlywiki.com/#%24%3A%2FStoryList> -$:/Import 
>>> <https://tiddlywiki.com/#%24%3A%2FImport> -$:/isEncrypted 
>>> <https://tiddlywiki.com/#%24%3A%2FisEncrypted> -$:/UploadName 
>>> <https://tiddlywiki.com/#%24%3A%2FUploadName> -[prefix[$:/state/ 
>>> <https://tiddlywiki.com/#%24%3A%2Fstate%2F>]] -[prefix[$:/temp/ 
>>> <https://tiddlywiki.com/#%24%3A%2Ftemp%2F>]]
>>>
>>> Josiah
>>>
>>> FrD wrote:
>>>>>
>>>>> Take a look at   https://tiddlywiki.com/#SavingMechanism  . You'll 
>>>>> see that the the saver mechanism uses the filter defined in 
>>>>> $:/config/SaverFilter. 
>>>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaverFilter>
>>>>> If you look at this tiddler you can see it excludes $:/temp tiddlers. 
>>>>> You can modify it according to your needs.
>>>>>
>>>>

-- 
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/cce08fbd-16d1-4131-879e-91f93645ea55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create a new tiddler with custom predefined fields?

2018-07-30 Thread FrD
Hi,

Try to tag your button tiddler with $:/tags/PageControls, or 
$:/tags/EditToolbar 
or $:/tags/ViewToolbar.
And have a look at 
https://tiddlywiki.com/#Page%20and%20tiddler%20layout%20customisation

Regards

FrD

Le lundi 30 juillet 2018 16:43:32 UTC+2, Alexei R a écrit :
>
> Is there way to add this button to any toolbar?
>
> On Monday, July 30, 2018 at 4:18:55 PM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> Create a tiddler as in the picture below (this will be the "template"). I 
>> called it Computer_Template
>> In another tiddler enter this code : 
>> <$button message="tm-new-tiddler" param="Computer_Template">Create New 
>> Computer Tiddler
>>
>> Clicking on the button will create a new tiddler like the template 
>> tiddler.
>>
>> Regards
>>
>> FrD
>>
>> Le lundi 30 juillet 2018 15:03:13 UTC+2, Alexei R a écrit :
>>>
>>> Let's say I need to prepare catalog of my computers.
>>> And I need to create multiple tiddlers that contains the following text:
>>> ;Computer Name
>>> :{{!!Computer_Name}}
>>> ;Computer_Model
>>> :{{!!Computer_Model}}
>>> ;Computer Manufacturer
>>> :{{!!Computer_Manufacturer}}
>>>
>>> And when which of them has following predefined fields:
>>>
>>>- Computer_Name
>>>- Computer_Model
>>>- Computer_Manufacturer
>>>
>>> I expect to give different values to thees fields at different tiddlers 
>>> and to receive nicely rendered results.
>>> How can I do it?
>>>
>>> On Monday, July 30, 2018 at 9:20:21 AM UTC+3, Alexei R wrote:
>>>>
>>>> Hello all
>>>>
>>>> Please help me to find the best way to create a new tiddlers with 
>>>> custom predefined fields. 
>>>> Preferably I need to be able to create a couple different types of 
>>>> tiddlers each with different set of fields...
>>>>
>>>> --
>>>> Alexei
>>>>
>>>

-- 
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/7852042c-2aea-4b7c-98e2-29a8a65afc07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why list-links with transclusion doesn't work for me?

2018-07-30 Thread FrD
Hi,

I was thinking more of something like this : <>

Regards

FrD

Le lundi 30 juillet 2018 15:39:42 UTC+2, Alexei R a écrit :
>
> Than you.
> Following expression seems to be working well:
> <]">>
> But I don't exactly understand why...
> Shouldn't I refer somewhere specifically to the tiddler's title field?
>
>
> On Monday, July 30, 2018 at 4:21:43 PM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> Look at the end of this doc tiddler (Special parameters) : 
>> https://tiddlywiki.com/#Introduction%20to%20filter%20notation
>>
>> Regards
>>
>> FrD
>>
>> Le lundi 30 juillet 2018 14:50:48 UTC+2, Alexei R a écrit :
>>>
>>> Lets say I have multiple tiddlers* tagged *"X".
>>> And I have additional tiddler that has *title* "X".
>>>
>>> Now if I type 
>>> <>
>>>   into the text area of the tiddler with title "X" - I get list of all 
>>> tiddlers tagged "X".
>>>
>>> But why similar expression, which supposed to use transclusion,
>>> <>
>>>   doesn't give me the same result? The result is empty list...
>>>
>>> What is my mistake?
>>>
>>

-- 
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/b4190bc0-f677-441e-aaed-f65b4dbca04c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Query 101 -- $:/state, $:/temp, $:/config, $:/whatever/what-123456789

2018-07-30 Thread FrD
Hi,

If you read untill the end (SavingMechanism) you'll see you have to assign 
a template to the tm-save-wiki message.

You assign the new template's name to the  SaveWikiButtonTemplate 
<https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaveWikiButton%2FTemplate> 
Template

As for the template, have a look at the code of $:/core/save/all 
<https://tiddlywiki.com/#%24%3A%2Fcore%2Fsave%2Fall> to built a new one.

Regards

FrD

Le lundi 30 juillet 2018 14:45:03 UTC+2, @TiddlyTweeter a écrit :
>
> FrD,
>
> Playing with this. I does NOT seem to work in the latest TW??
>
> BEFORE  I report it as a bug could someone else please check I have my 
> brain correct?
>
> [all[]] -$:/HistoryList <https://tiddlywiki.com/#%24%3A%2FHistoryList> -
> $:/StoryList <https://tiddlywiki.com/#%24%3A%2FStoryList> -$:/Import 
> <https://tiddlywiki.com/#%24%3A%2FImport> -$:/isEncrypted 
> <https://tiddlywiki.com/#%24%3A%2FisEncrypted> -$:/UploadName 
> <https://tiddlywiki.com/#%24%3A%2FUploadName> -[prefix[$:/state/ 
> <https://tiddlywiki.com/#%24%3A%2Fstate%2F>]] -[prefix[$:/temp/ 
> <https://tiddlywiki.com/#%24%3A%2Ftemp%2F>]]
>
> Josiah
>
> FrD wrote:
>>>
>>> Take a look at   https://tiddlywiki.com/#SavingMechanism  . You'll see 
>>> that the the saver mechanism uses the filter defined in 
>>> $:/config/SaverFilter. 
>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaverFilter>
>>> If you look at this tiddler you can see it excludes $:/temp tiddlers. 
>>> You can modify it according to your needs.
>>>
>>

-- 
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/47f2826a-27ea-43a4-b21c-b42e273881df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Query 101 -- $:/state, $:/temp, $:/config, $:/whatever/what-123456789

2018-07-30 Thread FrD
Hi,

Sorry I made a mistake. This filter is only for specifying the tiddlers 
triggering the dirty state. I'll investigate.

Regards

FrD

Le lundi 30 juillet 2018 14:45:03 UTC+2, @TiddlyTweeter a écrit :
>
> FrD,
>
> Playing with this. I does NOT seem to work in the latest TW??
>
> BEFORE  I report it as a bug could someone else please check I have my 
> brain correct?
>
> [all[]] -$:/HistoryList <https://tiddlywiki.com/#%24%3A%2FHistoryList> -
> $:/StoryList <https://tiddlywiki.com/#%24%3A%2FStoryList> -$:/Import 
> <https://tiddlywiki.com/#%24%3A%2FImport> -$:/isEncrypted 
> <https://tiddlywiki.com/#%24%3A%2FisEncrypted> -$:/UploadName 
> <https://tiddlywiki.com/#%24%3A%2FUploadName> -[prefix[$:/state/ 
> <https://tiddlywiki.com/#%24%3A%2Fstate%2F>]] -[prefix[$:/temp/ 
> <https://tiddlywiki.com/#%24%3A%2Ftemp%2F>]]
>
> Josiah
>
> FrD wrote:
>>>
>>> Take a look at   https://tiddlywiki.com/#SavingMechanism  . You'll see 
>>> that the the saver mechanism uses the filter defined in 
>>> $:/config/SaverFilter. 
>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaverFilter>
>>> If you look at this tiddler you can see it excludes $:/temp tiddlers. 
>>> You can modify it according to your needs.
>>>
>>

-- 
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/bab46d15-6223-4c37-ba49-356a7562fdf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why list-links with transclusion doesn't work for me?

2018-07-30 Thread FrD
Hi,

Look at the end of this doc tiddler (Special parameters) : 
https://tiddlywiki.com/#Introduction%20to%20filter%20notation

Regards

FrD

Le lundi 30 juillet 2018 14:50:48 UTC+2, Alexei R a écrit :
>
> Lets say I have multiple tiddlers* tagged *"X".
> And I have additional tiddler that has *title* "X".
>
> Now if I type 
> <>
>   into the text area of the tiddler with title "X" - I get list of all 
> tiddlers tagged "X".
>
> But why similar expression, which supposed to use transclusion,
> <>
>   doesn't give me the same result? The result is empty list...
>
> What is my mistake?
>

-- 
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/27e78f68-a58e-4024-ab85-643b507dba89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create a new tiddler with custom predefined fields?

2018-07-30 Thread FrD
Hi,

Create a tiddler as in the picture below (this will be the "template"). I 
called it Computer_Template
In another tiddler enter this code : 
<$button message="tm-new-tiddler" param="Computer_Template">Create New 
Computer Tiddler

Clicking on the button will create a new tiddler like the template tiddler.

Regards

FrD

Le lundi 30 juillet 2018 15:03:13 UTC+2, Alexei R a écrit :
>
> Let's say I need to prepare catalog of my computers.
> And I need to create multiple tiddlers that contains the following text:
> ;Computer Name
> :{{!!Computer_Name}}
> ;Computer_Model
> :{{!!Computer_Model}}
> ;Computer Manufacturer
> :{{!!Computer_Manufacturer}}
>
> And when which of them has following predefined fields:
>
>- Computer_Name
>- Computer_Model
>- Computer_Manufacturer
>
> I expect to give different values to thees fields at different tiddlers 
> and to receive nicely rendered results.
> How can I do it?
>
> On Monday, July 30, 2018 at 9:20:21 AM UTC+3, Alexei R wrote:
>>
>> Hello all
>>
>> Please help me to find the best way to create a new tiddlers with custom 
>> predefined fields. 
>> Preferably I need to be able to create a couple different types of 
>> tiddlers each with different set of fields...
>>
>> --
>> Alexei
>>
>

-- 
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/c3dae406-ccfb-472b-9cde-c6bba34ed2c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create a new tiddler with custom predefined fields?

2018-07-30 Thread FrD
Hi,

In order to use action widgets you need to use a button widget or a select 
widget or any widget that can trigger actions.
You don't have to use actionsetfield as you can specify the fields to be 
created within the actioncreatetiddler widget.

But maybe if you want the fields already populated, you'd better create a 
template tiddler and use the tm-new-tiddler message : 
https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler


Regards

FrD

Le lundi 30 juillet 2018 13:04:28 UTC+2, Alexei R a écrit :
>
> Thank you.
>
> Well
> Should I use https://tiddlywiki.com/#ButtonWidget that triggers 
> https://tiddlywiki.com/#ActionCreateTiddlerWidget that uses 
> https://tiddlywiki.com/#ActionSetFieldWidget and 
> https://tiddlywiki.com/#Transclusion%20in%20WikiText in order to 
> rendering fields values?
> It seems to me extremely complicated to do. And can't get my head around 
> it :-(
> Can you give me some example please?
>
> On Monday, July 30, 2018 at 10:57:23 AM UTC+3, FrD wrote:
>>
>> Hi,
>>
>> Take a look at  https://tiddlywiki.com/#ActionCreateTiddlerWidget 
>> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2F%23ActionCreateTiddlerWidget=D=1=AFQjCNFw-eJqPzZqCrUk51GetN0KaDJbrw>
>>  
>> .
>> <https://tiddlywiki.com/#ActionCreateTiddlerWidget>
>> You can add any field or tag you want to the tiddler you are creating.
>> See in Contents and Attributes  : 
>>
>> *{any attributes not starting with $}*Each attribute name specifies a 
>>> field to be created in the new tiddler
>>>
>>
>> Regards
>>
>> FrD
>>
>> Le lundi 30 juillet 2018 08:20:21 UTC+2, Alexei R a écrit :
>>>
>>> Hello all
>>>
>>> Please help me to find the best way to create a new tiddlers with custom 
>>> predefined fields. 
>>> Preferably I need to be able to create a couple different types of 
>>> tiddlers each with different set of fields...
>>>
>>> --
>>> Alexei
>>>
>>

-- 
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/179d742f-dd29-4b2f-81aa-7c7a70d8389d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Query 101 -- $:/state, $:/temp, $:/config, $:/whatever/what-123456789

2018-07-30 Thread FrD
Hi,

Take a look at   https://tiddlywiki.com/#SavingMechanism  . You'll see that 
the the saver mechanism uses the filter defined in $:/config/SaverFilter. 
<https://tiddlywiki.com/#%24%3A%2Fconfig%2FSaverFilter>
If you look at this tiddler you can see it excludes $:/temp tiddlers. You 
can modify it according to your needs.

Regards

FrD

Le lundi 30 juillet 2018 10:12:24 UTC+2, @TiddlyTweeter a écrit :
>
> barro... & Mark S.
>
> Regarding ...
>
> $:/temp/etc ...
>
> FYI. As far as I can see they persist unless you explicitly delete them. I 
> think that maybe it looks like they are auto-deleted because the particular 
> routines involved in creating them are also deleting them? I'm still abit 
> unclear ...
>
> But, in a simple test: I (1) downloaded an empty TW; (2) added the tiddler 
> ...
>
> $:/temp/tt/test
>
> It was still there after a reload.
>
> Best wishes
> Josiah
>
> On Sunday, 29 July 2018 19:58:33 UTC+2, barro...@gmail.com wrote:
>>
>> hello,
>>
>> From what I noticed, some of the temp tiddlers are saved and not 
>> deleted.  The 2 I know that remain are "Search" and "Advanced Search" which 
>> appear to hold last entered search term.  I don't know if they have any 
>> purpose other than holding the term bu I know if I save with a search term 
>> in the basic search bar and close the wiki without clearing the search bar, 
>> when the wiki is reopened it will load with the search term still in the 
>> search bar.
>>
>> On Saturday, July 28, 2018 at 11:45:00 AM UTC-4, @TiddlyTweeter wrote:
>>>
>>> As I begin to tweak I get confused.
>>>
>>> $:/state/etc., $:/temp/etc., $:/config/etc, $:/whatever/what-123456789
>>>
>>> Do any of them mean something SPECIAL? For example ...
>>>
>>> -- Does TW delete "$:/temp/etc." on close?
>>>
>>> Or are these just USEFUL CONVENTIONS?
>>>
>>> I think when you start to "tweak" its useful to know more about how to 
>>> consistently make addressing for The Dark Side (everything beginning "$:/").
>>>
>>> Any comments?
>>>
>>

-- 
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/2ac02ca5-60f2-4a6c-bdc4-4de743ae1432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create a new tiddler with custom predefined fields?

2018-07-30 Thread FrD
Hi,

Take a look at  https://tiddlywiki.com/#ActionCreateTiddlerWidget .
<https://tiddlywiki.com/#ActionCreateTiddlerWidget>
You can add any field or tag you want to the tiddler you are creating.
See in Contents and Attributes  : 

*{any attributes not starting with $}*Each attribute name specifies a field 
> to be created in the new tiddler
>

Regards

FrD

Le lundi 30 juillet 2018 08:20:21 UTC+2, Alexei R a écrit :
>
> Hello all
>
> Please help me to find the best way to create a new tiddlers with custom 
> predefined fields. 
> Preferably I need to be able to create a couple different types of 
> tiddlers each with different set of fields...
>
> --
> Alexei
>

-- 
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/ad943cac-20f3-4596-9ee3-f2c419290054%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Action for Link widget or LinkCatcher Widget or Something Similar

2018-07-29 Thread FrD
Hi,

Put the link inside a button which navigates to the target of the link, as :

<$button class="tc-btn-invisible" to="HelloThere">
<$action-setfield  myfield="HelloThere"/>
<$link to="HelloThere">HelloThere




Regards

FrD

Le dimanche 29 juillet 2018 17:27:08 UTC+2, Mohammad a écrit :
>
> Is there any way to set some state tiddler or change the value of some 
> fields in a state tiddler when clicking on a link?
>
> I mean I want to store some values in a state tiddler when a link is 
> clicked?
>
>
>
> Use case:
>  I use KeeBoord plugin for navigation in TW using some global shortcut 
> keys!
> I want to track which link is clicked by mouse and use it for updating my 
> status in a state tiddler
>
> *Mohammad*
>

-- 
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/764e1376-2f73-449e-a12c-1697c6339598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: List and transclude today's tiddlers

2018-07-28 Thread FrD
Sorry,

\define day()
<$macrocall $name="now" format="-0MM-0DD"/>
\end

\define filter()
[prefix[$(today)$]]
\end

<$wikify name="today" text=<>>
<$list filter=<>>

<$view field="title"/>
{{<>}}





Regards

FrD

Le samedi 28 juillet 2018 20:37:05 UTC+2, FrD a écrit :
>
> Hi,
>
> This seems to work, although there may be a simpler solution :
>
> \define day()
> <$macrocall $name="now" format="-0MM-0DD"/>
> \end
>
> \define filter()
> [prefix[$(today)$]]
> \end
>
> <$wikify name="today" text=<>>
> <$list filter=<>>
>
> <$view field="title"/>
> {{<>}}
> 
> 
>
>
>
> Regards
>
> FrD
>
> Le samedi 28 juillet 2018 18:46:22 UTC+2, JWHoneycutt a écrit :
>>
>> I want to transclude all the tiddlers that start with today's date. I 
>> suspect I am handling the variable incorrectly.
>>
>>
>> <$set name="today" value="<>"/>  <$list filter="[prefix[$(today)$]]"> <$view field="title"/> 
>> {{<>}}  
>>
>>
>> Can you help me debug this?
>>
>>
>> JWHoneycutt
>>
>

-- 
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/1233152d-2280-4b62-b24c-54f9405f7a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: List and transclude today's tiddlers

2018-07-28 Thread FrD
Hi,

This seems to work, although there may be a simpler solution :

\define day()
<$macrocall $name="now" format="-0MM-0DD"/>
\end

\define filter()
[prefix[$(today)$]]
\end

<$wikify name="today" text=<>>
<$list filter=<>>

<$view field="title"/>
{{<>}}





Regards

FrD

Le samedi 28 juillet 2018 18:46:22 UTC+2, JWHoneycutt a écrit :
>
> I want to transclude all the tiddlers that start with today's date. I 
> suspect I am handling the variable incorrectly.
>
>
> <$set name="today" value="<>"/>  <$list filter="[prefix[$(today)$]]"> <$view field="title"/> 
> {{<>}}  
>
>
> Can you help me debug this?
>
>
> JWHoneycutt
>

-- 
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/4ea2bbc1-618a-49a6-be6a-828903829e90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Alternative to <$list> for doing wikitext if then macros

2018-07-17 Thread FrD
Hi,

Several times in this group someone wants to build a if then (else) 
wikitext macro.
The solution with the <$list> widget works fine. But the code is often 
complicated.

I just wanted to point out that sometimes the use of the <$importvariables> 
widget is simpler.

Instead of writing an (often) convoluted macro to treat two or three 
different cases with the <$list> widget, you can write two or three 
different simple macros in different tiddlers and select the tiddler you 
want to import based on the value for instance of a checkbox in an 
interface.
It works fine when the different cases are based on the value the user 
chooses via a select or a checkbox or a radio button. And in this case I 
feel it's a more TWish(?) way of doing things (with filters and tiddlers).

Another tool in the TW toolbox !

Regards

FrD

-- 
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/659163fd-b65b-46a6-89a1-50664ffc49f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Editing TiddlyWiki files on Android

2018-07-11 Thread FrD
Hi Luis,

The method in my previous message is not very smart ! You'd better use the 
webdav server for what it's meant to do :
- start the server
- choose the root directory (SdCard for me)
- open a new tab in Chrome
- type http://localhost/8080/ in the address bar
- navigate through the directory structure until you find your local files 
(you'd better locate them before of course !)

Regards

FrD

Le mercredi 11 juillet 2018 09:15:51 UTC+2, FrD a écrit :
>
> Hi Luis,
>
> First you start the webdav server.
> Then you have to type yourself the address (http://localhost:8080/... 
> etc) in the address bar of your browser, at least for the directory where 
> your local files live.
> That's the cumbersome part as the path to the directory is often a bit 
> complicated !
> That way the directory is served by the webdav server.
> Then by clicking on a link of a TW, the file opens in the browser ; the 
> file is also served by the webdav server. Or you press on the link and 
> choose "open in a new tab". It's a better way as you keep your tab with 
> your directory always open.
>
> Regards
>
> FrD
>
> Le mercredi 11 juillet 2018 08:41:12 UTC+2, Luís de Sousa a écrit :
>>
>> Hi again FrD,
>>
>> I am able to point the browser to the correct location through the WebDAV 
>> server. However, the browser then opens the file itself, which of course is 
>> pointless.
>>
>> Thank you.
>>
>> On Tuesday, 10 July 2018 22:49:46 UTC+2, FrD wrote:
>>>
>>> Hi Luis,
>>>
>>> Some more words.
>>> You need to find where the local copies of the files you synchronize 
>>> are, and then to choose in the webdav parameters the root directory.
>>> In my case (dropbox), I chose SdCard (internal memory) as root directory 
>>> for webdav.
>>> My dropbox synchronized files are in SdCard : 
>>> Android/data/com.dropbox.android/files/...
>>>
>>> Then in Chrome I typed the url to the directory where my files live :
>>> http://localhost:8080/Android/data/com.dropbos.android/files/...
>>> I keep this tab open and when I want to open or edit a TW in this 
>>> directory, I press ot the file link and open  it in another tab (after 
>>> having launched webdav).
>>>
>>> Hope this helps.
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le mardi 10 juillet 2018 22:35:27 UTC+2, FrD a écrit :
>>>>
>>>> Hi Luis,
>>>>
>>>> if you really use the webdav server, the url looks like :
>>>>
>>>> http://localhost:8080/Android/data/...
>>>>
>>>> Is it the case ?
>>>>
>>>> Regards
>>>>
>>>> FrD
>>>>
>>>> Le mardi 10 juillet 2018 11:36:00 UTC+2, Luís de Sousa a écrit :
>>>>>
>>>>> Hi FrD, thank you for the reply.
>>>>>
>>>>> I installed WebDAV server and fired it up. I am able to access if from 
>>>>> the browser and navigate to the ownCLoud folder, however, if I open a 
>>>>> TiddlyWiki file the behaviour is the same as opening it directly in the 
>>>>> browser (i.e. buttons do not work).
>>>>>
>>>>> Regards.
>>>>>
>>>>> On Tuesday, 10 July 2018 09:41:57 UTC+2, FrD wrote:
>>>>>>
>>>>>> Hi Luis,
>>>>>>
>>>>>> I'm using WebDAV serveur (here 
>>>>>> <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver=fr>)
>>>>>>  
>>>>>> to edit TWs on my android phone. My TWs are stored on Dropbox and synced 
>>>>>> with my phone via the dropbox app..
>>>>>> It works fine and should work with owncloud. Or at least it's worth a 
>>>>>> try.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> FrD
>>>>>>
>>>>>> Le lundi 9 juillet 2018 20:24:22 UTC+2, Luís de Sousa a écrit :
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I am new to TiddlyWiki, I appreciate very much its technology 
>>>>>>> agnostic paradigm and am convinced it is the right tool to manage my 
>>>>>>> notes. 
>>>>>>> I also need to access my notes from both my computer (Linux) and my 
>>>>>>> phone 
>>>>>>> (Android).
>>>>>>>
>>>>>>> I have successfully created Wiki files with Firefox and 
>>>>>>> TiddlyDesktop on my computer, that are then automatically synchronised 
>>>>>>> to a 
>>>>>>> ownCloud server. On my phone the ownCloud client synchronises these 
>>>>>>> files 
>>>>>>> correctly and I am able to open them with the browser. However, I am 
>>>>>>> unable 
>>>>>>> to edit the Wiki files with either Firefox or Chrome on the phone.
>>>>>>>
>>>>>>> How can I edit on Android these TiddlyWiki files synchronised from 
>>>>>>> ownCloud?
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>

-- 
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/e39724be-5acd-4b88-b8fa-48353571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Editing TiddlyWiki files on Android

2018-07-11 Thread FrD
Hi Luis,

First you start the webdav server.
Then you have to type yourself the address (http://localhost:8080/... etc) 
in the address bar of your browser, at least for the directory where your 
local files live.
That's the cumbersome part as the path to the directory is often a bit 
complicated !
That way the directory is served by the webdav server.
Then by clicking on a link of a TW, the file opens in the browser ; the 
file is also served by the webdav server. Or you press on the link and 
choose "open in a new tab". It's a better way as you keep your tab with 
your directory always open.

Regards

FrD

Le mercredi 11 juillet 2018 08:41:12 UTC+2, Luís de Sousa a écrit :
>
> Hi again FrD,
>
> I am able to point the browser to the correct location through the WebDAV 
> server. However, the browser then opens the file itself, which of course is 
> pointless.
>
> Thank you.
>
> On Tuesday, 10 July 2018 22:49:46 UTC+2, FrD wrote:
>>
>> Hi Luis,
>>
>> Some more words.
>> You need to find where the local copies of the files you synchronize are, 
>> and then to choose in the webdav parameters the root directory.
>> In my case (dropbox), I chose SdCard (internal memory) as root directory 
>> for webdav.
>> My dropbox synchronized files are in SdCard : 
>> Android/data/com.dropbox.android/files/...
>>
>> Then in Chrome I typed the url to the directory where my files live :
>> http://localhost:8080/Android/data/com.dropbos.android/files/...
>> I keep this tab open and when I want to open or edit a TW in this 
>> directory, I press ot the file link and open  it in another tab (after 
>> having launched webdav).
>>
>> Hope this helps.
>>
>> Regards
>>
>> FrD
>>
>> Le mardi 10 juillet 2018 22:35:27 UTC+2, FrD a écrit :
>>>
>>> Hi Luis,
>>>
>>> if you really use the webdav server, the url looks like :
>>>
>>> http://localhost:8080/Android/data/...
>>>
>>> Is it the case ?
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le mardi 10 juillet 2018 11:36:00 UTC+2, Luís de Sousa a écrit :
>>>>
>>>> Hi FrD, thank you for the reply.
>>>>
>>>> I installed WebDAV server and fired it up. I am able to access if from 
>>>> the browser and navigate to the ownCLoud folder, however, if I open a 
>>>> TiddlyWiki file the behaviour is the same as opening it directly in the 
>>>> browser (i.e. buttons do not work).
>>>>
>>>> Regards.
>>>>
>>>> On Tuesday, 10 July 2018 09:41:57 UTC+2, FrD wrote:
>>>>>
>>>>> Hi Luis,
>>>>>
>>>>> I'm using WebDAV serveur (here 
>>>>> <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver=fr>)
>>>>>  
>>>>> to edit TWs on my android phone. My TWs are stored on Dropbox and synced 
>>>>> with my phone via the dropbox app..
>>>>> It works fine and should work with owncloud. Or at least it's worth a 
>>>>> try.
>>>>>
>>>>> Regards
>>>>>
>>>>> FrD
>>>>>
>>>>> Le lundi 9 juillet 2018 20:24:22 UTC+2, Luís de Sousa a écrit :
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I am new to TiddlyWiki, I appreciate very much its technology 
>>>>>> agnostic paradigm and am convinced it is the right tool to manage my 
>>>>>> notes. 
>>>>>> I also need to access my notes from both my computer (Linux) and my 
>>>>>> phone 
>>>>>> (Android).
>>>>>>
>>>>>> I have successfully created Wiki files with Firefox and TiddlyDesktop 
>>>>>> on my computer, that are then automatically synchronised to a ownCloud 
>>>>>> server. On my phone the ownCloud client synchronises these files 
>>>>>> correctly 
>>>>>> and I am able to open them with the browser. However, I am unable to 
>>>>>> edit 
>>>>>> the Wiki files with either Firefox or Chrome on the phone.
>>>>>>
>>>>>> How can I edit on Android these TiddlyWiki files synchronised from 
>>>>>> ownCloud?
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>

-- 
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/2330395c-01fe-4649-833c-df962bf658e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Editing TiddlyWiki files on Android

2018-07-10 Thread FrD
Hi Luis,

Some more words.
You need to find where the local copies of the files you synchronize are, 
and then to choose in the webdav parameters the root directory.
In my case (dropbox), I chose SdCard (internal memory) as root directory 
for webdav.
My dropbox synchronized files are in SdCard : 
Android/data/com.dropbox.android/files/...

Then in Chrome I typed the url to the directory where my files live :
http://localhost:8080/Android/data/com.dropbos.android/files/...
I keep this tab open and when I want to open or edit a TW in this 
directory, I press ot the file link and open  it in another tab (after 
having launched webdav).

Hope this helps.

Regards

FrD

Le mardi 10 juillet 2018 22:35:27 UTC+2, FrD a écrit :
>
> Hi Luis,
>
> if you really use the webdav server, the url looks like :
>
> http://localhost:8080/Android/data/...
>
> Is it the case ?
>
> Regards
>
> FrD
>
> Le mardi 10 juillet 2018 11:36:00 UTC+2, Luís de Sousa a écrit :
>>
>> Hi FrD, thank you for the reply.
>>
>> I installed WebDAV server and fired it up. I am able to access if from 
>> the browser and navigate to the ownCLoud folder, however, if I open a 
>> TiddlyWiki file the behaviour is the same as opening it directly in the 
>> browser (i.e. buttons do not work).
>>
>> Regards.
>>
>> On Tuesday, 10 July 2018 09:41:57 UTC+2, FrD wrote:
>>>
>>> Hi Luis,
>>>
>>> I'm using WebDAV serveur (here 
>>> <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver=fr>)
>>>  
>>> to edit TWs on my android phone. My TWs are stored on Dropbox and synced 
>>> with my phone via the dropbox app..
>>> It works fine and should work with owncloud. Or at least it's worth a 
>>> try.
>>>
>>> Regards
>>>
>>> FrD
>>>
>>> Le lundi 9 juillet 2018 20:24:22 UTC+2, Luís de Sousa a écrit :
>>>>
>>>> Hi all,
>>>>
>>>> I am new to TiddlyWiki, I appreciate very much its technology agnostic 
>>>> paradigm and am convinced it is the right tool to manage my notes. I also 
>>>> need to access my notes from both my computer (Linux) and my phone 
>>>> (Android).
>>>>
>>>> I have successfully created Wiki files with Firefox and TiddlyDesktop 
>>>> on my computer, that are then automatically synchronised to a ownCloud 
>>>> server. On my phone the ownCloud client synchronises these files correctly 
>>>> and I am able to open them with the browser. However, I am unable to edit 
>>>> the Wiki files with either Firefox or Chrome on the phone.
>>>>
>>>> How can I edit on Android these TiddlyWiki files synchronised from 
>>>> ownCloud?
>>>>
>>>> Thank you.
>>>>
>>>

-- 
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/c680b5e9-5b08-413c-a553-c1a9860795b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Editing TiddlyWiki files on Android

2018-07-10 Thread FrD
Hi Luis,

if you really use the webdav server, the url looks like :

http://localhost:8080/Android/data/...

Is it the case ?

Regards

FrD

Le mardi 10 juillet 2018 11:36:00 UTC+2, Luís de Sousa a écrit :
>
> Hi FrD, thank you for the reply.
>
> I installed WebDAV server and fired it up. I am able to access if from the 
> browser and navigate to the ownCLoud folder, however, if I open a 
> TiddlyWiki file the behaviour is the same as opening it directly in the 
> browser (i.e. buttons do not work).
>
> Regards.
>
> On Tuesday, 10 July 2018 09:41:57 UTC+2, FrD wrote:
>>
>> Hi Luis,
>>
>> I'm using WebDAV serveur (here 
>> <https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver=fr>)
>>  
>> to edit TWs on my android phone. My TWs are stored on Dropbox and synced 
>> with my phone via the dropbox app..
>> It works fine and should work with owncloud. Or at least it's worth a try.
>>
>> Regards
>>
>> FrD
>>
>> Le lundi 9 juillet 2018 20:24:22 UTC+2, Luís de Sousa a écrit :
>>>
>>> Hi all,
>>>
>>> I am new to TiddlyWiki, I appreciate very much its technology agnostic 
>>> paradigm and am convinced it is the right tool to manage my notes. I also 
>>> need to access my notes from both my computer (Linux) and my phone 
>>> (Android).
>>>
>>> I have successfully created Wiki files with Firefox and TiddlyDesktop on 
>>> my computer, that are then automatically synchronised to a ownCloud server. 
>>> On my phone the ownCloud client synchronises these files correctly and I am 
>>> able to open them with the browser. However, I am unable to edit the Wiki 
>>> files with either Firefox or Chrome on the phone.
>>>
>>> How can I edit on Android these TiddlyWiki files synchronised from 
>>> ownCloud?
>>>
>>> Thank you.
>>>
>>

-- 
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/c71e787f-7be7-496d-83d3-ef36451d8d18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Editing TiddlyWiki files on Android

2018-07-10 Thread FrD
Hi Luis,

I'm using WebDAV serveur (here 
<https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver=fr>)
 
to edit TWs on my android phone. My TWs are stored on Dropbox and synced 
with my phone via the dropbox app..
It works fine and should work with owncloud. Or at least it's worth a try.

Regards

FrD

Le lundi 9 juillet 2018 20:24:22 UTC+2, Luís de Sousa a écrit :
>
> Hi all,
>
> I am new to TiddlyWiki, I appreciate very much its technology agnostic 
> paradigm and am convinced it is the right tool to manage my notes. I also 
> need to access my notes from both my computer (Linux) and my phone 
> (Android).
>
> I have successfully created Wiki files with Firefox and TiddlyDesktop on 
> my computer, that are then automatically synchronised to a ownCloud server. 
> On my phone the ownCloud client synchronises these files correctly and I am 
> able to open them with the browser. However, I am unable to edit the Wiki 
> files with either Firefox or Chrome on the phone.
>
> How can I edit on Android these TiddlyWiki files synchronised from 
> ownCloud?
>
> Thank you.
>

-- 
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/c2ca020d-3b58-45fc-85ab-ee00315b694d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching for excerpts in a book

2018-07-08 Thread FrD
Hi Jed,

Thanks for your quick and detailed answer.
I've been fiddling with the list widget for some time now and was not aware 
of this.
Good to know.

Regards

FrD

Le dimanche 8 juillet 2018 10:11:04 UTC+2, Jed Carty a écrit :
>
> Jeremy gave a much better response to this not that long ago but I don't 
> know which thread it is in. The short version is that it is the default 
> behaviour of the list widget.
>
> If you have an empty line inside the list widget it displays the tiddler 
> titles and adds line breaks, so this:
>
> <$list filter=<>>
>
>
> 
>
>
> gives the same result as this:
>
> <$list filter=<>><$link><>
>
>
> If you don't put in the empty space than there is no line break.
> So this:
>
> <$list filter=<>>
> 
>
>
> gives the same result as this:
>
> <$list filter=<>><$link><>
>
>
> You can change what is contained inside the $list tags and change the 
> template to display each item, but for this I didn't think it was necessary.
>

-- 
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/b4ce5e93-f2fc-49ae-ad8b-8838ef6ae275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching for excerpts in a book

2018-07-08 Thread FrD
Hi Jed,

Your tool works fine but I don't understand why your <$list> loop is empty. 
How does the display of the results take place ?

Thanks

Regards

FrD

Le samedi 7 juillet 2018 20:02:42 UTC+2, Jed Carty a écrit :
>
> Because this same question has been asked a few times I made a quick 
> tiddler that gives you an exact text search, it is just the solution Mark 
> gave with a very simple interface.
>
> https://www.ooktech.xyz:8443/Public#Exact%20Phrase%20Search
>
> At the moment it only searches the text field, if that is a problem it can 
> be changed.
>

-- 
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/fc7b65ce-2ae5-4e3e-b347-66f7ab9c0726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching for excerpts in a book

2018-07-07 Thread FrD
Hi @Mark, @Diego, @Jed

Thanks a lot for your answers. It confirms what I was suspecting after 
trying Danielo's Context plugin (here <http://contextplugin.tiddlyspot.com/>
).
With your help and Danielo's plugin I'm confident I'll get my way.
(Having a bit of context is very useful for my use case).

Regards

FrD

Le samedi 7 juillet 2018 20:02:42 UTC+2, Jed Carty a écrit :
>
> Because this same question has been asked a few times I made a quick 
> tiddler that gives you an exact text search, it is just the solution Mark 
> gave with a very simple interface.
>
> https://www.ooktech.xyz:8443/Public#Exact%20Phrase%20Search
>
> At the moment it only searches the text field, if that is a problem it can 
> be changed.
>

-- 
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/ca702be3-b9e5-403f-bba8-f9c9bf6b5b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Searching for excerpts in a book

2018-07-07 Thread FrD
Hi,

After having scanned and OCR(ed ?) a (very) small book, I've copied the 
chapters in tiddlers. My interest was to be able to find some sentences (or 
part of) quickly and to cross reference with other documents (and add my 
own notes on the chapters).

I'd like to copy a part of a sentence that I know in a search box and find 
the exact match. But the results include the tiddlers where sometimes only 
one word matches.

How can I use the search abilities of TW in order to find "exactly" some 
given excerpt ?

Thanks for your hints !

Regards

FrD

-- 
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/e450c696-d984-40ab-adc5-9f4e555407d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Webdav] Backups ?

2018-06-01 Thread FrD
Hi PMario,

Le vendredi 1 juin 2018 14:39:28 UTC+2, PMario a écrit :
>
> On Friday, June 1, 2018 at 2:05:52 PM UTC+2, FrD wrote:
> ...
>
>> But I was talking about a more simple use case : serving and saving local 
>> files (on the local filesystem or on dropbox or onedrive as you have local 
>> copies of the files). There should (?) be no access conflict on the files 
>> (of course it may happen, but you should master your own files ...).
>> The backup folder could bee created before using the saver or the webdav 
>> server could maybe do it (after all it's on your filesystem).
>>
>
> "I can hear you" :) ... But as a software author, you can't rely on 
> assumptions. Especially, that the setup is done right. Murphy's law 
> <https://en.wikipedia.org/wiki/Murphy%27s_law> will bite you ;) There's 
> no way around it. 
> -mario
>

Maybe by testing if the document URL begins with "localhost" or 
"127.0.0.1", one can see if it's a local file system save case and then 
fire the saver ...

If I can wrap my head around the http protocol, XMLHttpRequest, I'll give 
it a try, writing something like a local put saver with "backup" ability 
(MKCOL request I've read).

Oups !!! I've said "backup"  -:)

Regards

FrD

-- 
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/a771824d-bd32-493d-ab32-e5e894df1d2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Webdav] Backups ?

2018-06-01 Thread FrD
Hi PMario,

Thanks for the detailed explanation.
I agree that the general case is quite complicated (collision handling as 
you say for instance).

But I was talking about a more simple use case : serving and saving local 
files (on the local filesystem or on dropbox or onedrive as you have local 
copies of the files). There should (?) be no access conflict on the files 
(of course it may happen, but you should master your own files ...).
The backup folder could bee created before using the saver or the webdav 
server could maybe do it (after all it's on your filesystem).

So I'm pretty much in the case you refer as "local backups".

Maybe something like a "putlocal.js" file with backup ability could be 
created from the put.js. That was more my point.

Regards

FrD

Le vendredi 1 juin 2018 13:51:54 UTC+2, PMario a écrit :
>
> On Friday, June 1, 2018 at 1:11:32 PM UTC+2, FrD wrote:
>  
>
>> Going back to the put.js saver, what about doing a second "put" request 
>> just after the first one and giving it an URL pointing to a file (to be 
>> created) inside a folder (like "TWBackup") which could be on the same level 
>> as the original file. Same structure as in TW Classic.
>> Would it be a way to go ?
>>
>
> Not really. ... If the TWBackup directory doesn't exist on the server, the 
> client / browser would need to create it first. 
>
> While the "save action" seems to be simple, there is a littlebit going on 
> in the background. 
>
> WebDav is an extension [1] to the HTTP(S) request methods [2]. At the 
> moment we only use 3 HTTP functions: 
>
> - OPTIONS is used to get info about the server. eg: If PUT is allowed.
> - PUT method to write a file back to the server.  
> - HEAD is used to get the ETags
>
> This PUT mechanism is "relatively" simple, if there wouldn't be the ETag 
> handling. 
> It caused quite some headaches 
> <https://github.com/Jermolene/TiddlyWiki5/pull/3230> to get it right for 
> different servers. (apache, nginx, IIS, others). 
>
> ETags are used to identify "overwrite collisions". 
>
> Eg: 
>
>  - User A and user B open the same file at the same time. 
>  - User A modifies the file and saves it back to the server. 
>  - Later user B also modifies the file and wants to save it. -> problem
>
> The problem is, that user B would overwrite the changes from user A. Etags 
> [3] help us to detect this problem. ... 
>
> Similar protections would be needed for a WebDav, server-side backup 
> handling. ... As others point out: Serverside backups should be done 
> server-side. 
>
> That's why I personally prefer "local backups". They are much simpler to 
> handle. 
>
> have fun!
> mario
>
> [1] https://en.wikipedia.org/wiki/WebDAV#Implementation
> [2] 
> https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods
> [3] https://en.wikipedia.org/wiki/HTTP_ETag
>

-- 
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/b1245825-0f66-42a7-bf70-d48a20771a13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Webdav] Backups ?

2018-06-01 Thread FrD
Hi,

Le vendredi 1 juin 2018 12:34:03 UTC+2, PMario a écrit :
>
> On Thursday, May 31, 2018 at 3:49:03 PM UTC+2, Lost Admin wrote:
>>
>> This has been an interesting thread to read. Like @FrD, I use webdav for 
>> most of my TiddlyWikis. What makes this conversation interesting is how you 
>> are trying to solve the problem. In my opinion, the TiddlyWiki code 
>> shouldn't include backup capabilities.
>>
>
> Why not. *It's a plugin* and a convenience function, if I don't want or 
> can't use any other 3rd party app. .. In my experience they go away after 
> some time, or the experience, in my area, is broken. 
>  
>
>> The backup should be handled on the server side (or desktop side in the 
>> case of local savers). Some WebDAV server implementations include 
>> versioning (i.e. http://sabre.io/dav/versioning/ 
>> <http://www.google.com/url?q=http%3A%2F%2Fsabre.io%2Fdav%2Fversioning%2F=D=1=AFQjCNFe4g4qZabzghaure2hJ0VuoZBJGA>
>> ).
>>
>
> That's nice, when I use IIS, apache or nginx setup :/
>  
> ...
>
 

> -m
>
>  
Remember that I don't know much about http protocol and XMLHttpRequest() 
...-:)
And I'm only concerned about serving and saving local files via webdav (or 
on dropbox, but it's quite identical).
Going back to the put.js saver, what about doing a second "put" request 
just after the first one and giving it an URL pointing to a file (to be 
created) inside a folder (like "TWBackup") which could be on the same level 
as the original file. Same structure as in TW Classic.
Would it be a way to go ?

Regards

FrD

-- 
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/ba0c0146-e442-40bd-8a75-4c69c0c60de2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Presenting: SetUp - a guide to set up a great TW system

2018-06-01 Thread FrD
Hi,

Here it is :

https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver

Regards

FrD

Le jeudi 31 mai 2018 21:12:22 UTC+2, Mat a écrit :
>
> FrD wrote:
>>
>> The android app "Serveur WebDAV" works well on saving TWs both locally 
>> and on dropbox (on my Samsung A5 phone).
>>
>
> Thanks for informing!  I don't find anything ni the google play store 
> <https://play.google.com/store/search?q=serveur%20webdav=apps=en> 
> (or whatever it is called) that is titled "serveur WebDAV" nor "server 
> WebDav". A few seem to be named the other way (and withou the "u"), i.e 
> "WebDAV Server". Could you provide a link to the one you're using?
>
> Thanks!
>
> <:-)
>

-- 
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/5cfc4c93-7f70-4887-98aa-947be7377201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Webdav] Backups ?

2018-05-31 Thread FrD
Hi,

Is it possible to download to a specific folder inside the Download folder ?
I could create a folder for TWs backups like "TWBackups" inside the 
Download folder and have my backups of TWs files come at this location. And 
eventually make a junction to another folder near the location of the TW.

Another idea would be to get the file name of the tw and add a time stamp 
before downloading (like in TW classic).

Maybe this subject deserves another thread as it is not directly related to 
the original subject ...

Regards

FrD

Le jeudi 31 mai 2018 11:07:49 UTC+2, PMario a écrit :
>
> On Thursday, May 31, 2018 at 11:06:02 AM UTC+2, PMario wrote:
>>
>> On Thursday, May 31, 2018 at 11:00:03 AM UTC+2, FrD wrote:
>>>
>>> It works fine, thanks a lot !
>>> It creates index.html in the download folder, then index (1).html, index 
>>> (2).html, as expected.
>>>
>>
>> (1), (2) .. is standard browser behaviour. Which in this case is "wanted 
>> behaviour" :)
>>
>
> I was thinking about a possibility to make the name configurable. ... 
>
> But that would need several tiddlers and should be packed into a plugin. 
> ... no promise, no eta ;)
>
> have fun!
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dba7776c-6b0b-4ebd-bb5d-7455b0fdb8df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   >