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:**
Create an RSS Feed Button with Caption (code:create-an-rss-feed-button-with-caption)
Tags: css feeds rss — created / updated: 24 Mar 2010 19:54 / 15 Feb 2012 00:40 - (account deleted)
Rating / Comments: 7 / 1
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 🔼🔽