<$list filter="[tag[Mark]]">
<!--append exhibition_id to exhibition_id of each marked artwork tiddler-->
action-setfield
$field="exhibition_id"
$value={{{ [{!!exhibition_id}addsuffix[ ]addsuffix{$:/TLS/exhibition_id}] }}}
`{{{ [{!!exhibition_id}addsuffix[ ]addsuffix{$:/TLS/exhibition_id}] }}}`
<!--append each artwork_id to artwork_id of the exhibition tiddler-->
action-setfield
$tiddler= {{{ [{$:/TLS/exhibition_id}] }}}
$field="artwork_id"
$value={{{ [{$:/TLS/exhibition_id!!artwork_id}addsuffix[ ]addsuffix{$:/TLS/artwork_id}] }}}
`{{{ [{$:/TLS/exhibition_id!!artwork_id}addsuffix[ ]addsuffix{$:/TLS/artwork_id}] }}}`
</$list>--
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/ade9rEZzuPg/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/9bf12d31-1e8d-494f-96cd-ce937d9ef9a0n%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 http://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/ade9rEZzuPg/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/8867821e-c150-4793-9890-88a790a8454do%40googlegroups.com.
\define buttonActions()
<$list filter="[tag[Mark]]">
<!--add global exhibition_id to the exhibition_id list-field of each marked artwork tiddler-->
<!--$listops $subfilter will append any new filter run to the existing list-field-->
<$action-listops
$field="exhibition_id"
$subfilter="[{$:/TLS/exhibition_id}]"
/>
<$action-log message="artwork_id" value={{!!artwork_id}} />
<!--append each artwork_id to artwork_id list-field of the exhibition tiddler-->
<$action-listops
$tiddler= {{$:/TLS/exhibition_id}}
$field="artwork_id"
$subfilter={{!!artwork_id}}
/>
<$action-log message="exhibition_id" value={{$:/TLS/artwork_id}} />
</$list>
\end
This action will link the marked artworks with the selected exhibition.
The list of marked artworks
<$list
filter="[tag[Artworks]tag[Mark]!<currentTiddler>sort[title]]">
•
<$link/>
<$view field="artwork_title" />
<$view field="artwork_type"/>
<br/>
</$list>
<!-- the selected exhibition id will be stored in the exhibiton_id field on this tiddler-->
Choose the exhibition from this list:
<$macrocall
$name="edit-list"
tiddler="$:/TLS/exhibition_id"
listview="{{{ [<value>get[exhibition_name]] }}}"
filter="[tag[Exhibitions]!tag[Index]]"
/>
<$log message="macrocall exhibition_id" value={{$:/TLS/artwork_id}} />
<$button actions=<<buttonActions>> >
Link Artworks to Exhibition
</$button>
--
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/ade9rEZzuPg/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/ad9c3622-665b-4389-8ef8-5fcebe7a5599o%40googlegroups.com.
just seeking some clarification.
1. All macros are stored in the text field of the tiddler $:/bobj/gallery-ops/macros and this tiddler has the tag $:/tags/Macro or is each macro stored in a separate tiddler named $:/bobj/gallery-ops/name_of_macro with the tag $:/tags/Macro
2. I assume all view templates would be renamed to have the prefix $:/bobj/gallery-ops/ and remain tagged with $:/tags/ViewTemplate
3. What do you mean by 'You can then collect code into functional tiddlers'
\import $:/PSaT/project-name/helper