| Re: TinyContent 1.5 Entry Order |
| by chapi on 2004/4/1 21:37:29 Thanks for this code snippet. I will add this in the next release! |
| Re: TinyContent 1.5 Entry Order |
| by Ruddle on 2004/4/1 18:55:40 Found the answer... should anyone else need it! Tiny Content: Fixed Menu Sort In order to get the main menu order to reflect the changes to the sort that you made on the admin screen (i.e. so that you can sort them in a different way than the order that you entered them), you just need to change 1 line. In the /tinycontent/xoops_version.php file you need to change line 64 from: $result = $xoopsDB->query("SELECT storyid, title, homepage, submenu FROM ".$xoopsDB->prefix("tinycontent")." WHERE homepage='0' AND submenu='1'"); to: $result = $xoopsDB->query("SELECT storyid, title, blockid, homepage, submenu FROM ".$xoopsDB->prefix("tinycontent")." WHERE homepage='0' AND submenu='1' ORDER BY blockid"); |
| TinyContent 1.5 Entry Order |
| by Ruddle on 2004/3/31 20:58:45 How do I change the order the links in the TinyContent submenu? I have tried reorder the "Link ID" but it does not affect the order in the menu. |