no .pdf ending in generated pdfs

Author Message

Nicolas Heiringhoff

Thursday 21 April 2005 2:36:35 am

hello everybody,

when we download a pdf of an article in the news section of our website, eZ publish does not attach the .pdf ending to the generated file. Im sure this can be switched on, but I do not know where. Has anybody a suggestion?

regards,
Nico

http://www.heiringhoff.de

Jack Rackham

Thursday 21 April 2005 4:56:38 am

Do you mean your problem is like this?

Link in adress bar.
http://ez.no/yoursite/content/pdf/255

If so this is not a problem ez generates the PDF so it becomes 255.pdf.
At least this works in 3.5.1 with this code:

<a href={concat('/content/pdf/',$module_result.node_id)|ezurl}>{'application/pdf'|mimetype_icon( small, "Download PDF"|i18n( "design/base" ) )} {"Download PDF version of this page"|i18n( "design/base" )}</a>

Démian B.

Thursday 12 May 2005 9:28:06 am

Hello,

Havard K :
"If so this is not a problem ez generates the PDF so it becomes 255.pdf." ---> and when it doesn't where can i correct this ???
When i click "Download a pdf version of this page" i download files like "547", "474" etc etc ... for me is not a problem i open them troughout the command "open with..." but for simple user it is more complicate. My website is http://www.cfao-cadcam.net

How can i correct this ? The tag : <a href={concat('/content/pdf/',$module_result.node_id)|ezurl}>{'application/pdf'|mimetype_icon( small, "Download PDF"|i18n( "design/base" ) )} {"Download PDF version of this page"|i18n( "design/base" )}</a> doesnt work, have you another idea ??

Thanks

I've got you in my sight

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.