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=<<now "ItemYYYY0MM0DD0hh0mm0ss">>>
 <$wikify name="itemTitle" text="Prefix_$(style)$">
 <<itemTitle>>
 </$wikify>
</$set>

 <$wikify name="itemTitle" text="""Prefix_<<now "ItemYYYY0MM0DD0hh0mm0ss">
>""">
 <<itemTitle>>
 </$wikify>


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=<<now "ItemYYYY0MM0DD0hh0mm0ss">>>
>>  <$wikify name="itemTitle" text="$:/simplecalendar/$(style)$">
>>  <$button class="tc-btn-invisible btn-toolbar-item" tooltip="Create new 
>> item" actions=<<actions-createItem>>>
>>  {{$:/core/images/new-button}}
>>  </$button>
>>  </$wikify>
>> </$set>
>>
>> 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.

Reply via email to