How to generate PDF for targets of non base email Campaigns?

Hello!!

I would like to know if is there a way to create a non email campaign (yes this I know it is possible) but for this campaing’s target list I would liek to generate PDFs for all included members without having to go to each one’s detail and generate it.

Those any one know how to do it? Does this require much PHP?

Thanks

There is a feature in Contacts module List view (and probably in Leads and Targets) to select Contacts and then do a mass operation “Generate Letter”. This will use a PDF Template and give you a big PDF file with all the pages in there.

But this is not related to Campaigns, so it won’t send as an attachment, via email. Was that what you needed specifically?

Hi pgr,

Well it’s kind of a mix between the 2 situations.

I do not need to send the file via email. In fact, this type of campaigns should be non email base.

What I would need is the same bulk functionality we have in contact’s list but inside the campaign’s target list elements.

I see. You basically need to extend the “Print to PDF” option to the Target List module.

I have a couple of gists describing how to add actions to the Action menu on the list views.

https://gist.github.com/pgorod/5de7c6f8d37413654b16e06668d7e1b1
https://gist.github.com/pgorod/c838f258fadf9528b61183e763e978a8

That can be a start for you - then you’d have to see how easy it is to move the “Print to PDF” option from the other modules into this one.

Thanks for your availability pgr :wink: I’ll give it a look.

Closed