close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


adding PDFs

Thread began 1/11/2010 12:42 pm by LWag48648773 | Last modified 1/12/2010 10:33 am by Eric Mittman | 1145 views | 1 replies |


adding PDFs

I found the file that needs to be changed in the new version of Power CMS. It is the config.php file located here -

Go to approx. line 142 and add , 'pdf' (don't forget to separate with a comma).
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png', 'pdf') ;

Then you can use the Insert/Edit Link icon to upload the PDF. I like to always set Target=Blank and leave the protocol as other. It works absolutely fantastically!

I decided to then try Word, Excel, and Powerpoint. They all work except I can't get the PPT show file to work (ppst). But that's ok. I'm happy with everything else.

What I don't understand is why these files don't upload w/o this fix to the config file. The file extensions are already listed in other lines of code. Could someone please explain that to me? Just curious.

Again - you can check out my testing page.

thank you,

Sign in to reply to this post

Eric Mittman

The reason that this works when you edit the allowed images extensions is because the editor is limited to the image type uploads. Adding extensions to the allowed image types will allow you to upload files other than images through the upload interface. For the ppst type of files try adding in just the last three characters of the extension pst.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...