By ErichSteinboeck ErichSteinboeck
Description
Have you ever wondered whether ListPages output can be shown horizontally instead of a boring (vertical) list?
Here's how it can be done!
As shown in below code sample, use a backslash (“\”) line continuation character as the last character in the [[module ListPages ...]] body, or, if you wish also as the last character in the appendLine parameter.
Code
[[module ListPages category="category" separate="false" limit="3" \
order="dateEditedDesc" prependLine="* Pages from ``category'' \"]]
• %%linked_title%% \
[[/module]]
In action
Find the three most recently edited pages of each category.
- Pages from default • Html5 • Quotes • Falling snowflakes Showoff
- Pages from “best-snippet”
- Pages from “code” • menu • scp-676767 • Playwright Automation Training in Hyderabad
- Pages from “forum” • New Forum Thread • Recent Threads • Recent Forum Posts
- Pages from “nav” • Top Bar Menu • Side • Side2
- Pages from “search” • Search the site
- Pages from “system” • Page Tags • List All Categories • List All Snippets
- Pages from “temp” • Foldable List
- Pages from “template” • Snippet
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
TOC's from many pages - 16 Feb 2012 01:47
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
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!
… and make a chart with this technique !
lowkarma.pnggerdami - Visit Handbook en Français - Rate this howto:import-simple-excel-tables-into-wikidot up!
Gerdami, this is an incredibly nice application of the “Horizontal” idea!
It must be insert in the documentation page of the module!
Ent
You'll pay for all your sins. If you already paid, please disregard this message.
I second this. Very useful.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server