Notice: CMSB v2.04 Beta!

22 posts by 9 authors in: Forums > CMS Builder
Last Post: April 25, 2010   (RSS)

By Dave - April 14, 2010

Hi Djulia,

Thanks, I've been able to reproduce that locally. It happens when there is an empty resultset.

Try replacing this:
// get values to labels for list fields
if ($_isList) {
$listOptions = getListOptionsFromSchema($fieldSchema, null, false, $selectedValues);
$valuesToLabels = array_combine( array_pluck($listOptions, '0'), array_pluck($listOptions, '1') );
}


With this:
// get values to labels for list fields
if ($_isList) {
$listOptions = getListOptionsFromSchema($fieldSchema, null, false, $selectedValues);
$values = array_pluck($listOptions, '0');
$labels = array_pluck($listOptions, '1');
$valuesToLabels = $listOptions ? array_combine($values, $labels) : array();

}


Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Notice: CMSB v2.04 Beta!

By Djulia - April 14, 2010 - edited: April 14, 2010

Hi Dave,

1) That functioned. :)

2) But, I always have the JavaScript error message.
I again installed the tiny_mce folder of version 2.03 and there is no more error.
It is perhaps my file which is corrupted.

Djulia

By Dave - April 14, 2010

Hi Djulia,

Would it be possible for you to re-create the javascript problem on that install or another and send me details to dave@interactivetools.com so I can research it?

One easy way might be to upload the tinymce folders as tiny_mce_2.03 and tiny_mce_2.04 so I could easily rename them and compare the differences. Or I could even do that part myself if needed.

Let me know if that works.

Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Notice: CMSB v2.04 Beta!

By Chris - April 14, 2010

Hello everyone,

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

If you're using beta 1, please be sure to update it.

Thanks everyone for your support! :D
All the best,
Chris

Re: [chris] Notice: CMSB v2.04 Beta!

By Toledoh - April 14, 2010

Hi Guys,

Are you going to do a video of "how to use these features" as you did previously? I liked the last one a lot, and it started me thinking, which in turn allows me to throw out ideas to clients...

As a non-programmer, I've installed the Beta of 2.04 - but have no idea what pseudo classes are and what to do with them, so I can't really give any feedback other than it hasn't stuffed my site :)

I'm sure they're excellent and will make me a bundle of dollars - so thanks!
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] Notice: CMSB v2.04 Beta!

By Chris - April 15, 2010

Hi Djulia,

I was able to reproduce the JavaScript bug you found:

Firefox :

Erreur: f[j] is undefined
File Source: /3rdParty/tiny_mce/tiny_mce_gzip.js
Line: 179


The fix will be in the next beta (beta 3). Thanks so much for your feedback. :D
All the best,
Chris

Re: [chris] Notice: CMSB v2.04 Beta!

By Chris - April 22, 2010 - edited: April 22, 2010

Hello everyone,

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

If you're using beta 1 or 2, please be sure to update it.

Please note that if there are no problems with this release, this will be 2.04 final. Please treat this as a production release.

Thanks everyone for your support! :D
All the best,
Chris

By aev - April 23, 2010

I second that..

Re: [chris] Notice: CMSB v2.04 Beta!

By aev - April 23, 2010

With the new TinyMCE in the last beta, there is a new way of handling "Paste as plain text", it works great, just one question:

Can the "Paste as plain text" button be set to default to ON, this way all pasted text could be converted to plain text until the user disable it using the "T" icon.

-aev-