[Moin-user] TableOfContents and Include

Fujio Nobori momotaro at gmail.com
Thu Aug 19 19:53:03 EDT 2004


Hello,

On Mon, 16 Aug 2004 22:03:29 -0500, David Cramer (Tech Pubs)
<dcramer at motive.com> wrote:
> The Include macro is a handy way to create a long page where individual sections can be edited individually, appear individually on the RecentChanges page, controlled with gradular acl, etc. Unfortunately, the TableOfContents macro does not appear to work with included pages, for example this:
> 
> [[TableOfContents]]
> [[Include(/FooPage,"All about foo",1)]]
> [[Include(/BarPage,"All about bar",1)]]
> 
> ....results in an empty toc. The following gives you a toc, but isn't much better since you loose the edit icon in the header and still sections within the included pages aren't included in the toc.
> 
> [[TableOfContents]]
> = All about foo =
> [[Include(/FooPage,,1)]]
> = All about bar
> [[Include(/BarPage,",1)]]
> 
> Is there a way to get a table of contents with an included page? Is this a bug in the TableOfContents macro? Should I file an RFE?

See "Improvement on details" at:
    http://moinmoin.wikiwikiweb.de/MoinMoinTodo_2fRelease_201_2e3

You will find my patch for 1.2.3 there, and also, it will be fixed in 1.3.

-- 
    il|li
   q|@.@|p          Fujio Nobori
 m. ( o ) .m        email: toh at fuji-climb.org
~~~~~~~~~~~~~
PGP-Key:
 http://pgp.nic.ad.jp:11371/pks/lookup?op=get&search=0xC1BDBC10
 C3DA 7318 32F4 49F6 9D23  C686 3B83 231F C1BD BC10




More information about the Moin-user mailing list