Notice: CMSB v2.15 Beta!

8 posts by 7 authors in: Forums > CMS Builder
Last Post: May 1, 2012   (RSS)

By Jason - April 16, 2012

Hi everyone,

We've just released v2.15 beta 1 (beta list members will get an email with a download link shortly)

The major new feature of this release is a completely re-written code generator, which includes new generators for creating RSS feeds and Combo Pages (list + detail). In addition, there is a new addGenerator() function which allows for creating custom code generators with plugins.

Here is the changelog:



NEW FEATURES
- Code Generator: Completely re-written code generator
- Code Generator: New code generator menus for: Combo Page, and RSS feeds
- Code Generator: New addGenerator() function for adding custom generators through plugins
- WYSIWYG: Updated TinyMCE to v3.5b3 (Released 2012-29-03) (Fixes Firefox 11 issues)

MINOR CHANGES
- Uploads: Upload file names are now saved in lower case for better cross platform compatibility
- Uploads: When an upload filename already exits and ends in a number the number is now incremented to find a unique filename
- Editors: When admins change the "Created By" user, now only users with access to the section are shown in the pulldown
- Editors: Datepicker icon is now supported for edit search fields that use dates
- Compatibility: Added whitespace to uploadForm_functions.php to avoid a Network Solutions FTP uploading issue
- Compatibility: Spellchecking is now properly disabled on appropriate fields for Firefox 11 (jQuery Bug #6548)
- Docs: Improved install and upgrade docs and added a page on moving servers.
- Docs: Improved the configuration help messages shown on the install menu.
- Fields: Related Records now support drag-sorting with the custom flag in settings.dat.php under [advanced]: allowRelatedRecordsDragSorting = 1
- Fields: Related Records now support adding a "Create" button through the field editor

CODE CHANGES & BUG FIXES
- Code: Upgraded to jQuery UI 1.8.18
- Code: pluginAction_addHandlerAndLink() and pluginAction_addHandler() now support specifying access levels with a string
- Code: Plugin filter list_buttonsRight() now passed 3rd argument $isRelatedTable and allows adding buttons to related tables
- Code: user_createLoginSession() no longer requires password as a second argument
- Fixed loading problem when there were more than two chained selects on a section edit page.
- Fixed tiny_mce compression issue when a server uses ob_gzhandler as their output handler


If you're not already on the beta tester email list and you'd like to help beta test (you must own at least 1 CMSB license) please email dave@interactivetools.com to be added to the list.

Please post any feedback, questions, or bugs you find!

Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Notice: CMSB v2.15 Beta!

By zip222 - April 17, 2012

Nice job on the generated code. Lot's of useful stuff in there that wasn't there before.

A few things:
  • very happy about defaulting to "allowsearch=false"

  • and also for the inclusion of the upload['info#'] fields when they are used

  • I do wish you had removed some of the fluff from the expert mode generated code. There are too many notes and stray HTML that I don't is necessary.

  • Why are using single quotes in the <img> tags when everywhere else you use double?

  • Why the use of <blockquotes> around the upload sections

  • can the comment tags that directly precede each database query include the tableName? they are generic and when you need to include a bunch on the same page, it would be helpful if they tableName was included

  • what's the "htmlencode()" addition for the 'num' and 'title' fields about?


random, minor stuff:
  • can the version number be removed the "Welcome" message on the home page, and be placed somewhere more discreet? I always found this to be very odd.

  • any progress on adding a css class to the required items? I feel like a broken record with this one :)

Re: [Jason] Notice: CMSB v2.15 Beta!

By Djulia - April 17, 2012

Hi Jason,

The Go Back button does not function with IE8.

There is an example available for the use of Other Generators ?

Thanks!

Djulia

Re: [Djulia] Notice: CMSB v2.15 Beta!

By Dave - April 17, 2012

Hi Djulia,

All of the internal generators are coded to work as plugins. You can use any of these files as examples:
cmsAdmin/lib/menus/_codeGenerator/listPage.php
cmsAdmin/lib/menus/_codeGenerator/detailPage.php
cmsAdmin/lib/menus/_codeGenerator/comboPage.php
cmsAdmin/lib/menus/_codeGenerator/rssFeed.php

Just copy the file to the plugins folder and change the function names (since if you load two files with the same function names you'll get an error).

Everyone else: Thanks very much for your feedback, please keep posting any comments, observations or suggestions and I'll do a big post in the next couple days to respond to everyone in one batch and make some changes for Beta 2.
Dave Edis - Senior Developer
interactivetools.com

Re: [Jason] Notice: CMSB v2.15 Beta!

By Kenny - April 19, 2012

Having a problem with the orderBy. If the statement

'orderBy' => '', // use default database order

is used, it appears to generate a random order instead of using dragSortOrder.

If I remove that line, all is good. I is use

'orderBy' => 'dragSortOrder', // use default database order

all is good. So right now, I have to manually put dragSortOrder in or take the line out completely. Was this the intended behavior?

Kenny

Re: [Kenny] Notice: CMSB v2.15 Beta!

By Chris - April 30, 2012

Thanks for the feedback, everyone!

We've fixed the problems that were discovered, namely the IE 8 button issue and the blank orderBy line. We've also made a few requested changes:

- Admin: Removed version number from dashboard/home page
- Code Generator: Image tags generated with double-quotes for consistency
- Code Generator: Added table name to comment above call to getRecords()

Finally, to respond to a couple of zip222's questions:

> what's the "htmlencode()" addition for the 'num' and 'title' fields about?

For the 'num' field, this is simply a best practice: if a programmer copies the code for displaying 'num' and changes the field name, any HTML will be safely escaped. If you want to allow HTML for a (non-wysiwyg) field, that's a conscious decision to be made.

> Why the use of <blockquotes> around the upload sections

This just visually groups the values, since it's possible to have multiple upload fields and multiple uploads per field.

We'll be releasing a new beta shortly!
All the best,
Chris

Re: [Chris] Notice: CMSB v2.15 Beta!

By Dave - May 1, 2012

Hi All,

I'm locking this thread, please post any beta comments on the beta 2 thread or feel free to email me direct for other issues at dave@interactivetools.com.

v2.15 beta 2 thread:
http://www.interactivetools.com/forum/gforum.cgi?post=93099#93099
Dave Edis - Senior Developer
interactivetools.com