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=<<now "ItemYYYY0MM0DD0hh0mm0ss">> >
 <$wikify name="itemTitle" text=<<concat>> >
 <<itemTitle>>
 </$wikify>
</$set>


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




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=<<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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to