Description
Here's a half-baked solution for discussion thread “TOC's from many pages displayed on one?”
Although this allows you to pull in the TOC's, they aren't linking to their respective pages (but to the current page instead) and fold/unfold only works for the first TOC.
Code
[[module ListPages category="code" limit="9" order="pageEditedDesc"]]
[[table]][[row]]
[[cell]][[[%%page_unix_name%%]]][[/cell]][[/row]]
[[row]]
[[cell]]
[[div style="display : none"]]
[[include %%page_unix_name%%]]
[[/div]]
[[toc]]
[[/cell]][[/row]][[/table]]
[[/module]]
In action
| dr-clayanne-lainment | |
|
AUTHOR'S NOTE: If you're really anti-Woke because of the SCP drama, I'm going to get the fuck out of here.
|
| chapter-2 | |
|
Chapter number, Chapter 2 Infrastructure and Documentation
|
| applications:packettracer | |
DescriptionChapter 2 Capstone 2-2 Cisco Packet Tracer CodeIn actionlink to the implemented solution on a Wikidot site or put a working example here |
| brian-ivy-tech | |
DescriptionChapter 2 capstone 2-1 CodeIn actionlink to the implemented solution on a Wikidot site or put a working example here |
| sri-sai-digital-services | |
DescSri Sai Digital Services provides end-to-end digital printing, offset printing, andcreative design services to satisfy the requirements of the corporate world, put description what kind of problem does the solution solve and how CodeIn actionlink to the implemented solution on a Wikidot site or put a working example here |
| scp-1-7-55-7 | |
|
It looks like a angel from abil/scp-001-2 with ten fire wings with a knife on water
|
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by ErichSteinboeck
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown: Details Page - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Feed: Collapsible - 16 Feb 2012 01:23
Module Categories - 16 Feb 2012 01:23
MiniRecentPosts With Limit - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17
Rate this solution
If you think this solution is useful — rate it up!





I put two rows, instead of one, it is neater, and all tocs are aligned…. Hope you don't mind, Erich!
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney