Thanks a lot it works fine ( except for tidler title with the
character ' )

I just need to do a few adjustments to match my initial layout...

Thus I added

   class='thumbnails'

in

   <div class='thumbnails' macro='tiddler fetThumbnails with:
{{tiddler.title}}'></div>

but it would not let me define attributes for thumbnails in
[[StyleSheet]]

   .thumbnails {
    border:1px solid [[ColorPalette::Foreground]];
    }

am I missing something?

Regards

Julien

On Aug 17, 8:46 am, Måns <[email protected]> wrote:
> You might want to change your fET to:
> <<forEachTiddler
>     where
>         'tiddler.tags.contains("attachment") &&
> tiddler.tags.contains("$1") && tiddler.text.contains("image") '
>     sortBy
>         tiddler.created
>     descending
>    write
>         '"[img(,12em+)["+tiddler.title+"]] "'>>
>
> and write in your ViewTemplate: <div macro='tiddler thumbnails with:
> {{tiddler.title}}'></div>
> to make it work..
>
> Regards Måns Mårtensson
>
> On 16 Aug., 23:15, Måns <[email protected]> wrote:
>
> > Hi Julien23
>
> > On 16 Aug., 18:39, julien23 <[email protected]> wrote:> Most of my 
> > tiddlers start with thumbnails with this FeT :
> > ...
> > > Is there a way to automate that ?
>
> > > Could it be something to do with Stylesheet ? Transclusion ?
>
> > There are several ways to "automate" showing the result of your fEt in
> > tiddlers.
> > One idea is to use the tiddlermacro (<<tiddler SomeTiddler>>) in your
> > ViewTemplate tiddler.
> > Put your fEt in a tiddler [[thumbnails]] and put it in your
> > ViewTemplate like this:
> > <div macro='tiddler thumbnails'></div>
>
> > You might also want to use HideWhenPlugin - or TaggedTemplateTweak
> > plugin - to show the fEt only in tiddlers tagged with "SomeTag"
>
> > Regards Måns Mårtensson

-- 
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.

Reply via email to