I have a folder on my website as follows:
pdf_folder
pdf_export.php
In my Elements DevPack, I have a component that contains the code for the page pdf_export.php (in Component > templates> pdf_export.php.
At the moment I am manually copying the php file into the published location. Is there a way to be able to set that webpage automatically? Normally you include a component in an Elements container in an Elements webpage, I just want the contents of the component file to be the webpage with nothing else added.
I have done a partial mitigation by making that page a stub (which is unlikely to change) which invokes the main pdf_export logic from the assets folder, which may change.