Hi,
I tried to create an edit form with CCV5, Sortable output succeed and also an edit link succeeded, but if i click on a edit link, it ends up in an empty screen. The link that is produced: component/chronoconnectivity5/?cont=lists&ccname=TEST&act=edit&gcb=1
Is there a tutorial for CCV5?
Hi smurf007,
Did you install CF v5 and setup a new form to be used for editing records on CC ? you will also have to configure the actions tab under the connection page in CC to link the "edit" action to your CF form!
Unfortunately there is no tutorial for CC v5 yet but I will try to work on one this weekend!😟
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi,
Edit-action wasn't configured. But I don't know ho to do it. I found the setup for CCV4, but can you give me an example for CCV5?
Regards,
Smurf
Hi Smurf,
Just create a new CF V5 form for editing your record, make sure it works by viewing the form itself, just add a "html" action to the "on load" event, then in your connection's edit action "form event" write this: FORM_NAME:load
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi,
Thanks. I used the original form (wich is used to enter the data into the database), but it gives me a form without the data which should be edited but only a form in which new data can be entered. I need a new step in the tutorial🙂
Regards,
I just created an 'empty' form with only an 'render html' action selected. This results also in an empty page.
The original form used to create the data, was on V4 or V5 ?
In order for the form to load the data for editing, the fields names should match the model id, so if your model is is "Model", then the fields names should be in this format:
Model[field_name]
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Working on CCV5. Great idea, fields are filled now🙂. But if i tried to update (submit-button on the 'original form')... nothings happens. No fields are updated, just a new row added without any information. Next hint🙂?
The solution to this issue is to add a hidden field with the name of the primary key of your table, so if your table has a primary key field named "id" then the hidden field name in your form should be:
Model[id]
that should update the existing row, not add a new one!🙂
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
CCV5 model: Invoeren
link to some data fields are like: Invoeren[invoer_categorie]
link to the primary id is: Invoeren[id]
Still blank rows in my database, when I submit the data.
finally...
How can I set the permissions? I used for now the right ' Joomla user_id' column But when I click on the edit link I got a "Access denied" warning.
Did you set proper permissions for the "edit" action under the "Permissions" tab ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
I set the permissions for owner to allowed. All others aren't set. I will try to let only owners (who insert data) edit their own inserted data.
Unbelievable.. Very poor implementation of the permissions (or bad support😟)... Even with guest an public set on 'allowed', the ' Access denied' warning shows up when I try to visit a CCF5 form... Any support possible??
Hello,
I' ve got the same problems with the editing the saved entry.
I got a hidden field with the Model "Staffel2014[id]", all field names in the Edit-Form are completed with the model Title.
If i open an filled form in the admin list, it will open with all inputs, but I can't save them.
I tried to connect the Editor form with the database --> a blank new form
Please help, I do evereything like in all your posts here.
Thanks and sorry for my bad english ;-)
Hi Breakbeatz,
I suggest that we start a new topic, no need to add more info here!
What's the primary key of your table ? is it "id" ? or something else ? please check this in your phpmyadmin! this affects the hidden field name.
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
I got it! I tried it with the Save to Database in the Editform, then it works. But I have to set all Permissions to "allowed". Thats no problem at the Backend, but I don't know, how to set them in the Frontend for editing just for Admin or other registrated Users.
Have a nice day,
Breakbeatz
Hi Breakbeatz,
Full save permissions should be granted only to admins, it should be set to "allowed", no other groups should be set to "denied", instead, set the denied groups to "not set".
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
you wrote, theres a new topic about the edit? I Can#t find it...
I solved the first problem to edit and save my one form. But now I build an new, other form & tried to do the same like in my first, all models set, the primary is id, i'll set it in a hidden field, like in my other.
But if I press submit, there will be generated an other link, like in my first form:
...=com_chronoconnectivity5&cont=lists&ccname=Einzelanmeldung&act=edit&gcb=1&chronoform=einzeledit&event=submit
heres the link from the working form & connection:
...=com_chronoconnectivity5&cont=lists&act=index&ccname=Staffelanmeldung
In both editforms there is a redirect action after the DB Save action in the onSubmit.
I tried to make the edit-connection like in your FAQs (http://www.chronoengine.com/faqs/72-ccv5/5208-connectivity-edit-with-chronoforms.html) but there would happend nothing...
If you like, I'll give you the Login to my page for a view...
Thanks a lot,
Breakbeatz
Hi Breakbeatz,
Its noted in the tutorial that you have to use a "Connection action" action in order to process the connectivity's save action and return to the list, you should not be using a db save or redirect, that will break the extension's mechanism!
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Maurizio,
Please post a screenshot for the "on submit" even config in your form.
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
Do you mean this attached?
Thx,
Maurizio
Your setup is correct, the blank page is usually a PHP fatal error, please set the error reporting to maximum under the Joomla global config and try again, let me know the error you receive when you submit the form!
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Ok, how many models do you have in this connection ? if they are more than one then please make sure they have unique titles
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi I have just one model in this connection...
this is the connection list into table:
telecom2.nome:Nome
telecom2.cognome:Cognome
telecom2.corporate:Corporate Group
telecom2.telefono:Telefono
telecom2.email:Email
telecom2.model:M.Terminale
telecom2.allegato:Allegato
telecom2.note:Note
telecom2.attivazione:Stato Attivazione
_EDIT_:Edit
_DELETE_:Delete
Hi Maurizio,
Sorry for the delay!
How many models in your connection under the "Models" tab ?
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Just one. :-)
But it still not working... :-(
Strange, you must have the "telecom2" in some where else, please try to change it in your connection config to "telecom3", see if this helps ?
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Do you have a "DB Save" in the "on submit" event ? if yes then please remove it because CC does the same for you.
However, if you are saving some other data, then please make sure that you use unique models ids in CC and the db save!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
No DB Save in the edit form.
I do have got 2 forms:
1. Name: test > input for chronoconnectivity (with db save)
2. Name: test-edit >to edit chronoconnectivity rows (same as test form, no db save)
Chronoconnectivity
Name: test
Name model: tester
Maybe the names should be completely different from each other?
And do you have the latest update ?
What actions do you have in your edit form then ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
I thought I had the latstest V5 update, but I hadn't. Now everything works fine. So updating your Chronoforms V5 to the latest version is the solution. 😀