Hi all,
I've been searching, but didn't find a solution yet, and got a bit confused with possible workarounds.
I have a simple chronoform with an upload field, defined for pdf's.
In choronoconnectivity I’ve created a connection to display the fields, and made the upload field linkable.
I want to keep the default CC layout but would like when people are clicking on the pdf link that it opens or asks to download.
Also that it's automatically the case for all new submitted forms.
Can i do this by defining the right string in "Linkable Field(s)"?
Hi StijnC,
Yes, just enter something like:
Model.field:LINK_TO_PDF_FILE_DIRECTORY_HERE/{Model.field}
Doing this in v5 should be easier, as the interface is more helpful, we have more tutorials and many forums posts, you can use CCv5 to manage any database table records.
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Thanks a lot Max!
I'm almost there, but when I define the path, it always puts the index & form name string in front.
http://xx.xx.xx.xx/joomla/index.php/FORM_NAME
Any ID how to adjust this?
Thanks in advance!
I don't think you have used the correct path, because it should be something like his for v4:
http://domain.com/components/com_chronoforms/uploads/form_name/
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
I've recreated the form in V5, but there I’m already blocked before.
In the frontend it shows "connection not found" (the name is correct)
When I could get the link to work in V4, it would be all done.
In linkable fields:
Fiche:http://12.12.12.12/Joomla/components/com_chronoforms/uploads/VOV_Toezichten-Copy/{Fiche}
When I put the pdf name behind that path, it opens, so the path is correct.
By clicking on the link itself, it results in:
http://12.12.12.12/Joomla/index.php/v-o-v/http-/12.12.12.12/Joomla/components/com_chronoforms/uploads/VOV_Toezichten-Copy/20140819113915_1.pdf
By deleting "12.12.12.12/Joomla/index.php/v-o-v/http-/" it opens the pdf, but i don't know to get that automateclly out.
I'm not sure why this extra part is added to the link, but please try to use v5 ? just keep your v4 as its and install v5 with it and try it, i think that it should work fine, and its better on the long term, since no more development is done for CCv4
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?