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

2019-02-18 Thread TonyM
Thanks for maintaining and Developing this FrD

Looking good.

On Monday, 18 February 2019 22:48:12 UTC+11, FrD wrote:
>
> 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" 

[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" 

[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" 

[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/ 
>>> ?
>>> 
>>> 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-09 Thread Artem Ivanov
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/ 
>> ?
>> 
>> 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/d3f2c4db-bad5-4937-b5ba-924d43d43e4c%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/ 
> ?
> 
> 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/ 
 ?
 
 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 Artem Ivanov
What I mean is, after uninstalling the plugin and a fresh install of the 
5.1.19 version,

<>

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/ 
>>> ?
>>> 
>>> 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/ac731502-7fb1-4186-bd2b-0d70ae186e67%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/ 
>> ?
>> 
>> 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-07 Thread TonyM
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?
   

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=<>/>

\end

and the above will add the tag and fieldname the user desires, and if not 
defined will do nothing?

Thanks
Tony



On Thursday, February 7, 2019 at 6:45:27 PM UTC+11, FrD wrote:
>
> 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/ 
>>> ?
>>> 
>>> 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/7e81a249-90fb-423c-ac26-0dcee8670d72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-02-07 Thread Artem Ivanov
Hi FrD,

Thank you, this version solved the issue. However, now when I use

<>

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/ 
> ?
> 
> 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/f9038f12-0be2-471a-9738-8a2bcc071c32%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/ 
>> ?
>> 
>> 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/ 
>>> ?
>>> 
>>> 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 Mohammad
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/ 
>> ?
>> 
>> 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/b6cd7a4c-ee2c-4d08-824e-7732f733740e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-02-06 Thread 'Mark S.' via TiddlyWiki
Before 5.1.18, there was a bug (or a feature) that allowed the Set widget 
to set variables as $(variable)$. That was fixed. Or at least I think 
that's the source. See this comment by Jeremy: 

https://groups.google.com/d/msg/tiddlywiki/gmddqRgRFaI/Vz2B1KXlDwAJ

So you'll need to work with variety of <> instead of $(variable)$.

Good luck!
-- Mark

On Wednesday, February 6, 2019 at 2:30:10 PM UTC-8, 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/ 
>> ?
>> 
>> 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/3c39b3f8-8725-42f1-811b-843be7a9835a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-02-06 Thread TonyM
An answer to your Question?

The $(variable)$ format is used Within macro definitions / macro body and 
is a substitution like $paramname$ but refers to a variable from outside 
the macro. Is your use complying with this?

Regards
tony



On Thursday, February 7, 2019 at 9:30:10 AM UTC+11, 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/ 
>> ?
>> 
>> 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/2ef1a9a8-30ff-4b88-839d-8406dff7eb26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-02-06 Thread TonyM
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/ 
> ?
> 
> 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/43534f55-f225-4832-b597-bcfed53b3440%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/ 
> ?
> 
> 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/ 
?

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.