custom order categories

Rick's Avatar

Rick

02 Feb, 2011 01:32 AM

What is the "Melody way" for custom ordering categories for creation of a navigation menu? I have theme manager and config assistant installed. I've created a fieldset containing the categories_list field type. I'd like to reorder the selected categories in one place in that fieldset. All I can think o, however, is to create a text-type category field and use the Order plugin. But that fractures the ordering process across the individual "edit category" panels.

A similar challenge will occur when attempting to order entries. I appreciate any help.

  1. 1 Posted by Violet Bliss Di... on 02 Feb, 2011 12:50 PM

    Violet Bliss Dietz's Avatar

    I have not used the SortableCategories plugin on Melody yet but I just completed 2 implementations of it on a MT4.35 system and I don't know of any reason it wouldn't work with Melody. In any case, it adds another function to the user interface accessed from the Manage Categories screen called 'Manage Category Tree'. First create the categories. Then in Manage Category Tree, you literally drag'n'drop the categories into the hierarchy that you want them to appear. It's particularly useful for setting up complicated navigation structures.

    When processing your categories, you simply use a modifier

    <mtTopLevelCategories sort_method="SortableCategories::sorter">

    And your categories are presented in the sequence and hierarchy that you specified on the 'Manage Category Tree'.

    The plugin is available here: http://code.google.com/p/ogawa/wiki/SortableCategories.

    I'm going to be putting a note into the OpenMelody group recommending that SortableCategories be included as part of Melody. It fills a big gap in the way categories are used. I haven't tried it with folders yet but the documentation indicates that it works for them as well.

  2. 2 Posted by Rick on 03 Apr, 2011 11:44 PM

    Rick's Avatar

    SortableCategories works nicely on MT 4.35, thanks. I haven't tried it on Melody either.

  3. Rick closed this discussion on 03 Apr, 2011 11:44 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac