PDF processing before delivery

  • Posts: 3
  • Thank you received: 0
1 year 9 months ago #345042

I sell digital sheet music in PDF format and want to add an automatic notice to PDFs saying "Licensed to name. Please respect copyright"

Is there any way to do this in HikaShop. I have a paid license but have not migrated my store yet.

Apoloies if this is duplicated - my last attempt to post did not appear.

Please Log in or Create an account to join the conversation.

  • Posts: 81875
  • Thank you received: 13145
1 year 9 months ago #345044


There is no easy way to do this.
To be able to modify PDF files in PHP, you need to use a library like Zend PDF or FPDF/FPDI:
Note however that as some pointed there, it might be impossible with some PDF files as there are many ways PDF files can be generated (for example with DRMs).
And since you want to integrate this in HikaShop, you can use the event onBeforeDownloadFile of HikaShop in a custom plugin to add your PHP code using these libraries:
So it requires advanced skills in PHP and time to put in to know how to make a Joomla plugin and how to use these PDF libraries and it might not work with some PDF files.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum