Hi Skye
I did this once - and it works fine with showpopup:
<<forEachTiddler where 'tiddler.tags.contains("danishImage") &&
tiddler.fields["number"] '
sortBy 'tiddler.fields["number"]'
script
'
function getFirstLine(s) {
var m = s.match(/\s*(.*)/);
return m != null && m.length >= 1 ? m[1] : "";
}
'
write
'(index < 100)? "|"+(index+1)+"|[["+tiddler.fields["genre"]+"]] |
<<tiddler ShowPopup with: [["+store.getValue(tiddler,"image")+"]]
[[Clik]][[Se in a popup]] button\>\> [["+tiddler.title+"]] |
[["+tiddler.fields["museum"] +"]] | "+tiddler.fields["link"]+" online
| [img(3em+,)["+store.getValue(tiddler,"title")
+"|"+store.getValue(tiddler,"imagee")+"]["+tiddler.title+"]] |
<<editTiddler [["+tiddler.title+"]]$))@@color(#cc0000):→~~~~
@@|//"+getFirstLine(tiddler.text)+"//|\n" : ""'
begin '"|sortable|k\n"
+"|Danish imagecollection |c\n"
+"|| period/ism |title | museum | link | images |edit |firstlines|h
\n"'
end 'count+" inmages\n"' none '"no images \n"'>>
Regards Måns Mårtensson
On 25 Mar., 05:42, skye riquelme <[email protected]> wrote:
> Hi All
>
> Is something like this possible?
>
> <<forEachTiddler where
> 'tiddler.tags.contains(context.inTiddler.title)&&tiddler.tags.contains("Act
> ivity")'
> sortBy 'tiddler.title'
> write ' "<<tiddler ShowPopup with: [["+context.inTiddler.title+"]]
> "+context.inTiddler.title+" open_activity button 80em sticky>"+">\n"'
>
>
>
> Thanks
> Skye
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.