By 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
[[include :snippets:sorted-listpages-list |
site=SITENAME |
page=PAGE-FULLNAME |
]]
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:**
Yahoo! WebPlayer (code:yahoo-webplayer)
Tags: audio mp3 music player video yahoo — created / updated: 13 Sep 2011 02:13 / 16 Feb 2012 01:53 - Ed Johnson
Rating / Comments: 4 / 3
Custom Permissions Error Message (code:custom-permissions-error-message)
Tags: css custom error message — created / updated: 13 Feb 2012 19:46 / 14 Feb 2012 03:42 - Ed Johnson
Rating / Comments: 5 / 0
Per-User CSS (code:per-user-css)
Tags: — created / updated: 06 Aug 2012 18:51 / 07 Aug 2012 04:05 - Ed Johnson
Rating / Comments: 6 / 2
Thumbnail page list using ListPages (code:thumbnail-page-list)
Tags: listpages pages thumbnail — created / updated: 23 Jul 2008 17:13 / 16 Feb 2012 01:47 - elishapeterson
Rating / Comments: 23 / 6
MiniRecentPosts With Limit (code:deleted-20080604-7)
Tags: — created / updated: 04 Jun 2008 11:59 / 16 Feb 2012 01:23 - ErichSteinboeck
Rating / Comments: 2 / 0
Choose A Page! (code:choose-a-page)
Tags: choose listpages module random random_page — created / updated: 04 Aug 2008 18:57 / 15 Feb 2012 00:32 - ErichSteinboeck
Rating / Comments: 17 / 6
ListPages: Horizontal? (code:listpages-horizontal)
Tags: — created / updated: 16 Aug 2008 19:19 / 16 Feb 2012 01:20 - ErichSteinboeck
Rating / Comments: 21 / 4
Module Listpages Tags (code:module-listpages-tags)
Tags: hidden listpages redirect tag tags — created / updated: 21 Feb 2009 17:33 / 16 Feb 2012 01:24 - ErichSteinboeck
Rating / Comments: 3 / 5
Redirect: To (code:redirect-to)
Tags: — created / updated: 01 Mar 2009 18:13 / 16 Feb 2012 01:37 - ErichSteinboeck
Rating / Comments: 2 / 4
Redirect: From (2nd) (code:redirect-from-2nd)
Tags: — created / updated: 01 Mar 2009 18:17 / 01 Mar 2009 18:17 - ErichSteinboeck
Rating / Comments: 0 / 0
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!
[[include :snippets:sorted-listpages-list | scp-9999-tr
site=SITENAME | http://scpguy.wikidot.com/scp-9999-tr
page=PAGE-FULLNAME | scp-9999-tr
]]
code modified
Title 🔼🔽 Date 🔼🔽 Updated 🔼🔽 Creator 🔼🔽