Order ascending/descending by Categories ID in WP 2.7.1 doesn‘t work

Forums Forums Menus Order ascending/descending by Categories ID in WP 2.7.1 doesn‘t work

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #676
    Anonymous
    Member

    hi
    first, i want to thank you for this great plugin! great work!
    but i have a little problem with displaying ascending categorie IDs correctly. i‘va activated the plugin and did no changes in the css. all changes that i‘ve done were:

    • change the Category order to "ascending ID"
    • and set "Show empty categories"

    but the plugin orders the categories still by ascending name and not by ascending id, as you can see it in the source-code:

    [sub:2js1t074]<!– Multi-level Navigational Plugin by PixoPoint Web Development … https://geek.hellyer.kiwi/multi-level-navigation/ –>

    <div id="pixopoint_menu_wrapper1">

    <div id="pixopoint_menu1">
    <ul class="sf-menu" id="suckerfishnav"> <li class="cat-item cat-item-16"><a href="#" >Archiv</a>
    </li>
    <li class="cat-item cat-item-1"><a href="link" >Titel 2009</a>
    </li>
    <li class="cat-item cat-item-11"><a href="#" >Impressionen</a>
    </li>
    <li class="cat-item cat-item-17"><a href="#" >Impressum</a>

    </li>
    <li class="cat-item cat-item-15"><a href="#" >Kontakt</a>
    </li>
    <li class="cat-item cat-item-10"><a href="#" >Künstler</a>
    </li>
    <li class="cat-item cat-item-13"><a href="#" >Partner</a>
    </li>
    <li class="cat-item cat-item-4 current-cat-parent"><a href="#" >Programm</a>
    <ul class='children'>

    <li class="cat-item cat-item-5"><a href="#" >Gesamtübersicht</a>
    </li>
    <li class="cat-item cat-item-7"><a href="#" >Moderner Ball</a>
    </li>
    <li class="cat-item cat-item-9 current-cat"><a href="#" >Rahmenprogramm</a>
    </li>
    <li class="cat-item cat-item-8"><a href="#" >Tanz Marathon</a>
    </li>
    <li class="cat-item cat-item-6"><a href="#" >Workshops</a>

    </li>
    </ul>
    </li>
    <li class="cat-item cat-item-3"><a href="#" >Thema &amp; Inhalt</a>
    </li>
    <li class="cat-item cat-item-14"><a href="#" >Tickets / Anmeldung</a>
    </li>
    <li class="cat-item cat-item-12"><a href="#" >Veranstaltungsort</a>
    </li>

    </ul>
    </div>
    </div>[/sub:2js1t074]

    i‘ve installed the latest release of the plugin.
    anyone an idea?

    regards from switzerland

    (i‘m sorry abaout my bad english…)

    #5539

    Hmmm, this might be a bug. I’m too busy to deal wtih this at the moment unfortunately, but I’ll try to remember to look into it in a week or so.

    #5540
    Anonymous
    Member

    hi ryan
    i would be very happy about fixing this "bug".
    regards from switzerland

    #5541
    Anonymous
    Member

    no idea were the bug is hiding? =)

    #5542
    Anonymous
    Member

    Dude – your updated has buggered my site’s navigation – 1 week and no fix?!  WTF?!

    #5543

    Dude! What update has ‘buggered your site’s navigation’? Which version were you upgrading from and which did you upgrade to?

    I can not help unless someone reports a problem. The above report was for a general bug, no one has mentioned anything about it being caused by an upgrade, hence I haven’t bothered to fix it yet.

    #5544
    Anonymous
    Member

    Hi,
    I’m installed the plugin yesterday for first time and it’s excelent!! But I have the some problem.  I need the order of the categories by ascendig ID or "custom order", but still by ascending name.
    any idea?
    thanks
    etruel

    #5545
    Anonymous
    Member

    I think I found it:
    in core.php in the line 67 change the line
    [code:25rtl36p] wp_list_categories(‘title_li=&’.$suckerfish_categorycount.$suckerfish_categoryshowempty.’&’.get_option(‘suckerfish_includeexcludecategories’).’=’.get_option(‘suckerfish_excludecategories’).$suckerfish_depthcategoriesecho);[/code:25rtl36p]

    for
    [code:25rtl36p] wp_list_categories(‘title_li=&’.$suckerfish_categorycount.$suckerfish_categoryshowempty.’&’.get_option(‘suckerfish_includeexcludecategories’).’=’.get_option(‘suckerfish_excludecategories’).$suckerfish_depthcategoriesecho.$suckerfish_categoryorderecho);[/code:25rtl36p]

    missed parameter $suckerfish_categoryorderecho

    Its work fine for me, enjoy <img decoding=” title=”Wink” />
    etruel

    #5546
    etruel
    Member

    Hi
    a minutes ago I posted like Guest the solution of this problem in reply of this post.
    In my web I need a manually order and the WP plugin my category order work fine for this.

    if you want to do this plugin compatible with "my category order" plugin, you can do this:

    [list:3c7kxl8y]
    [*:3c7kxl8y]only need a new option in select of categories order… somethink like "My Category Order"[/*:m:3c7kxl8y][/list:u:3c7kxl8y]

    and modify a couple of lines of code in core.php:
    [list:3c7kxl8y]
    [*:3c7kxl8y]in line 66 + or – add another "case" in the instruction [i:3c7kxl8y][b:3c7kxl8y]switch ($suckerfish_categoryorder){[/b:3c7kxl8y][/i:3c7kxl8y][/*:m:3c7kxl8y][/list:u:3c7kxl8y]

    [code:3c7kxl8y] case "My Category Order":
    $suckerfish_categoryorderecho = ‘&orderby=order’;
    break;
    [/code:3c7kxl8y]

    only with two things, your plugin is My Category Order plugin compatible and can order manually 1×1 the categories in the menu

    enjoy <img decoding=” title=”Wink” />
    etruel

    #5547
    Luffer
    Member
    &quot;Ryan&quot; wrote:
    Hmmm, this might be a bug. I’m too busy to deal wtih this at the moment unfortunately, but I’ll try to remember to look into it in a week or so.

    This is quite a serious bug and it’s affected me too, it can’t order categories by ID, it only ever seems to do it by ascending name. Have you had a chance to look into this yet? I don’t want my "News" menu item towards the bottom of my menu, I want it at the top! Please try to fix this, because it’s a superb plug-in that is broken in the latest version of WordPress :'(

    #5548
    etruel
    Member

    Hi
    a temporal solution of this bug until the update of the plugin is edit the file [b:3ljbj4o7]core.php[/b:3ljbj4o7] in the plugin folder

    the line 67
    [code:3ljbj4o7]wp_list_categories(‘title_li=&’.$suckerfish_categorycount.$suckerfish_categoryshowempty.’&’.get_option(‘suckerfish_includeexcludecategories’).’=’.get_option(‘suckerfish_excludecategories’).$suckerfish_depthcategoriesecho);
    [/code:3ljbj4o7]

    replace by
    [code:3ljbj4o7]wp_list_categories(‘title_li=&’.$suckerfish_categorycount.$suckerfish_categoryshowempty.’&’.get_option(‘suckerfish_includeexcludecategories’).’=’.get_option(‘suckerfish_excludecategories’).$suckerfish_depthcategoriesecho.$suckerfish_categoryorderecho);[/code:3ljbj4o7]

    It’s work fine for me  <img decoding=” title=”Cheesy” />

    #5549

    Thanks for the bug reports <img decoding=” title=”Smiley” /> I’ll have this added to a new version very shortly … within 10 mins unless I get sidetracked. It won’t be uploaded to the repository for a day or so as I want to triple check no one has any problems with it first as there will be a few extras added in, not only this bug fix.

    #5550

    A new version is available in another topic … https://geek.hellyer.kiwi/forum/http://local … ic.php?t=4

    etrule – I’m about to take a look at your other suggestion and will hopefully get that implemented too. I’ve added a credit to you in the readme.txt file (will appear in the plugin repository once it’s uploaded), would you like a link added to your name? If so, just let me know the URL and I’ll add it in.

    #5551

    I’ve now added the code to support the ‘My Category Order’ plugin. If any of you get a chance to test this I’d love to hear if it worked. I don’t actually have the plugin installed so haven’t tested it myself yet but am assuming it should work fine.

    https://geek.hellyer.kiwi/forum/http://local … ic.php?t=4

    #5552
    Anonymous
    Member

    i‘m sorry, but your update doesn‘t fix this bug! i‘ve tryed with older version (multilevel & wordpress) but everywhere‘s the same bug…
    maybe your plugin doesnt likes the german wp-edition???
    so, i‘m very pleased if you can FIX this bug.
    thank you!

Viewing 15 posts - 1 through 15 (of 26 total)
  • You must be logged in to reply to this topic.