ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Unable to post PDF download links on EE Site

November 22, 2010 6:40pm

Subscribe [2]
  • #1 / Nov 22, 2010 6:40pm

    sleven1868

    78 posts

    This question may be related to a resolved thread.
    EE1.7 on Apache

    I am having issues posting a link to my website. I have this piece of code in a custom weblog field called product_summary

    <ul>
    <li><a href="http://images/uploads/specifications/vector/SAR-LIN-03.pdf" target="_blank" rel="noopener">Specification Sheet</a></li>
    </ul>

    I add it to the template using this code:

    {exp:weblog:entries weblog="vector|helix|prism|matrix"   style="linear" disable="member_data|trackbacks"}
    
    <h2> {title}</h2>
    <p>{product_thumbnail}<br />
    {product_price} </p>
    
    <p>{product_summary}<br />
    <a href="http://{url_title_path=products/detail}">View Product Details >> </a></p>
    
    <p>{/exp:weblog:entries}

    When I click on the link its URL is “http://vltest.qnuru.com/index.php/products/post/images/uploads/specifications/vector/SAR-LIN-03.pdf”

    When it should be “http://vltest.qnuru.com/images/uploads/specifications/vector/SAR-LIN-03.pdf” 

    I checked the preferences on the /images/upload directory under the file upload preferences and it looks good.  I set the Allowed file types to all and checked the path. There was a previous post that I found but I don’t have a .htaccess file to change.  Can someone tell me how to fix this?  Thanks!

  • #2 / Nov 22, 2010 7:22pm

    sleven1868

    78 posts

    I figured it out.  I’m new to EE so it just takes me a bit to navigate.  For you newbies, you can add the link to the file to any custom tag field by clicking “Uploa File” on the weblog entry.  There you can either upload a file or insert a link to a file that already exists in the uploads folder hierarchy.

  • #3 / Nov 23, 2010 2:26am

    John Henry Donovan

    12339 posts

    Glad you are up and running again.Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases