New List Pages By Category

New List Pages By Category

By ErichSteinboeckErichSteinboeck on 21 Mar 2009 21:42, last edit by James KanjoJames Kanjo on 30 Nov 2010 05:45

Created a new, smarter List by Category system. Features some nice enhancements.

  • Combined listing by category and by creation date (through PageCalender module)
  • Quick-edit link icon view-source14x14.png (edit page without first rendering it)
  • Page viewing without following any redirect (uses noredirect/true)
  • Proven and tested sort (by page name, edit date, or creation date)
  • Minimum effort to add new categories: creating a new page category:category-name with title “List Pages by Category” and no content is enough (uses a clever method where page content can easily override live template defaults)

Restrictions

  • No documentation yet how the various parts (includes, live template, category:… pages) work together
  • Pages starting with underscore (like _template) aren't listed (a restriction of module ListPages)
  • [/page-name/noredirect/true page-title] will fail if page-title is blank (restriction of [/ …] tag)

Additional Shortcut

For several of the more common categories I've created pages named category:_ that redirect to category:category (the page that lists all pages of category category). It comes handy when you are looking for, say, a How-To and start typing …/howto: but then can't remember its name — you can just continue by typing an underscore (_) and …/howto:_ will list all How-To's


Tags: category list listpages live pagecalender pages template

Related Community Blog Posts

The following posts have similar tags and may be related to this post.

Rate it up ?

rating: +3+x

Discuss

Add a New Comment

Share

Bookmark and Share

Community Blog feed-icon-14x14.png

Posts by date

Posts by tags

Posts by rating

New List Pages By Category
Rating: þ{rating}þ (21 Mar 2009 21:42)

New List Pages By Category
Rating: þ{rating}þ (21 Mar 2009 21:42)

New List Pages By Category
Rating: þ{rating}þ (21 Mar 2009 21:42)


Blogroll

{"module":"feed\/FeedModule","params":{"src":"http:\/\/michalf.me\/feed\/pages\/category\/blog\/t\/Michal+Frackowiak%27s+blog","limit":"1","module_body":"**[http:\/\/michalf.me Michal]:** \n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}
{"module":"feed\/FeedModule","params":{"src":"http:\/\/quake.wikidot.com\/feed\/pages\/category\/dev\/t\/Piotr+Gabryjeluk+blog","limit":"1","module_body":"**[http:\/\/piotr.gabryjeluk.pl\/ Gabrys]:**\n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}
{"module":"feed\/FeedModule","params":{"src":"http:\/\/squark.wikidot.com\/feed\/pages\/category\/blog\/t\/Squark%27s+Latest+Posts","limit":"1","module_body":"**[http:\/\/squark.wikidot.com\/ Squark]:**\n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}

Admin dashboard

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.