Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
sort categories in NS_AddStory
  • Posted: 24.07.2003, 20:35
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    In html/modules/ns-addstory/addstory_categories.php change lines 541, 542:

    $selcat = $dbconn->Execute("SELECT $column[catid], $column[title]
    FROM $pntable[stories_cat]");

    to:

    $selcat = $dbconn->Execute("SELECT $column[catid], $column[title]
    FROM $pntable[stories_cat]
    ORDER BY $column[title] ASC");

    Categories in the dropdown will be sorted alphabeticly.

    This pice was made by our user "Homestarter".

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula