Sorted-ListPages-List

By Helmut_pdorf Helmut_pdorf

Description

With this include of a little Link-List you can call at the top of a ListPages-Output (with standard-fields) all the posssible different orders of such a ListPage module output. Only the order="@URL" is neccessary and a little include statement to create a "selfcalling" list of the site and page.

Code

[!---
 - - --------------------USAGE: ----------------------
 [[include :snippets:sorted-listpages-list |
 site=SITENAME |
 page=PAGENAME |
 ]]
 - - - -------------------
 CALLING PAGE: use order="@URL" in Listpages 
 - - - ----------------------
---]
[[div style="border:1px silver solid; margin: 3px; padding:3px;"]]
**Sort by:**
= ##blue|Title [http://SITENAME.wikidot.com/PAGE-FULLNAME/order/titleASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/titleDESC ▼], category-name[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/fullnameASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/fullnameDESC ▼] ) date[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/created_atASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/created_atDESC ▼], update[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/updated_atASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/updated_atDESC ▼], Page Rating [http://SITENAME.wikidot.com/PAGE-FULLNAME/order/ratingASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/ratingDESC ▼], Creator: [http://SITENAME.wikidot.com/PAGE-FULLNAME/order/created_byASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/created_byDESC ▼] ,Comments:[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/commentsASC さんかく]/[http://SITENAME.wikidot.com/PAGE-FULLNAME/order/commentsDESC ▼] )##
[[/div]]

In action

Sort by:

Title さんかく/, category-nameさんかく/ ) dateさんかく/, updateさんかく/, Page Rating さんかく/, Creator: さんかく/ ,Comments:さんかく/ )

To change the sort of the output click on one of the arrows above!

Here are the "CODE pages on snippets:**

scp-676767 (code:scp-676767)
Tags: — created / updated: 20 Sep 2025 07:36 / 20 Sep 2025 07:38 - H1gh_Voltage
Rating / Comments: 0 / 0

Playwright Automation Training in Hyderabad (code:playwright-automation-training-in-hyderabad)
Tags: — created / updated: 06 Aug 2025 08:35 / 06 Aug 2025 08:35 - K Tanmaydeep
Rating / Comments: 0 / 0

let's go!!!!!!!!!!!!! (code:let-s-go)
Tags: — created / updated: 05 Aug 2025 13:06 / 05 Aug 2025 13:06 - Fuck Lestday233
Rating / Comments: 1 / 0

DrMao沙盒166神性共存者 (code:drmao-166)
Tags: — created / updated: 25 Jul 2025 04:16 / 25 Jul 2025 04:16 - DrMaoHanxuan166
Rating / Comments: 0 / 0

8175 (code:8175)
Tags: — created / updated: 30 May 2025 00:07 / 30 May 2025 01:02 - Dr R Brookes
Rating / Comments: 1 / 0

scp-xxxx-the-imagination-room (code:scp-8001-prototype)
Tags: — created / updated: 11 May 2025 09:46 / 11 May 2025 10:09 - Xalchor
Rating / Comments: 0 / 5

Breadcrumbs.md (code:breadcrumbs-md)
Tags: — created / updated: 27 Apr 2025 04:08 / 27 Apr 2025 04:08 - Keith Bieszczat
Rating / Comments: 0 / 0

Archive.src (code:archive)
Tags: time travel — created / updated: 27 Apr 2025 03:42 / 27 Apr 2025 03:45 - Keith Bieszczat
Rating / Comments: 0 / 0

High Code GRU.crt (code:high-code)
Tags: — created / updated: 27 Apr 2025 02:04 / 27 Apr 2025 02:04 - Keith Bieszczat
Rating / Comments: 0 / 0

GRU.psychotronics.src (code:gru-psychotronics-src)
Tags: — created / updated: 22 Apr 2025 03:16 / 30 Apr 2025 08:30 - Keith Bieszczat
Rating / Comments: 0 / 0

page 1 of 2512 3 ...24 25 next »

Notice1: important is the order="@URL" in the ListPages calling line!
Notice2: this works for only ONE Listpages module!
( or you need another solution: [<http://community.wikidot.com/howto:sortable-list-of-pages Howto: Sortable List of Pages])

Technic: the sorting links are calling the page itself by using the URL-attributes - have a look on the adressbar ( after sorting) !


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 Helmut_pdorf

Todo List with Data Forms - 30 Apr 2015 14:59
Html(embed) code opening in new window/tab - 29 Oct 2014 09:05
Facebook Button - 27 Dec 2013 15:03
Advanced Search - 25 Feb 2012 12:29
Top Nav Menu with ListPages - 16 Feb 2012 01:48
Schedules - 16 Feb 2012 01:40
Use any html code on a page - 16 Feb 2012 01:34
Find untagged pages - 15 Feb 2012 00:52


Rate this solution

If you think this solution is useful — rate it up!

rating: +2

[[include :snippets:sorted-listpages-list | scp-9999-tr
site=SITENAME | http://scpguy.wikidot.com/scp-9999-tr
page=PAGE-FULLNAME | scp-9999-tr
]]

by UnknownUpload123 UnknownUpload123 , 09 Dec 2020 09:55
aismallard aismallard 06 Jun 2021 03:46

Includes are disabled in comments.

by aismallard aismallard , 06 Jun 2021 03:46
Melphyx Melphyx 07 Dec 2019 08:05

code modified

Title 🔼 🔽 Date 🔼 🔽 Updated 🔼 🔽 Creator 🔼 🔽

Last edited on 11 Dec 2019 20:15 by Melphyx
by Melphyx Melphyx , 07 Dec 2019 08:05
page revision: 7, last edited: 06 Jun 2021 03:46
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /