CMSB v3.82 Beta (Improved UI, Menu Count Badges, & .env support)

16 posts by 4 authors in: Forums > CMS Builder
Last Post: Yesterday at 9:54pm   (RSS)

Hi All, 

We've just released beta 4 here: https://interactivetools.com/download/

It has the following updates since beta 2: 

Changes from v3.82 Beta 2 (build 3012) to Beta 4 (build 3016)

Bug Fixes

- Developer Console > Shell: Fixed directory browser popup not working on servers with open_basedir restrictions (added @ error suppression to is_dir() check)
- Viewer Functions: Fixed "Undefined array key" warnings for listPageOrder and _filenameFields when accessing schemas missing these keys
- Image Processing: Fixed Imagick error handling - now gracefully falls back to GD when Imagick can't open a file (wrapped in try/catch for ImagickException)
- Plugin Names: Fixed display of plugin names containing <br> tags (now properly rendered in plugin list instead of escaped)
- Database Restore: Changed elapsed time display from "X seconds" to "M:SS" format for better readability
- Backup/Restore: Added @ error suppression for temp file cleanup to prevent warnings
- ZenDB Assert: Relaxed table/column name validation - now allows names starting with numbers (changed regex from ^[a-zA-Z_] to ^[\w-]+)
- Settings: Changed missing settings file error from throwing Exception to die() for cleaner error display
- Schema Functions: Fixed schema saving to only include list-page fields for multi/category menu types (not single or link types)
- Database Editor: Cast _indent to integer when saving to prevent type issues

Improvements

- Example Cron Plugin: Complete rewrite with improved documentation, and clearer usage instructions
- Image Functions: Added detailed docblock explaining JPEG EXIF orientation fix (what it does and why)
- Schema Functions: Added comprehensive docblock for saveSchema() explaining all processing steps
- Schema Functions: Now auto-removes menuOrder once table exists in menu cache (cleanup of temp placement data)

Send over any other issues you find, and/or we'll likely release this version mid-late next week.

Thanks!

Dave Edis - Senior Developer
interactivetools.com

Hey, Dave.

Beta 4 looks great from here!

~ Deborah

Hi Deborah, 

Okay, fantastic.  Thanks for checking things over.  Appreciate it!

Dave Edis - Senior Developer
interactivetools.com

With CMSB 3.82, the AI Schema Exporter plugin throws:

Error: Call to undefined method Itools\Cmsb\Schema::tables()

The Schema class method was renamed from getTableNames() to tables() in 3.82. The plugin needed to be updated to use the new method name and it works perfectly again.

Thanks,

Kenny H

Thanks Kenny, 

I've attached an updated version for v3.82 that includes that fix and fixes some other deprecated SmartArray code.

Dave Edis - Senior Developer
interactivetools.com
Attachments:

ai-exporter.php 17K