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.

How to display PDFs?

February 03, 2011 10:59pm

Subscribe [2]
  • #1 / Feb 03, 2011 10:59pm

    dodgson

    120 posts

    I’m trying to figure out the best way to display a series of PDFs. I just want them listed by their name with a link to download. Is there a way to upload them through the file manager and display them directly from the folder or do I have to create a channel for uploading them, and then call on the channel entries to display them. Not really sure what will work.

    thanks in advance.

  • #2 / Feb 04, 2011 2:04pm

    Rob Allen

    3114 posts

    If the PDF’s aren’t associated with any other Channel then the easiest option is to create a Channel for “Downloads” and use a Channel entrie stag to output the list of files and download links.

  • #3 / Feb 04, 2011 2:24pm

    dodgson

    120 posts

    Thanks Rob. Your response is very much appreciated. I will give it a try.

  • #4 / Feb 05, 2011 10:25am

    John St-Amand

    865 posts

    Added benefit of putting them into a dedicated downloads channel instead of just using a field within the main channel it might have to do with primarily is that you can then use relationship fields in your other channels (either regular or Playa for multiple) to associate a download with one or more entries from other channels - and only have to update once in the downloads channel for that update to be reflected in all the other places in the site you’d want to have the download available.

  • #5 / Feb 15, 2011 2:58pm

    dodgson

    120 posts

    Hey guys, sorry for the delay. I’ve been away. I tried your suggestion for creating a channel for the PDFs and it’s working great. Thanks!

  • #6 / Feb 16, 2011 12:05pm

    dodgson

    120 posts

    Hey Guys. I have made the PDF list work perfectly, but I now have another questions. If I write a blog post, is there a way to select some text in the post and link it to an uploaded (through the file manager) PDF?

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

ExpressionEngine News!

#eecms, #events, #releases