HTML preview of pdf before download

You need to be logged in to post messages in the forums. New users may register here.

Marjolaine Weibel

Member since:
21 September 2009

Posts: 3

Monday 28 June 2010 8:59:45 am

Hi,

First allow me to say that I've been craving to find such an extension, thanks!

I'd like to customize my PDF template. So i copied paradoxpdf_layout.tpl to my_extension/design/templates. And I can download the PDF with /content/view/pdf/node_id. But each time i modify my template, i have to download the PDF again.
Is there ny any chance an URL where i can get an HTML view of the pdf layout, like /layout/set/print/ does ?

Thanks much!
Up

Karnichi Mohamed

Member since:
11 February 2008

Posts: 72

Monday 28 June 2010 1:33:51 pm

hello Marjolaine,

During template development , just replace the last line in the paradoxpdf_layout.tpl































http://www.amiralweb.com Certified eZPublish Expert

Up

Marjolaine Weibel

Member since:
21 September 2009

Posts: 3

Tuesday 29 June 2010 7:21:36 am

Hello Mohamed,

Your change works very well, merci beaucoup!

I have one more question, if i may (maybe that should be another thread) :
Would you know a way to replace the path /content/view/pdf/node_id by something like /path/to/my/node_url_alias/pdf ? I would say Apache or URL Wildcards but i don't know how the association node_id / node_url is made…

Thanks for your kind help & extension!

M
Up

You need to be logged in to post messages in the forums. New users may register here.