to be more specific...

Måns :

My Template tiddlers are also called by this :

[[NewTaggedTiddler]]
<<newJournal title:YYYY-0MM-0DDT0hh-0mm-0ss focus:"title" text:
{{store.getTiddlerText("$3")}} label:+  [[$1]] [[$2]] >>

So template tiddlers' code can't be changed

whatever :

I actually want to show the Code of the template tiddlers in order to
copy-past fragments, not to show the rendered content of these
tiddlers.

thanks

Julien

On Mar 30, 11:15 am, whatever <[email protected]> wrote:
> If you're trying to display the tiddler content in the second cell,
> just dump the curly brackets.
>
> <<forEachTiddler
>     where
>         'tiddler.tags.contains("Template") && !
> tiddler.tags.contains("attachment")'
>     sortBy
>         tiddler.modified
>     descending
>    write
>  '((index == 0) ? "" : "\n")+"|[["+tiddler.title+"|"+tiddler.title
> +"]]|
> <<tiddler [["+tiddler.title+"]]>\>|"'>>
>
> This will show the last modified tiddler name and content.
> w
>
> On 30 mar., 10:30, Måns <[email protected]> wrote:
>
> > Hi julien23
>
> > I would create a section and use it as a template
> > !section
> > {{{<<tiddler [[$1]]>>}}}
> > !end
>
> > then I would replace "{{{<<tiddler [["+tiddler.title+"]]$))}}}" with:
> > <<tiddler [[ThisTiddlerTitle##section]] with:"+tiddler.title+"\>\>
>
> > (Not tested...)
>
> > Cheers Måns Mårtensson
>
> > On 30 Mar., 09:02, julien23 <[email protected]> wrote:
>
> > > I wish I could copy-past custom template tiddlers.
>
> > > I have tried to display tiddler's content with this fET :
>
> > > <<forEachTiddler
> > >     where
> > >         'tiddler.tags.contains("Template") && !
> > > tiddler.tags.contains("attachment")'
> > >     sortBy
> > >         tiddler.modified
> > >     descending
> > >    write
> > >  '((index == 0) ? "" : "\n")+"|[["+tiddler.title+"|"+tiddler.title+"]]|
> > > {{{<<tiddler [["+tiddler.title+"]]$))}}}|"'
>
> > > but obviously all I get is
>
> > > TemplateTiddler1 <<TemplateTiddler1>>
> > > TemplateTiddler2 <<TemplateTiddler2>>
> > > ...
>
> > > not only feeling scammed... I also feel helpless! :)
>
> > > Have the solution ?

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