2

I'm using Shine PDFto convert an EE template to pdf, and I need to figure out how to specify the file name when the pdf is downloaded (it defaults to mpdf.pdf). The docs seem to imply that the tag is used, but that doesn't seem to be the case.

I've tried contacting Shine about it via email and twitter and gotten no response. Has anyone who has used Shine PDF successfully specified the document title? Or is anyone familiar enough with the mpdf library to suggest how it can be done?

1

You should be able to specify the title by using a regular HTML tag pair:

{exp:shine_pdf:make channel="my_channel"}
    <title>My PDF Title</title>
    ...
{/exp:shine_pdf:make}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.