Forums

Refreshing a Database Connection in ChronoConnectivity

ozneilau 24 Jan, 2011
Hi,

I am using ChronoConnectivity to display information from the Community Builder table jos_comprofiler and it works well.

I added some fields in Community Builder but ChronoConnectivity does not seem to be able to recognise the new fields.

Could this be a database connection issue?

I understand how to refresh a database connection to a ChronoForms table (in Form Editor, in DB Connection tab, set Connection to 'No' and 'Apply, in DB Connection tab, set Connection back to 'Yes' and save the form) but how can I do this for a non-ChronoForm table?

Suggestions appreciated!

Thanks,

Neil.
GreyHead 30 Jan, 2011
Hi Neil,

I've never had to do this and don't know if there is a safe way of doing it automatically. The data is in the ClassCode column of jos_chronoconnectivity (example below). I'd suggest editing this by hand in PHPMyAdmin to add the new var $column_name = null; entries.

Bob
<?php
if (!class_exists('Tablechronoforms_rsvpv1')) {
class Tablechronoforms_rsvpv1 extends JTable {
var $cf_id = null;
var $uid = null;
var $recordtime = null;
var $ipaddress = null;
var $cf_user_id = null;
var $gname = null;
var $numguests = null;
var $radio0 = null;
function __construct( &$database ) {
parent::__construct( 'jos_chronoforms_rsvpv1', 'cf_id', $database );
}
}
}
?>
This topic is locked and no more replies can be posted.