Notice: CMSB v2.16 Beta!

34 posts by 6 authors in: Forums > CMS Builder
Last Post: August 28, 2012   (RSS)

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

By Perchpole - August 21, 2012

Result!

Cheers Jason.

:0)

Perch

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

By Djulia - August 21, 2012

Hi,

I have an error message with the function email.

mysql_count() MySQL Error: Table '....cms__outgoing_mail' doesn't exist (at header_functions.php line 214 in function mysql_count)


An idea?

Thanks!

Djulia

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

By Djulia - August 21, 2012

Oops! I corrected my problem.

I had not downloaded the ini file.

Djulia

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

By Jason - August 21, 2012

Hi,

Thanks for posting. Glad to hear that got sorted out. Please let me know if you run into any other problems.

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.16 Beta!

By Djulia - August 21, 2012

Can you explain how to use the option Background Send?

Thanks!

Djulia

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

By Dave - August 21, 2012

Just a heads up, I found a bug that shows up when you're using related records with dragsorting. If you get an error like this:

Fieldschema missing '_tableName' value! (at list_functions.php line 370 in function userHasFieldAccess)

The fix is to add this line to: lib\fieldtypes\relatedRecords.php (just search for loadSchema):

$GLOBALS['schema'] = loadSchema( $relatedTable );
// v2.16+, add pseudo-fields name and _tableName to all fieldSchemas. Doing this once here
// ... instead of every time in loadSchema() is less expensive
$GLOBALS['schema'] = array_merge($GLOBALS['schema'], getSchemaFields($GLOBALS['schema']));


This fix will be in the next beta.
Dave Edis - Senior Developer
interactivetools.com

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

By Dave - August 21, 2012

Hi Djulia,

It's just for programmers right now. So if you create a large amount of messages you can write them to the '_outgoing_mail' table with backgroundSend set to 1, then have a cronjob than runs a "Background Mailer" script that simply checks for messages with that flag, mails then and sets backgroundSend to 0 and `sent` to the current date.

We're not going to include a background-mailer script in this version as we're still testing it, but may in a future release.

Hope that makes sense, let me know any questions.
Dave Edis - Senior Developer
interactivetools.com

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

By Djulia - August 22, 2012

Hi Dave,

I have an error message on move:

Unknown menu 'category'

My table uses another name...

A solution?

Thanks!

Djulia

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

By Dave - August 22, 2012

Thanks, Djulia,

Here's a code fix. Edit /lib/menus/default/list_functions.js and search for moveCategory

then replace this:
moveCategory(sourceNum, targetNum, position);
}

function moveCategory(sourceNum, targetNum, position){
var url = '?menu=category&_action=categoryMove&sourceNum=' + sourceNum + '&targetNum=' + targetNum + '&position=' + position;
//console.log(url);
window.location.href = url;
}


With this:

//
var menu = $('._tableName', table).val();
var url = '?menu=' +encodeURIComponent(menu)+ '&_action=categoryMove&sourceNum=' + sourceNum + '&targetNum=' + targetNum + '&position=' + position;
window.location.href = url;
}


Let me know if that works for you. Thanks!
Dave Edis - Senior Developer
interactivetools.com