CMSB 3.81 menu groups BUG?
2 posts by 2 authors in: Forums > CMS Builder
Last Post: about an hour ago (RSS)
By kitsguru - 2 hours ago
I was recreating my menugroups as some had very old extraneous fields. I notice that the new menugroup had an extra entry for menuOrder. I thought that menuOrder was no longer required. These were recreated in CMSB 3.81
<?php return [
'menuName' => ' App Settings ',
'_tableName' => 'app_settings_menugroup',
'_primaryKey' => 'num',
'menuType' => 'menugroup',
'listPageFields' => '',
'listPageOrder' => '',
'listPageSearchFields' => '',
'_filenameFields' => '',
'_perPageDefault' => NULL,
'alwaysExpanded' => 0,
'menuOrder' => 1211054592,
];
yaadev.com
By Dave - about an hour ago
Hi Jeff,
Yes, you're right. menuOrder is no longer used. Menu order is now stored in a separate cache file.
The upgrade process removes menuOrder from existing schemas, but we try to be non-destructive with unknown data, so if these schemas were imported or recreated from older files, extra keys won't be automatically stripped.
You can safely remove it. It's just being ignored.
Let me know if you have any other questions, thanks!
interactivetools.com