Combining sections into one tiddler?

27 views
Skip to first unread message

Ronen

unread,
Oct 19, 2011, 10:00:35 AM10/19/11
to TiddlyWiki
Is there a plugin that can combine few sections into a new tiddler?

for example:
TiddlerA: SectionA, Results
TiddlerB: SectionB, Results
AllResults: showing only the Results section from TiddlerA and
TiddlerB

another example of use is writing a task in some tiddlers, and then
showing all of the tasks in one tiddler.

Ronen

unread,
Oct 19, 2011, 12:23:34 PM10/19/11
to TiddlyWiki
I'm trying to use ForEachTiddlerPlugin, but the examples doesn't show
how to use it with sections.

This example shows the content of the tiddler based on it's title:

<<forEachTiddler
where
'tiddler.title.startsWith("Site")'
write
'"----\n<<tiddler [["+tiddler.title+"]]$))\n"'
>>

Can anyone help me change it so it it will show the content of a
section, based on the section's name?

Måns

unread,
Oct 19, 2011, 5:14:27 PM10/19/11
to TiddlyWiki
Hi Ronen

> This example shows the content of the tiddler based on it's title:
>
> <<forEachTiddler
>  where
>  'tiddler.title.startsWith("Site")'
>  write
>  '"----\n<<tiddler [["+tiddler.title+"]]$))\n"'
> Can anyone help me change it so it it will show the content of a
> section, based on the section's name?

Try:
'"----\n<<tiddler [["+tiddler.title+"##SectionName]]$))\n"'

Cheers Måns Mårtensson

Ronen

unread,
Oct 20, 2011, 1:09:56 AM10/20/11
to TiddlyWiki
Thanks, but this will still filter by tiddler's title and not by
section name.

cmari

unread,
Oct 20, 2011, 9:04:33 AM10/20/11
to tiddl...@googlegroups.com
What about:

<<forEachTiddler
 where
 'tiddler.title.startsWith("Site")
&& tiddler.text.contains("!Results")'
 write
 '"----\n<<tiddler [["+tiddler.title+"##Results]]$))\n"'
>>

cmari

wolfgang

unread,
Oct 20, 2011, 12:06:37 PM10/20/11
to TiddlyWiki
GridPlugin would be an other straight forward option for showing only
particular sections of tiddler in one table. With the advantage of
being editable right there. Though wiith EditSectionPlugin's macro
added to FET it's possible here too.

wolfgang

unread,
Oct 20, 2011, 12:12:17 PM10/20/11
to TiddlyWiki
sorry, it's named SliceGridPlugin:

http://www.tiddlytools.com/#SliceGridPluginInfo

wolfgang

unread,
Oct 20, 2011, 12:21:39 PM10/20/11
to TiddlyWiki
Sorry, that was wishful thinking. SliceGridPlugin only allows to
display slices not sections.

Eric Shulman

unread,
Oct 20, 2011, 12:26:54 PM10/20/11
to TiddlyWiki
> Sorry, that was wishful thinking. SliceGridPlugin only allows to
> display slices not sections.
>

"SliceGridPlugin" was re-written and renamed "GridPlugin" way back in
2009... and it DOES support sections in addition to slices and custom
fields.

2009.09.20 2.0.0 Complete re-write. Renamed GridPlugin. View and/or
edit any tiddler section, slice or field. Renamed 'slices:...' param
to 'columns:...'

http://www.tiddlytools.com/#GridPlugin
http://www.tiddlytools.com/#GridPluginInfo

-e

wolfgang

unread,
Oct 20, 2011, 5:08:31 PM10/20/11
to TiddlyWiki
Thanks for the correction. I made the mistake to look it up quickly in
one of my TWs on my drive.

Just tried it with the following at TiddlyTools:

<<grid columns:[[@!DefaultTheme]] tags:[[systemTheme]] inline wikify
edit>>
.. but to my surprise this didn't work because it display only the
slices instead. What I'm doing wrong?
Reply all
Reply to author
Forward
0 new messages