Re: [tw5] Button that read tags from a field.

2021-01-02 Thread vinvi...@gmail.com
Thank you! Op zaterdag 2 januari 2021 om 19:30:13 UTC+1 schreef Xavier: > Hi, > > Sorry I overlooked the need to interpret the currentTiddler variable. In > this situation, you need to read your field as a filter rather than a list. > Two main ways of doing that: > >1. Either you put your

Re: [tw5] Button that read tags from a field.

2021-01-02 Thread Xavier Cazin
Hi, Sorry I overlooked the need to interpret the currentTiddler variable. In this situation, you need to read your field as a filter rather than a list. Two main ways of doing that: 1. Either you put your button code in a macro so that the $(currentTiddler)$ construct is actually replaced

Re: [tw5] Button that read tags from a field.

2021-01-02 Thread vinvi...@gmail.com
Thank you Xavier, Can you tell me how to paste this piece of code into the existing code? For some reason I am not getting it working. Op zaterdag 2 januari 2021 om 17:19:56 UTC+1 schreef Xavier: > Hi, > > Since the tags field is of the list type, you need to retrieve its > content either

Re: [tw5] Button that read tags from a field.

2021-01-02 Thread Xavier Cazin
Hi, Since the tags field is of the list type, you need to retrieve its content either directly from another list-typed field (that is list or tags), or indirectly by transforming the string content into a list. In your example, you may achieve this by first setting a variable to a filter that