Hi,
I've realize a web app with chronoforms and chronoconnectivity.
In chronoconnectivity I've list all the records with a dedicated connection and this is fine.
I've setup an unique number for every record with Unique ID [GH] action (thanks bob) and link the unique id number to edit the record from the list and this fine also.
Now I need a function that pass data to another format for different use (example to print a receipt o to use data in a html page or to pass data to another form).
Is it possible to create some kind of task?
Probably the best solutions could be to have a link in the list that pass data to the other format when i select the checbox in the list of records, or a toolbar button with the same function.
But it'ok also have the same behaviour inside the form used to edit the single record from the list.
Thanks at who will contribute with answer and suggestion.
bye
fede
Hi fede,
You can assign a task to a form in ChronoConnectivity, I think that there is a tutorial in the FAQs on how to do it, I've never quite worked it out.
Bob
First, thanks for your answer, I appreciate.
I find this:
http://www.chronoengine.com/faqs/23-ccv4/ccv4-tutorials/2620-how-to-use-the-qtask-controlq-in-your-connection.html
In that examples the event regards the listing and works to show a "Show Tanks Message" over the listing in the connection.
I 'd like to understand If I could use the task control after updating the data in the chronoform that links to the list and then have one or two different event that print part of the data collect in the form.
In the faq it appears possible, but probably I need some example to complete my knowledge.
First thing I didn't understand is if in that way I could pass the data to html format.
Like the "Show Thanks Message" in chronoforms, where I could use the {name_of_input} inside the html
to refer to the input value of the fields, or if I need to use other sintax to forward the data in the html dedicated to print format.
I have make the two print format (and the print-div action) and I could print in cf4 but not after edit with the same form that is linked in chronoconnectivity.
I am also open to other solutions🙂 and also interested to know better the task control argument.
bye and thanks.
fede
fede
When I use In chronoconnectivity it pass from the submit to the chronoconnectivity list in the connection.
Second step, I don't know if it's better open another post (let me know)
In chronoconnectivity (4):
1- I've create a button (two) in the toolbar I set in that way in Toolbar settings
a- show selector=yes
b- show toolbar=yes
c- printone:Printone:1,printtwo:Printtwo:1
e- toolbar permissions:Registered
and then the buttons show fine in the toolbar (Frontend List Setting)
2- In Front Editing
a- in Custom Data tasks I insert:
printone, printtwo
In CF4 in the form assigned to the CCconnection for editing:
a- I create a new event and call it "printone" as the task reference in custom data task
b- I insert two action to pass to my print format (as I do in my CF where the data was insert by the user)
- a custom code action to print the div in the other "Show thanks message" called "printrec"
- an action "Show thanks message" to collect the value (with {name_of _the_fields} inside the html)
-------------------------------------------------------------------------------------------------------------------------------------------
3- the user see the toolbar and the checkbox in the list but when check the list record an push the button goes to an empty
page....(in frontend list)
4- I repeat all the passage in CC4 (points 1-2 of the post) in Admin List Setting - Admin Editing and when the admin see the toolbar and the checkbox in the list when check the list record an push the button goes to the format in my event (printone) and the pages with the format html is here but without the data in the fields
Q:
a- I miss someting in the configuration passages of the task?
b- Is there a way to pass the data to my html format in the target event of the task?
c- Is there other solutions to have a page filled with the data collect in the form?
Thanks.
bye
fede
Could no complete the toolbar solution, didn't pass the correct url, Is there a way to debug the task passage?
or I could write and configure a task like edit, delete or so on?
thanks.
bye
fede
Hi Fede,
You can add a "debugger" action to the top of your new form's event to check if the data is passed correctly ?
Also, for new connections, I really suggest using CCv5 instead, as v5 is really better than v4 and is the one being developed now, so if you got some time then please install CCv5 (and keep v4, they will not conflict) and try to rebuild your connection, we have some good tutorials in the FAQs section.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
thanks for your answer.
I was able to abilitate the debugger the toolbar don't pass data in front listing, probably a permission problem.
But I don't know if I could obtain other useful information here (in the debugger) about this kind of trouble, only pass
rray data or no pass array data info.
For the second part of the answer I could evaluate a passage at new version, could I use CCv5 also with CFv4?
In the web app I use some custom actions like Unique ID [GH] as an example that's necessary for the project, then I couldn't pass directly at CFv5.
On new projects I'll start to study the new version and abbinate new version to joomla 3.
Thanks for your suggestion.
bye
fede