Power CMS upload a PDF
Hi all,
Can anyone tell me how to upload a PDF file with Power CMS.
I have tried to use the image upload but it says "invalid format".
A solution would be much appreciated.
Thanks
Craig
Hi all,
Can anyone tell me how to upload a PDF file with Power CMS.
I have tried to use the image upload but it says "invalid format".
A solution would be much appreciated.
Thanks
Craig
Hi Craig,
Probably not the proper solution, but the only way I could work out to do this was to add 'pdf' to the list of 'AllowedExtensions' [image] at around line 120 of the 'WA_iRite/editor/filemanager/connectors/php/config.php' file:
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png','pdf') ;
Not sure this is kosher, but worked for me!
Edit:
And even then, I had to go via the route: Insert/edit Image > Browse Server > 'Upload a new file in this folder' > Browse to the pdf > Upload.
adding pdf uploads would be a great addition to the next update release
Thanks neilo,
I couldn't find that file....
I found also that you can load a pdf through the link button once you set up the php globals file with cms/.
I have used your solution as it is much easier for clients.
Thanks again.
Craig Jones
www.designawebnoosa.com.au
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.