Forums

Data Listing Created Date Table row blank

efh68 01 Sep, 2015
After upgrading Joomla for 2.5 to 3.4 the Created Date/Time table row is empty on the Data Listing page. The Joomla version is 3.4.1 and Chronoforms is V 5.0. Joomla is telling me everything is up to date. Can you help me figure out now the get the Created Date/Time data to reappear. Even the new entries do not display the Created Date/Time data. I did create a new test form and the data does appear there, just the old forms from the upgrade are the problem.

Thanks,
Ed
GreyHead 02 Sep, 2015
Hi Ed,

For some reason unknown to me Max changed the default column names between CFv4 and CFv5 - they are now id, uniq_id, user_id, created, and modified (cf_created_by, cf_ modified_by and cf_ip_address have been dropped).

The simplest fix is to change the column names in the table e.g. cf_created > created, If this isn't practical then you can use a Custom Code action before the DB Save to create the data to be saved:
<?php
$form->data['cf_created'] = date('Y-m-d H:i:s');
?>

Bob
This topic is locked and no more replies can be posted.