Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


TOC & MAKETOC

posts: 84436

I just split up a large page into a structure.

I want to show a TOC at the top of the page like maketoc was doing before, but the wiki page is spread across several pages now. How do I generate a TOC that is silar to the way it was presenting its self before I split the page up?

TOC only generates a strucure based on the pages in the structure.

MAKETOC only generates a structure based on the headers.

I want to generate a toc structure based on the headings over the several pages, like a book.

I could list the pages with maketoc and specify the page that the toc should be created from, then list several, but cant figure out how to do it.

Thanks

posts: 3665 United States

I don't think there's an easy way to automatically create a table of contents that includes both the page name in a structure (like the TOC plugin) and the headings in each page (like the MAKETOC plugin).

You might be able to do this by using the pagename attribute in the TOC plugin and manually identify each page. If there aren't too many pages in the structure it shouldn't be too difficult. Please see the docs for details.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 84436
Thanks. I tried using pagename in TOC, but it only shows the substructure of the pages under the page name given, not the header structure. So it displays nothing in my case. I might have to just type the Table of Contents out by hand.

Upcoming Events

1)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3) 
Tiki birthday
4)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting