Announcement

Collapse
No announcement yet.

PDF Download Problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PDF Download Problems

    Can anyone figure out why the Order Form download on this page works fine, but the Brochure/Pricelist download does not & tries to load as HTML??

    These downloads operate using HTML in the text field of fragments, as follows:

    Price list (not working)
    Code:
    !!<<span style='font-size: 16px; color: #c10000;'>>!!!!<<strong>>!!!!<<u>>!!
    Price List/Brochure
    !!<</u>>!!!!<</strong>>!!!!<</span>>!!
    
    !!<<a href="http://www.welshfruitstocks.co.uk/acatalog/GARDEN_2010_11.pdf" type="application/pdf" TARGET="_blank">Click here to download our price list</u> (PDF file).</a>>!!  You can see all of the varieties listed on the website in one place, and print for viewing at your convenience.
    Order Form (working)
    Code:
    !!<<span style='font-size: 16px; color: #c10000;'>>!!!!<<strong>>!!!!<<u>>!!
    Order Form 
    !!<</u>>!!!!<</strong>>!!!!<</span>>!!
    
    !!<<a href="http://www.welshfruitstocks.co.uk/acatalog/ORDER_FORM.pdf" type="application/pdf" TARGET="_blank">Click here to download an order form</u> (PDF file).</a>>!!  You can send your order to us via post, and enclose a cheque for payment. Please provide a contact phone number or an email address.
    Thanks!

    #2
    Possibly the numbers in the first pdf url are confusing things. That's the only difference I can spot.
    Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

    Comment


      #3
      style=" is what i use, not style=', having said that you're setting it bold, size, color and underlined, do it the best way instead, create a class with those attributes:

      .pdfLink {
      font-weight: bold;
      font-size: 16px;
      color: #c10000;
      text-decoration: underline;
      }

      then apply a class instead, like so:

      span class="pdfLink"

      instead of all the styling in the code, single place to change the style across the site and much better code. Win win.

      I never use the type attribute either.

      Comment


        #4
        The file is not uploaded.
        Put this in your browser and you will see it doesn't work:
        http://www.welshfruitstocks.co.uk/ac...EN_2010_11.pdf
        Are you sure you have typed it correctly?
        If so then try adding the file to the additional files list in Actinic.

        Comment


          #5
          Hi

          Looks to me the PDF is not on your server.

          But I maybe wrong

          If you open up a PDF that is working and then change the PDF file name to something else in the address bar, its try and load the HTML.

          Elliott
          Elliott - Weybridge Lights

          www.weybridgelights.co.uk

          Comment


            #6
            LOL, rookie error, good spot Duncan.

            Comment


              #7
              Both links have ummatched </u> tags in them but that's not the problem.

              File GARDEN_2010_11.pdf seems to not be a PDF. Check that you don't have a corrupt copy in your Site folder as Actinic may be uploading this by mistake.

              Also check that it's really a PDF.


              UPDATE: It's more likely to be a missing file. If I look for http://www.welshfruitstocks.co.uk/ac..._2010_1xx1.pdf (I've munged the file name with some x's), I get the same lump of HTML returned.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                It might be worth setting up 404 error page as well to stop the munged pages.

                'munged' - great word, almost as good as 'obfuscation'.

                Comment

                Working...
                X