-
☆ A M B ☆
- 51 Posts
Here is the set up
1. The resources being pulled in by MODX
2. The Setup in the manager
3. The error I'm getting
Also I have tried what some of the other threads suggest which is creating a custom content type, still not working
discuss.answer
-
☆ A M B ☆
- 1,780 Posts
Add the context type PDF.
In the System Menu, choose Content Types. Add New Content Type. Set it to:
Name: PDF
Description: PDF Content
MIME Type: application/pdf
File Extension: .pdf
Binary: yes
Save the Content Types.
Then, in the resource where you're linking to the static file, choose the settings tab, and set the content type to PDF.
That should do it.
-
☆ A M B ☆
- 51 Posts
Thanks for the reply,
I had the content disposition set to inline that was causing the file to download as a html file
-
☆ A M B ☆
- 1,780 Posts
Yep, I've seen that myself. Glad you're up and running.