Forums

CFv4 RC3.0 - General Tab Items NOT Saving

andyss 04 Jan, 2012
Hi guys, just upgraded from RC2 to RC3 and when trying to save items on the General Tab, items revert to defaults and do not appear to be saved. The following are the fields that I have tried saving but revert and don't save:

-Load Chronoforms files
-Form tag attachment
-Dynamic Files
-Enable Joomla plugins

There may be others but these are the ones I have tried.

Andy

***Edit***
Checking my DB I noticed that a couple of double quotes in the Form Tag Attachment field may be throwing the General Tab off. That seems to have corrected most things, however, 'Load Chronoforms files' still reverts to 'Load necessary files' regardless of what you choose.
GreyHead 04 Jan, 2012
Hi Andy,

I haven't used RC3.0 enough to know if these are problems with the release or with your form :-(

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
andyss 04 Jan, 2012
Hi Bob, looking at my DB it seems as if it is saving everything properly for the 'Load Chronoforms files' field ("load_files":"0"). It justs displays 'Load necessary files' in it after a save.

Andy
GreyHead 08 Jan, 2012
Hi Andy,

Looks like a bug in handling the 0 (zero) indexes to me. I dug around in the code and can see that it isn't working but can't find the exact problem :-(

Here's a workaround that seems to be OK. Open up the administrator/components/com_chronoforms/views/edit.php file and find the 'load files' code block around line 77 and change the indexes in the array so that they don't include 0:
		<?php echo $HtmlHelper->input('params[load_files]', array('type' => 'select', 'label' => 'Load Chronoforms files', 'value' => $params->get('load_files', 2), 'options' => array(1 => 'Disable completely', 2 => 'Load necessary files', 3 => 'Load ALL files!'), 'default' => 2)); ?>
Note that the two default options that were '1' are now '2'.

Bob
Max_admin 20 Jan, 2012
I confirm this is a bug, I have fixed it and it will be available in the coming release.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.