---------------
Dr Bob Jansen
The Cultural Conversations project
Turtle Lane Studios Pty Ltd trading as the Australian Centre for Oral History
122 Cameron St, Rockdale NSW 2216, Australia
Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448
Resume: http://au.linkedin.com/in/bobjan
Skype: bobjtls
KakaoTalk: bobjtls
http://www.cultconv.com
In line with the Australian anti-spam legislation, if you wish to receive no further email from me, please send me an email with the subject "No Spam"
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/cOSbp3Km6KU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/32647120-52ab-40f9-b001-5c50bc97e9d5o%40googlegroups.com.
I have three tiddlers, tag=Names, TK5, TK6 and TK7. Each has a field, artwork_id but only TK5 has artwork_id=TK1. the other two have an empty field.I have a tiddler, TK1 which has a field artwork_id with value TK1.TK1 calls a macro <<is_purchased_by {{!!artwork_id}} >>The macro is:
\define is_purchased_by(artworkID)
<$wikify name="artID" text=[$artworkID$] >
<$log $message="hello world" myvalue=artID />
<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank">
<$list filter="[tag[Names]!tag[Index]!match<currentTiddler>search:artwork_id[$(artID)$]]">
• <$link to={{!!name_id}}><$view field="title"/> <$view field="person_name"/></$link><br/>
</$list>
</$list>
</$wikify>
\end
<$list filter="[tag[Names]!tag[Index]!match<currentTiddler>search:artwork_id[$artworkID$]]">
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/cOSbp3Km6KU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/17b4f445-4523-4cd4-b2ee-de2fefdd595fo%40googlegroups.com.
-- -------------------------------- Dr Bob Jansen 122 Cameron St, Rockdale NSW 2216, Australia Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448 Resume: http://au.linkedin.com/in/bobjan Skype: bobjtls KakaoTalk: bobjtls
On Wednesday, September 16, 2020 at 11:37:09 PM UTC-7, Bob Jansen wrote:I have three tiddlers, tag=Names, TK5, TK6 and TK7. Each has a field, artwork_id but only TK5 has artwork_id=TK1. the other two have an empty field.I have a tiddler, TK1 which has a field artwork_id with value TK1.
TK1 calls a macro <<is_purchased_by {{!!artwork_id}} >>
The macro is:
\define is_purchased_by(artworkID)
<$wikify name="artID" text=[$artworkID$] >
<$log $message="hello world" myvalue=artID />
<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank">
<$list filter="[tag[Names]!tag[Index]!match<currentTiddler>search:artwork_id[$(artID)$]]">
• <$link to={{!!name_id}}><$view field="title"/> <$view field="person_name"/></$link><br/>
</$list>
</$list>
</$wikify>
\end
On Wednesday, September 16, 2020 at 11:37:09 PM UTC-7, Bob Jansen wrote:I have three tiddlers, tag=Names, TK5, TK6 and TK7. Each has a field, artwork_id but only TK5 has artwork_id=TK1. the other two have an empty field.I have a tiddler, TK1 which has a field artwork_id with value TK1.
TK1 calls a macro <<is_purchased_by {{!!artwork_id}} >>
The macro is:
\define is_purchased_by(artworkID)
<$wikify name="artID" text=[$artworkID$] >
<$log $message="hello world" myvalue=artID />
<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank">
<$list filter="[tag[Names]!tag[Index]!match<currentTiddler>search:artwork_id[$(artID)$]]">
• <$link to={{!!name_id}}><$view field="title"/> <$view field="person_name"/></$link><br/>
</$list>
</$list>
</$wikify>
\end
Try:<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank"><$list filter="[tag[Names]!tag[Index]!match<currentTiddler>contains:artwork_id[$artID$]]"><$view field="person_name"/><br/></$list></$list>
If you still have issues, it would be a lot easier to assist if you could post a copy of your file where we can test things.
Try:<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank"><$list filter="[tag[Names]!tag[Index]!match<currentTiddler>contains:artwork_id[$artID$]]"><$view field="person_name"/><br/></$list></$list>
If you still have issues, it would be a lot easier to assist if you could post a copy of your file where we can test things.
<$list filter="[all[current]tag[Artworks]]" variable=null>
<img src={{!!artwork_url}}>
{{!!artwork_title}}, {{!!artwork_medium}}, {{!!artwork_size}}, {{!!artwork_yearofcreation}}
''This artwork has been exhibited in the following exhibitions''
<$macrocall name="is_exhibited_by" artwork_id={{!!artwork_id}} />
''This artwork has been consigned in the following consignments''
<$macrocall name="consigned_to" artwork_id={{!!artwork_id}} />
''This artwork has been purchased by''
<<is_purchased_by {{!!artwork_id}} >>
</$list>
---------------
Dr Bob Jansen
The Cultural Conversations project
Turtle Lane Studios Pty Ltd trading as the Australian Centre for Oral History
Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448
Resume: http://au.linkedin.com/in/bobjan
Skype: bobjtls
KakaoTalk: bobjtls
In line with the Australian anti-spam legislation, if you wish to receive no further email from me, please send me an email with the subject "No Spam"
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/cOSbp3Km6KU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/babdeba5-ddb1-466a-a7de-595a14b1f101o%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tiddl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/17b4f445-4523-4cd4-b2ee-de2fefdd595fo%40googlegroups.com.