CMSB v3.76 Beta Released (Performance Optimizations) *** Mar 19 Update: Release Candidate 3 Released ***

16 posts by 2 authors in: Forums > CMS Builder
Last Post: March 19   (RSS)

I'd say stick with $schema = loadSchema('myTable'); and get everything from there since that's the definitive source.

Dave Edis - Senior Developer
interactivetools.com

I just realized that everything I need for the plugin is now in __menu_order.php, and I don't need the schema. That said, I will be changing the menuHidden flag in some cases. My app is organized by packages that map to one or more tables. If a package is enabled, the menuHidden is set to 0 (now it would be removed); if not, it is set to 1. These packages can be enabled or disabled anytime.

The Class SchemaMenuOrder shows that the file is cached, so updating it might not be the best practice. Should I save the file and then call SchemaMenuOrder::refreshCache() OR is there a better way?

Jeff Shields
yaadev.com

How do you update the menuHidden value?  With saveSchema()?  If so, it will update the menu order cache automatically.  And you can load it with: Itools\Cmsb\SchemaMenuOrder::loadMenuCache()

Note that undocumented internals might sometimes change, but usually quite infrequently.

Dave Edis - Senior Developer
interactivetools.com

Hi All, 

We've released (and we're running) v.3.76 RC1.  If no other issues arise in the next few days, this will become the official release.

Here's the download link: https://interactivetools.com/download/

This version includes all the fixes to date.

Dave Edis - Senior Developer
interactivetools.com

By kitsguru - March 19 - edited: March 19

Your title for the release is off a bit, showing April 18 instead of March.

Several of the plugins need to be updated as they reference .ini.php.

Jeff Shields
yaadev.com