Notice: CMSB v2.04 Beta!
22 posts by 9 authors in: Forums > CMS Builder
Last Post: April 25, 2010 (RSS)
By Chris - April 12, 2010 - edited: April 12, 2010
We've just released v2.04 beta 1 (beta list members will get an email with a download link shortly).
The major new feature is Viewer Pseudo-fields:
- Date fields now have a :unixtime psuedo-field, which is useful for passing to date(). Example: $record['startdate:unixtime']
- Checkboxes now have :text, which displays the checked or unchecked text you've set up in your section editor. Example: $record['hidden:text']
- Single-value list fields have a new :label psuedo-field which makes it easy to display the label of the selected option. Example: $record['category:label']
- Multi-value list fields have two new psuedo-fields -- :values and :labels, which provide an array of either the values or labels of selected options. Example: $record['categories:labels']
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!
Thanks! :)
Update: Changed category example from hidden:text to category:label
Chris
Re: [chris] Notice: CMSB v2.04 Beta!
By InHouse - April 13, 2010
Keep up the great work.
J.
Re: [chris] Notice: CMSB v2.04 Beta!
By rconring - April 13, 2010
I backed up, unzipped the beta and uploaded to my site as usual.
Got "undefined variable in viewer_functions.php on line 396 which is:
foreach ($records as &$record) {
I assumed the ampersand was a typo, so removed and re uploaded viewer_functions.php.
Then got about a half page of errors, but page loaded anyway. I had to restore the code right away to keep the site up and did not copy the errors.
Have you had similar reports yet?
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987
Re: [rconring] Notice: CMSB v2.04 Beta!
By Donna - April 13, 2010
http://www.interactivetools.com/forum/gforum.cgi?post=79143#79143
--
support@interactivetools.com
Re: [Donna] Notice: CMSB v2.04 Beta!
By rconring - April 13, 2010
I did exactly what I always do to update.
I was concerned about the code error on line 396 of viewer_functions.php. Maybe my 2.04 beta1 download is corrupt or is there a typo?
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987
Re: [rconring] Notice: CMSB v2.04 Beta!
By Dave - April 13, 2010
Thanks for the report! Here's the fix:
Replace:
foreach ($records as &$record) {
With:
foreach (array_keys($records) as $index) {
$record = &$records[$index];
The top code only works in PHP5, but the fix below it works in PHP4 and PHP5.
Hope that helps! Let me know if that fixes it for you.
interactivetools.com
Re: [chris] Notice: CMSB v2.04 Beta!
By Djulia - April 14, 2010 - edited: April 14, 2010
I have a Javascript error message with the editor of page:
Firefox :
Erreur: f[j] is undefined
File Source: /3rdParty/tiny_mce/tiny_mce_gzip.js[/url]
Line: 179
For IE7-8 :
Message: 'f[...]' has the Null value or is not an object.
Line: 1
character: 2527
Code: 0
URI: admin.php?menu=xxxx&action=edit&num=xx
Message: Impossible operation because of the following error 80020101.
Line: 183
character: 4
Code: 0
URI: /3rdParty/tiny_mce/tiny_mce_gzip.js
An idea? Thanks !
Djulia
Re: [Dave] Notice: CMSB v2.04 Beta!
By rconring - April 14, 2010
Yes, this server is running v4.4.9 so I will give your fix a try.
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987
Re: [Djulia] Notice: CMSB v2.04 Beta!
By Dave - April 14, 2010
That's really strange as I don't think that file was modified.
Try the following:
- Erase any cache files in: cmsAdmin/data/tiny_mce_*.gz
- Clear your browser cache
Let me know if that resolves it.
interactivetools.com
Re: [Dave] Notice: CMSB v2.04 Beta!
By Djulia - April 14, 2010
I tested, but that does not function.
I also have an error message:
Warning: array_combine(): Both parameters should have at least 1 element in ../ConSole/lib/viewer_functions.php on line 392
An idea? Thanks !
Djulia