I work with TCPDF and every PDF gets another name with - data ['pdf_file_name']. It works great. Is there a way to create a different path every time?
Hi GOODEBORG,
The simplest way may be to use a Custom Code action after the TCPDF action to move the file after it is created. You can use the Joomla! [JFile methods for this. Note that you should also update the CF $file data to match the new path.
There is also some code that would let you over-write the default path using a Custom Code action before the TCPDF action.
Bob
The simplest way may be to use a Custom Code action after the TCPDF action to move the file after it is created. You can use the Joomla! [JFile methods for this. Note that you should also update the CF $file data to match the new path.
There is also some code that would let you over-write the default path using a Custom Code action before the TCPDF action.
Bob
This topic is locked and no more replies can be posted.
