Posted by geshan on August 22, 2010 at 10:19am
The scenario is I have an application that is user centred in Drupal 6 and it has some content profile nodes per user and some extra information attached to user (user_reference and node_reference). I need to generate a CV kind PDF of all the nodes (content profile) and other user related information as a PDF how do I do it? Is there a module to do it?
I have seen the use of Print module and ID-Pdf but need a module that can solve my problem or some method of doing it easily. Hope to hear from you all.
Comments
An approach I've got
Hi Geshan,
Although I've not done anything specifically for content profile nodes in the way you require, I have had some good success allowing end-users to produce their own custom report using the nodequeue, smartqueue-per-user, print module and wkhtmltopdf.
I've set up the smartqueue-per-user so that the end-users can create their own nodequeues (I call them reports so to NOT confuse the end-user). Then when they find a particular node (a page of a report in their terms) they can add it to whichever profile they want with the "Add to report x" link provided by nodequeue.
Then, I've provided a PDF link for all their reports on their custom report listing page - generating it on the fly via print+wkpdftohtml.
Maybe some modified version of this process could be used for your case? I'm not sure how easy it would be to have this done programatically, but if you're talking about a small set of users and you didn't mind doing it for them, you could replicate this exactly and do the report building (CV building) for them?
HTH,
Richard
Richard Sheppard
http://uk.linkedin.com/in/richardsheppard
Hi Richard, Thanks but I
Hi Richard,
Thanks but I don't need each user to customize the things they want in pdf, all the node/content profile they have filled should be part of the PDF file. Its like a CV and user can fill parts they have like one may have 3 training and other none. Have you coded any custom module or what modules have you used.
I guess you are telling a queue (smart or node) that will be generated as PDF but how? Single node can be done by print but how to do it for multiple nodes?? Hope you can help me.
Geshan
Hi Geshan, I certainly didn't
Hi Geshan,
I certainly didn't suspect that my solution would be exactly the solution for you. You need to explore:
I know nothing about the ID-pdf module and I'm not sure where you see that fitting into your production of a person's CV. I also see that it requires TCPDF, which I also have little experience of.
Nodequeue and Smartqueues can print multiple nodes as one print job, therefore you can create a single PDF from multiple nodes. You'll need to explore the best way to do this for your circumstance.
HTH,
Richard
Richard Sheppard
http://uk.linkedin.com/in/richardsheppard
Views PDF
If you can create a view with your desired content, check out the Views PDF module to create a PDF: http://drupal.org/project/views_pdf
Contact: https://www.hook42.com/contact
Drupal 7 Multilingual Sites: http://www.kristen.org/book