Forums

How to load associated models

smurf007 28 Feb, 2014
Hi,

I tried to create an edit link within CCV5 and load the values from CCV5 in an 'edit form' in Chronoforms. This via 'Model[id]'. This works fine if CCV has only 1 model

I tried also with the following setup:

CCF5 connection is configured like:
Model1.id = Model2.id

If I tried to load Model2[information], like it works with Model1[id] it won't give any values. The debug information shows that Model2 isn't in the array.

Array
(
[cont] => lists
[ccname] => TEST
[act] => edit
[gcb] => 6
[TEST] => Array
(
[id] => 6
)

)

Any suggestions how to include Model2 in the array?

Regards,

Smurf007
smurf007 01 Mar, 2014
Tried some more solution, but doens't found anything. Model2 is not send in the array and thereby it can't be used by Chronoforms V5 by calling Model2[information]
Max_admin 02 Mar, 2014
Hi Smurf,

I will check this issue and get back to you!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
smurf007 08 Mar, 2014
Hi,

Found something?

Regards,

Smurf
Max_admin 18 Mar, 2014
Apologies for the delay, this problem has now been fixed and a new release is expected very soon, you can contact me through the "Contact us" page to get an early patch if you like!

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.