I think that would really help people get to know more about how Tiddlywiki
works.
- Using cards in addition to label templates for printing would be a
good example.
- A bootstrap example of a sheet of labels for mail merge, QR codes or
equipment labels.
- Hints and tips on
Glad it works for you!
By the way I like your idea of using cards for tasks.
I hope I can document this or add examples in the next release of Shiraz.
Cheers
Mohammad
On Wed, Dec 30, 2020 at 6:26 PM scot wrote:
> Thanks again Mohammad, it works a treat.
> Sorry, my mistake, my tiddler had
Thanks again Mohammad, it works a treat.
Sorry, my mistake, my tiddler had duedate rather than due-date field.
I'm not sure what's happening when I export a tiddler in json format, I
keeping getting errors when I import them by dragging them onto a wiki.
JSON error:Syntax Error:Json.parse:
See below
<$list filter="[tag[task]!tag[done]]">
<$macrocall $name="card"
header="""<$checkbox tag="done"> <$link><$view field="due-date"
format="date" template="DDD DDth MMM "/> """
title="{{!!object-type}} - {{!!who}}"
text="{{!!what}}{{!!note}}"
footer={{!!where}}
Hi Scot,
I cannot import the JSON you attached in your last email. Would you please
check it to see you have correctly created the JSON file?
Best wishes
Mohammad
On Wed, Dec 30, 2020 at 5:40 PM scot wrote:
> Hello Mohammad,
> thanks for modifying my code, but I can't get it to work.
> Here
Hello Mohammad,
thanks for modifying my code, but I can't get it to work.
Here is an example tiddler. Note: It does not include the {{!!time}} in the
header, maybe that would also need extra changes.
Scot
On Wednesday, 30 December 2020 at 04:19:36 UTC Mohammad wrote:
> Scot,
>
> I modified
Scot,
I modified your own code a bit and it should work.
<$list filter="[tag[task]!tag[done]]">
<$macrocall $name="card"
header="""<$checkbox tag="done"> <$link><$view field="due-date"
format="date" template="DDD DDth MMM "/> """
title="{{!!object-type}} - {{!!who}}"
Mohammad,
I do love Tiddlywiki.
If it's not too much trouble, could you answer another question.
I was trying to use cards for tasks.
I would like to add the duedate in the header like below.
<$checkbox tag="done"> <$link to={{!!title}}><$view field="duedate"
format="date" template="DDD DDth
>
> Hello Mohammad,
> Thank you very much for the solution. It's exactly what I was after.
> You make everything appear so easy - I wish Santa could have brought me
> your coding skills for Christmas.
>
Amen!
You need to love Tiddlywiki, that is it ;-)
> Best Wishes,
>
> Scot
>
>
> On Tuesday,
Hello Mohammad,
Thank you very much for the solution. It's exactly what I was after.
You make everything appear so easy - I wish Santa could have brought me
your coding skills for Christmas.
Best Wishes,
Scot
On Tuesday, 29 December 2020 at 16:21:24 UTC Mohammad wrote:
> Hi Scot,
> The way
Hi Scot,
The way you called macro is not correct. If you want to create a number
of cards from your tiddlers say tag with mylist do as below
<$list filter="[tag[mylist]]"><$macrocall $name="card" header="My Test
Header"
title={{!!title}}
text={{!!text}}
footer={{!!footer}}
/>
I have attached
On a similar note, I would like to use the card macro with a list of tagged
items.
e.g. <$list filter="[tag[mylist]sort[title]]">
This example does not work. Can you offer any help please.
<>
subtitle:"subtitle"
text:"content"
footer:"footer"
width:"18rem"
class:"text-dark"
/>
>>
Scot
On
Your Welcome.
Tony
On Thursday, June 4, 2020 at 3:53:02 AM UTC+10, passingby wrote:
>
> Hello Tony,
>
> Thank you for your solution. Really appreciate your effort.
>
> -passingby
>
> On Wednesday, June 3, 2020 at 1:46:21 AM UTC-7, TonyM wrote:
>>
>> Passingby;
>>
>> This example works for this
Hello Tony,
Thank you for your solution. Really appreciate your effort.
-passingby
On Wednesday, June 3, 2020 at 1:46:21 AM UTC-7, TonyM wrote:
>
> Passingby;
>
> This example works for this use case by splitting the input on new line.
>
> <$list filter="[splitregexp[\n]]" variable=item>
>
Passingby;
This example works for this use case by splitting the input on new line.
<$list filter="[splitregexp[\n]]" variable=item>
<$macrocall $name="card" text=<>/>
However it seems a little odd that your list contains the * which is
usually reserved until displaying the list.
If the list
15 matches
Mail list logo