Forums / Setup & design / PDF generation from the view Templates

PDF generation from the view Templates

Author Message

Xavier Portebois

Tuesday 15 May 2007 2:07:57 am

Hello everyone.

I need to put the PDF generation on a web site.

There are many different classes, with special HTML rendering, so there are also many view-templates, therefore I want to avoid rewriting each view-template in a pdf-template.

I just try to make an override on the source "node/view/pdf.tpl" to a view-template (so with HTML code), and the PDF rendered shows me the HTML tags, like :

<h1>Hello , World</h1> <p>Lorem ipsum dolor sit amet...</p>

Is there a way to allow HTML rendering in the generated PDF ? Or must I rewrite each view-template (HTML tags) to a pdf-template (PDF features) ?

Thanks by advance,

:xav.

Xavier Portebois

Thursday 17 May 2007 11:34:27 pm

*bump*

john davis

Sunday 31 January 2010 4:05:06 pm

Any solution for this problem????