To my mm_items table, I added the field 'itemorder' (tinyint, or smallint, default = 1 - note this default will place a new item at the front/top of a menu, to place at the bottom, you could use an arbitrary value, say 99 or something)
To mm_phpmenu.php I changed line 323 from this:
Code: Select all
$query="select * from ".$table_prefix."items where menuid=$mar[menuid]";
Code: Select all
$query="select * from ".$table_prefix."items where menuid=$mar[menuid] order by menuid asc, itemorder asc";
Note, I don't think the ordering by menuid is strictly necessarry, but it's just tidy.
Michael.