Forums

Edit, Delete not working

gabrielvilareal 21 Jan, 2013
Hello.

I have installed the ChronoConnectivity_V4_RC3.2_J1.6, and when I was clicking on 'edit' or 'delete' toolbar's buttons, it didn't work. I had to change a piece of code to correct the functionality (please, see attached image). Was this part that I have changed a bug?

Thanks in advance.
GreyHead 22 Jan, 2013
Hi gabrielvilareal,

I can't actually see what you have changed here - it looks as though you commented a block out then pasted the same code back??? It is hard to read in these images though.

I haven't seen any other reports of this problem that I remember.

Bob
gabrielvilareal 22 Jan, 2013
Hi Bob.

I only changed the way to access $form->data. Debuging the code, I discovered that $form->data is an array, and not a function. So I changed all occurences of $form->data() to $form[] on old code.

From:
if($form->data('option') == 'com_chronoconnectivity'){

To:
if($form->data['option'] == 'com_chronoconnectivity'){


The file I have changed is in components/com_chronoconnectivity/libraries/chronoconnection.php
Am I wrong on making this change?
GreyHead 22 Jan, 2013
Hi gabrielvialreal,

Later: Ah it looks as though I was wrong and this isn’t a bug. If mostly hidden the content of this post for the moment.

Bob

Later still: content removed, I got it wrong.
Max_admin 22 Jan, 2013
Hello,

The latest versions of Chronoforms had a "data" function to return the value in the data array or null if the key is not set, so maybe you didn't have the latest Chronoforms version installed ?

Please post your Chronoforms version so I can check the files here.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
gabrielvilareal 22 Jan, 2013
Hello Max.

You're right. I have the CC Version 4.0 RC3.2 and CF Version 4.0 RC3.3 installed on Joomla 1.7.5.
I'll upgrade CF to new version available (4.0 RC3.5.2)

Thanks!
gabrielvilareal 23 Jan, 2013
Hello again.

I did the CF upgrade to 4.0 RC3.5.2 version, and the problem was solved.

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