Forums

Help: Explanations.

lovemeplease 07 May, 2012
Hi,

I'm using CC V4RC2 and CF V4RC3.3 on Joomla ! 2.5.4 and wanted to create an edit and save using back-end admin list only.
I would like to know some explanation of each parts:

1.CC>General>advance. Connection app and form app, what are the use of those? It seems that form app is having relation with CF but how to connect with CC ?

2.CC>Admin list setting>general. Edit field(s), i know this will provide a link when i clicked at the admin list, but the link is referred to where? CF?
http://localhost/joomla/administrator/index.php?option=com_chronoconnectivity&chronoconnection={connection_name}&task=cc_edit_data&cb=1

what is the "cb=1" ? is it refer to the edit CF you using ?

3.CC>Admin list setting>toolbar settings. Toolbar Tasks, the format is Task:LABEL[:selection_required(1/0)][:field_name(for binary)] so if I want to have an edit task at the toolbar, then I should put as "_EDIT_:Edit Record" right ? also it's referred to where ?
*If I have selectors on, would it also change the same field of all the selected records ?

4.CC>Admin Editing. Admin form, seems like I can't get any CF connected with the connections.

Your form "app" should be "ChronoConnectivity" (CASE SENSITIVE) in order for it to be listed here.


I have no clue what it means, sorry.

5.CC>Admin Editing. Tasks control, what is the action order and the "return after ____ action order ? It is the CF>CC Task>connection name ?

6.CC>Admin permissions>advance. Permissions table, if I put per record check to yes, which table should I use to refer to the admin permission? I tried all the Jos_users table but it keep having error.

7.CF>Actions>CC Task. The connection name is the form connection name or the CC connection ? Can explain the difference between "Field name" and "data field name" ?
*Do I need DB record loader if I want multiple records to be edited in one go ?

8.CF>Actions>CC return to app. Same as 7 first line.


I did looked through most related posts from the forum, but can't really understand. I have little knowledge on PHP, really need some explanations here, Thanks!
Max_admin 07 May, 2012
Hello,

Quick answers below🙂

#1- By default, your forms should have an App = "ChronoConnectivity" in order for them to appear under the forms box in your connection, but in some cases, you may need a unique app for both the connections and the forms, use that here.

#2- Edit fields are the fields names which will be linked to the connection's edit view (the form load event by default), you don't have to care about how the link looks like.

#3- just add _EDIT_:Edit and it will add a new "Edit" icon to the toolbar, just like any other Edit button in any Joomla admin page, there are other types of buttons:
_ADD_, _DELETE_..etc

#4- this is related to #1, just give your form the App "ChronoConnectivity" and they will appear in the list.

#5- this is the red number beside your action in the form wizard, the task action should be a "ChronoConnectivity Task" action, this is at the end of the tasks box in the form wizard, I suggest that you don't use this if you don't need to.

#6- Yes, the table has a specific structure, I didn't publish that yet, I suggest that you leave this for now, or let me know what you need to do and if this is necessary then I can tell you some hints.

#7- you should not need to use this, when used through the connection, these fields will be completed automatically in the run time, you can't edit more than 1 record of the MAIN table, but you can edit 1 record of the main table and any number of records of the related tables.

#8- Some CC events will need to redirect after the process, for example, the "save" task, it will first do the save (the CC task) then you should return, and here comes the function of that action.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lovemeplease 08 May, 2012
Hi admin,

I appreciate your answers and I've figured how it works in each section, I tried to connect a CC to the CF (almost every field is default) yet only the list data works (default at the admin list but I did tried using CF to show up and it works), the rest (edit and save) I'm having quite a problem because I can't make the edit form show up by creating an edit button at the toolbar. I know the edit and save tasks are in an edit form together, but the problem is not sure how to link the CF and CC together, is there any tutorial on creating an edit form ?

*Btw, the default delete button is not working like other posts which are saying the same thing.

Regards,
LMP
lovemeplease 09 May, 2012
Hi again,

I have found what Mr. Greyhead write about the form app at http://www.chronoengine.com/forums.html?cont=posts&f=12&t=66979

I think that the Application is the new feature in the latest CF release. If you Click the Form Name link to open the form General tab, then click the Admin actions tab and scroll down you'll find the Form App box. Putting ChronoConnectivity in there should add it to the Front Form drop-down.

Bob

After I have changed the form app into ChornoConnectivity(as same as in the CC) and saved it, the form suddenly just missing. When I check back at the connection>admin editing, the CF name appeared in admin form, of course it worked also in the back-end but with an access denied to the listing. Some how it can edit and save without problem.

Why does the CF went missing but still 'exists' in the connection. How to retrieve the CF back and also the access denied during edit.
GreyHead 12 May, 2012
Hi lovemeplease,

It's not really missing. Check the drop-down at the top of the Forms Manager forms list and you'll find that as well as 'default' there is a 'ChronoConnectivity' entry. Select that and you will see your form listed again (but not the other forms in the 'default' group).

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