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.

Ordering entries within a category

August 06, 2010 9:51am

Subscribe [2]
  • #1 / Aug 06, 2010 9:51am

    Mark Croxton

    319 posts

    Not sure if this is a feature request or a proposal for a module.

    I have a product catalogue with products appearing in one or more categories. I’d like to be able to precisely determine the order that those products are listed in when viewing a particular category.

    This is not the same problem that add-ons like REEorder solve; current ‘ordering’ add-ons work by adding a custom field to the entry and ordering on that. As I have >100 categories I’d need 100 custom fields.

    I would propose instead adding an order column to the `exp_category_posts` table and providing a drag-and-drop interface for entries already assigned to a category that would update the value in this column.

    First you would choose your category from a select menu and load a list of entries assigned to it. Then you would reorder the entries as you wish and save. The ordered entries could then be displayed with a tag that wraps (exp:channel}

    Has anyone built such a thing?

  • #2 / Aug 09, 2010 7:41am

    Mark Croxton

    319 posts

    Surely ordering within a category is a problem someone else has encountered before? I’d love to hear your solutions.

  • #3 / Aug 10, 2010 6:56am

    Mark Croxton

    319 posts

    It seems I’m whistling in the wind as always. Perhaps it’s not clear what I’m talking about so I’ll be explicit: ordered entries within categories would essentially make modules like Structure redundant. It would be a ‘EE-native’ way of building a url structure of arbitrary depth.

    I’ve decided to write a module to do this. If anyone in the future has the same itch to scratch I’ll be happy to share the code.

  • #4 / Sep 06, 2012 10:09am

    ciarj

    2 posts

    Hi Mark,

    Did you ever find a way around this? I also have a large number of categories and would like to be able to precisely order the entries within these categories.

    regards,
    Ciaran

  • #5 / Sep 06, 2012 1:12pm

    Bhashkar Yadav

    727 posts

    Hi Mark,

    It will be a very nice add-on. I ‘ll love to use this add-on when you developed it.


    Thanks,

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

ExpressionEngine News!

#eecms, #events, #releases