Buy Now
Sign in

Call a CFv6 Form or another CCv6 Connectivity from CCv6

mikezf , April 10 2017
Answered
M
mikezf
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&param1={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
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
mikezf
No problem Max, I can wait.
Best regards,
Mike
M
mikezf
Hi Max,
I have just updated the CC to Version 6.0.2. But I couldn't find this feature.

Best regards,
Mike
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
mikezf
It is working like a charm.
Best thanks Max. Great job.

Regards,
Mike
admin
You are welcome!

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
mikezf
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
M
mikezf
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
M
mikezf
One more tip.
If I remove manually the Itemid from URL, then all is working fine.
Regards,
Mike
M
mikezf
One more.
With CC 6.0.2 the URL parameters ones set (eq. with link view), stay forever.
How to remove?

Regards,
Mike
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
mikezf
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
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Admiral
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
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Admiral
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
admin
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
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Admiral
Will do. Thanks Max! Appreciate it very much.

-Donald