ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Sorting lists made from entries

April 28, 2011 12:44am

Subscribe [1]
  • #1 / Apr 28, 2011 12:44am

    contactizm

    15 posts

    hi there i want to do something and i’m wondering if EE has a plugin or schema for this somewhere.  basically, i want to display a table to users ... let’s say chronologically by default.  however, i’d like for users to be able to select any column heading and have the list sort by that header, much like when you’re in itunes and you can sort your music by artist, album, song etc just by clicking the header.  can someone give me a bit of direction on how to do this?  thanks so much

    [Mod Edit: Moved to the CodeShare Corner forum]

  • #2 / Apr 28, 2011 1:10am

    Rob Allen

    3118 posts

    You won’t need a plugin to do that 😊

    Create a table and populate it with Channel entries, then use a Jquery script such as http://tablesorter.com/docs/ to allow column sorting.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases