Forums

Download PDF on ChronoConnectivity

francescocartei 01 Sep, 2016
Hi,
with chronoforms and TCPDF I create automatically a PDF on mysite.it/components/com_chronoforms5/chronoforms/pdfs/myfolder/20160831.pdf
Now with ChonoConnectivity I display this PDF (Front list->Column List->model.filepdf), and I need to save it: I would have a icon that if I click on this I can download pdf file.
Example:
ID NAME TEL PDF
1 Mr.Pink 1234 file1 (this file1 must be downloaded)
2 Mr.White 5678 file2 (this file2 must be downloaded)

How can I do?
GreyHead 01 Sep, 2016
Hi armandocurcio,

You can use the HTML box in CC to create a link to the saved file.

Bob
francescocartei 01 Sep, 2016
Hi,
In Front List -> Setting -> HTML:
gestione.pdf_file:<a href="components/com_chronoforms5/chronoforms/pdfs/registracontratti/gestione.pdf_file">PDF</a>

where model is "gestione" and the path is "components/com_chronoforms5/chronoforms/pdfs/registracontratti/"

but it doesn't work😟
GreyHead 01 Sep, 2016
Hi armandocurcio,

What exactly doesn't work?

You may need to make that a full URL.

Bob
francescocartei 01 Sep, 2016
[IMG]http://i63.tinypic.com/b8n6oj.jpg[/IMG]

How can I make the PDF column linkable? If I click on the string "docpdf_0123456.pdf" I need to start pdf download🙂
GreyHead 01 Sep, 2016
Hi armandocurcio,

By adding a link as you did in the earlier post - I guess that it needs to use the file name for the current row though.

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