I'm struggling to get this to work...
Here's my FET I derived from yours
<<forEachTiddler
where 'tiddler.title.contains("BookOne")'
write
store.getTiddlerSection(tiddler.title, "1:1")
>>
Where "1:1" is the first section in BookOne
I get an error:
<<forEachTiddler ...>>: Extra parameter behind 'write': 1:1 )
Is it right to use the term "getTiddlerSection", and why is the
section name a problem?
And do I even need to use
" where 'tiddler.title.contains("BookOne")'" when I could later
just use
" store.getTiddlerSection("BookOne", "1:1")" (seeing as all the
info is coming from a single tiddler)?
Also I'm assuming I'll have to replace "1:1" with some kind of
variable and a loop??
Sorry I don't really understand "store.get"-type lingo...
Thanks for the help,
Dave
ps, I'll look at that link...thanks
On Feb 20, 2:06 pm, Morris Gray <[email protected]> wrote:
> While these are about slices they may still help you.
>
> Here ia an improved slices plugin.
>
> http://remotely-helpful.com/TiddlyWiki/ImprovedSlicesPlugin.html
>
> Morris
>
> On Feb 21, 6:23 am, Dave Parker <[email protected]> wrote:
>
> > I've looked at all the examples in Udos ForEachTiddler plugin and
> > can't find reference to writing out sections
>
> > Could anyone get me started in writing something that would list a set
> > of, say 10 sections of a single tiddler (its one big tiddler with
> > hundreds of sections) starting at section 42?
>
> > e.g.
>
> > <<forEachTiddler
> > where
> > 'tiddler.title = ("Book Three")'
> > sectionNumber = 42
> > write
> > '(index < 10) ? "* "+tiddler.section" " : ""'
>
> > the above obviously doesn't work, but you get the drift...
>
> > Thanks,
> > Dave Parker
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---