Reorder Categories (4 posts)

  1. Anonymous
    Posted 12 years ago #

    How can we reorder categories? I searched, yet could not find a specific solution to this.

  2. tcervo
    Posted 12 years ago #

    Using list_cats, you can order by name or ID. So, if ordering by name isn't getting you what you want, you can order by ID. Just make sure you create your categories in the order you want them to display by id (they can be displayed ascending or descending...)
    More info:
    Hope this helps.

  3. Mark (podz)
    Support Maven
    Posted 11 years ago #

    I don't know about empty cats (I can't read the code), but you can sort cats for display simply by adding spaces to the cat name.
    More spaces = higher up the display
    Ugly ? yes
    Does it work ? Yes
    And if you later add a cat that you want displaying higher than it's ID, it works too.

  4. Dave Kaufman
    Posted 11 years ago #

    Nice One! That is really sneaky! It also worked like a charm!
    What did you mean by "I don't know about empty cats (I can't read the code), "
    I would like to show the categories to be used as navigation. I could write a sample message for each of them, just seems a bit clunky to do.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.