Forums

Editable fields in the listing CC v5

warmbeach 08 Mar, 2014
Hi,

Is it possible to have editable fields in the listing of CC V5? Just like what CC v4 Data Listing Fields used to do.
I tried adding article.title:return '<input type="text" name='.($cell).' value='.($cell).'>;
in the "PHP Function" box. It lets me edit the value but it doesn't save using the _TOOLBAR_SAVELIST_ button...

Can somebody help me with this project?

Thank you!
Max_admin 19 Mar, 2014
Hi Dan,

I have a tutorial on this feature, still need to publish it though, so please give me 1 or 2 days!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
warmbeach 19 Mar, 2014
Thanks, Max.

I'm looking forward to it!
Max_admin 25 Mar, 2014
Answer
Just added!
http://www.chronoengine.com/faqs/72-ccv5/5213-direct-list-editing.html
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
warmbeach 25 Mar, 2014
Thanks so much, Max!
Works like a charm!
warmbeach 16 Apr, 2014
Hi Max,

Quick question, how can I get this feature to work for associated model's fields? Model_id[primary_key][field_name] for the field name doesn't seem to be working (keeps getting the error "Save Failed"). Does it need a different format or something?

Thank you,
Jo
Max_admin 17 Apr, 2014
Hi Jo,

I'm not sure if this will work but please try to set the "associated save" to yes under the model settings and check if it works.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
warmbeach 17 Apr, 2014
Thanks, Max, for responding.
It doesn't work with the "associated save" either...
Max_admin 17 Apr, 2014
What's the relation between the associated model and the main one ?

it should NOT be "BelongsTo" in order for the associated save to work, since this means that the main model is a secondary model and it should not update the primary one (in the relation).
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
warmbeach 17 Apr, 2014
It is "Belongs To", but I can't get it to work with any other relation type. Your explanation helps, now I just need to figure out how to get it to work with the "hasMany" or "hasOne" relation type, what's the difference?

THanks, Max.
Max_admin 17 Apr, 2014
When you set it to "hasOne", does everything else work fine ? like the listing, editing..etc ?

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
warmbeach 17 Apr, 2014
I got it to display the associated model values with "hasOne", but direct listing editing still doesn't work.
This topic is locked and no more replies can be posted.