Call a CFv6 Form or another CCv6 Connectivity from CCv6

mikezf 10 Apr, 2017
Hi Max,
is there any easy method to call another CCv6 or CFv6 from CCv6.
For now I just use the Link Button and call an URL. But I have to set the URL with absolute address like this:
"index.php?option=com_chronoconnectivity6&cont=manager&conn=my_connection&event=index¶m1={data:param1}&Itemid={data:Itemid}".
Is there any plans to define a special function to do this, for example as a futer of redirect function?

Regards,
Mike
Max_admin 10 Apr, 2017
Answer
Hi Mike,

The next Connectivity update should have this feature, I can also send it by email if you can't wait for that time.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mikezf 10 Apr, 2017
No problem Max, I can wait.
Best regards,
Mike
mikezf 24 Apr, 2017
Hi Max,
I have just updated the CC to Version 6.0.2. But I couldn't find this feature.

Best regards,
Mike
Max_admin 24 Apr, 2017
Hi Mike,

You can use this command in your events or views:

{chronoform/section:form_name/section_name}

or

{connection/event:connection_name/event_name}

You can call sections or events or views

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mikezf 24 Apr, 2017
1 Likes
It is working like a charm.
Best thanks Max. Great job.

Regards,
Mike
Max_admin 24 Apr, 2017
You are welcome!🙂

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 24 Apr, 2017
Just a note here, its best to call a Chronoforms section inside a Connectivity form view, this way Connectivity will handle the form action url, but if you call a form event then you will need to adjust the form action url manually in chronoforms, which is unnecessary if you just call the section.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mikezf 25 Apr, 2017
Hi Max again,
I'm testing the new feature {connection/event:connection_name/event_name} .
But there is one problem so long. It has something to do with Itemid.
I have two DB-Tables "Clients" and "Contacts". I manage both with separate Connections.
A row from Client-Table calls the Form1 to view Client data. This Form has a Task-Button which calls
the Event "ViewContacts", which calls the second table "Contacts-Table" (a separate Chronoconnectivity!)
for the selected client_id with the new feature {connection/event:contacts_list/index}. But if I want to select a row
from this table, instead of calling Form2 to view the Contact data, the Form1 is displayed.
I need only to remove the URL-Tag Itemid and then the right Form2 is displayed. Strange.
The old way with Link-Button and fixed URL there was no such problem.

Regards,
Mike
mikezf 25 Apr, 2017
One tip.
Calling the new connection with {connection/event:contacts_list/index} gets the URL from the first connection
and his event.
Calling the new connection the old way gets of course the right URL from the second connection.
Maybe this is the key.

Regards,
Mike
mikezf 26 Apr, 2017
One more tip.
If I remove manually the Itemid from URL, then all is working fine.
Regards,
Mike
mikezf 26 Apr, 2017
One more.
With CC 6.0.2 the URL parameters ones set (eq. with link view), stay forever.
How to remove?

Regards,
Mike
Max_admin 27 Apr, 2017
Hi Mike,

With the last update the url parameters are preserved, you can clear any parameter by adding it to your link view and leaving its value empty.

param=


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mikezf 27 Apr, 2017
Hi Max,

param= doesn't work.
param="" works.
If I do the same with Itemid="" then it works well for the first call, but the second one gets Itemid="= .
Not the right solution.
There is a general problem with Itemid. Calling a second connection from the first connection gets URL
with the same Itemid. OK. But regardless the connection name in calling url (fixed url or with connection/event),
because of Itemid always the first connection is viewed. Removing manually Itemid from url fixes this issue.
My suspicion: Itemid is more important then connection name by handling the connection call.

Regards,
Mike
Max_admin 27 Apr, 2017
Hi Mike,

You should leave it empty as in my post, the next update should fix this.

Itemid is the Joomla menu id, it controls the page settings including the main connection, and it can't be unset, so I don't suggest that you jump between connections using a Connectivity menu item.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Admiral 13 Jun, 2017
Hi Max,
I use CFv4 and CCv4 and have numerous forms linked to a cc table. However I am struggling trying to understand how to do the same with CFv6 and CCv6 which I have installed and am trying to move to.

Could you possibly write a FAQ on how to link a CFv6 form to a CCv6 list?

Thanks!
-Donald
Max_admin 13 Jun, 2017
Hi Donald,

Connectivity v6 has a simple fields view which you can use, this means no need to call Chronoforms in your Connection, but if you want to use the advanced features in Chronoforms then you can call a form section inside the form view in your connection:
{chronoform.section:form_name/section_name}


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Admiral 16 Jun, 2017
Thanks Max,
So I took your suggestion to build the form within connectivity v6 and have had success with one exception. In chronoforms v4 I added a "Joomla Plugins" event to enable the use of plugin code like from phocagallery to call up an image. can you advise me on what the equivalent would be for connectivity v6?

Thanks!
-Donald
Max_admin 16 Jun, 2017
Hi Donald,

No equivalent in v6 for this, a new view will need to be added, please send me a message using the contact us page and I will reply with the new action after I can finish it.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Admiral 18 Jun, 2017
1 Likes
Will do. Thanks Max! Appreciate it very much.

-Donald
NickOg 25 Jul, 2018
Can someone help explain this for me. I am stuck

From this post I understand that I can add
{chronoform.section:edMasterYearsV6/display_section1}
to my edit event so
{view:loadCSS}
{view:loadEditorCSS}
{fn:loadFunctions}
{fn:readMasterYearRecord}
{chronoform.section:edMasterYearsV6/display_section1}
{view:navigation_form}
{fn:showFormVersion}
The from does exist but does not load. It has a display section named 'display_section1' with a section name 'one'. Neither seem to load the form
The form (for the moment) only has debugger & show stopper
This topic is locked and no more replies can be posted.