Page 1 of 1

Phoca PDF Document Author

Posted: 25 Aug 2025, 20:13
by JCm21884
When a PDF document is created, certain PDF properties are populated.
* Title - Joomla Article Title
* Subject - Seems to come from the Site Meta Description
* Creator - Phoca PDF
* Author - blank

I believe the Subject could come from the Article's Meta Description, or Keywords.
The Author should come from the Article's Author.

I do not see a way to change any of the above in the Plugin.
I would be fine with an override or even modifying a file (knowing with updates it would need changing).

Thanks.

Re: Phoca PDF Document Author

Posted: 26 Aug 2025, 11:53
by Jan
Hi, in Phoca PDF you can set that the header is fully rendered by Joomla (there we have no option to edit it) or you can add completely your own header. If the first is seleted, unfortunatelly, there is no way to edit it as the full header is loaded from Joomla.

Jan

Re: Phoca PDF Document Author

Posted: 26 Aug 2025, 12:45
by JCm21884
Jan,

Thanks for the response. I was looking for a way to add the Author to the rendered PDF document Properties and not as a header in the Document.

I did find that adding a $pdf->SetAuthor('The author name'); statement after the $pdf->SetCreator(PDF_CREATOR); (two places) in the phocapdfrender.php file will accomplish this. I know this is hard-coded and will have to be re-edited anytime their is an update. Not being a PHP programmer, I do know the logic of the two locations. :-).

Again, thank you!

Re: Phoca PDF Document Author

Posted: 26 Aug 2025, 13:10
by Jan
OK