ZenphotoCMS Forum
Add pdf/word files to zenpage articles & pages - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Add pdf/word files to zenpage articles & pages (/thread-4805.html)

Pages: 1 2


Add pdf/word files to zenpage articles & pages - sbansal - 05-03-2009

Hello,

I wish to add pdf and MS word/excel/powerpoint files to zenpage articles. The editor only allows me to add images and video. Is there an easy way through the tinyMCE editor to do add these file types??

Thanks

Sbansal




Add pdf/word files to zenpage articles & pages - acrylian - 05-03-2009

By using the ajax file manager: http://www.zenphoto.org/zp/screenshots/zenpage-using-the-ajax-file-manager/Manage-files-only.jpg.php




Add pdf/word files to zenpage articles & pages - sbansal - 05-03-2009

Thanks for the quick reply.

I have a couple of related questions:

  1. I am not able to upload via the ajax file manager (I get the message - (website name) you are not allowed to upload such file type. I used an ftp client to upload the pdf file into the same folder and it worked flawlessly.

  2. How do I embed the links to these uploaded files into zenpage articles/pages?

thx




Add pdf/word files to zenpage articles & pages - sbansal - 05-03-2009

figured out how to embed links in zenpage articles. Clicking the link button in the menu opens up a small entry box - there is small button next to "Link url" which gives the option to link to uploaded files.

However, still not able to upload files via the ajax file manager?




Add pdf/word files to zenpage articles & pages - acrylian - 05-03-2009

The ajax file manager uses the default config by its creators that excluded filetypes like pdf and doc. You need to change that yourself. Open the file zp-core/plugins/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php and look at the defines around line 78 and 79. Uncomment hte first one and comment out the second.




Add pdf/word files to zenpage articles & pages - sbansal - 05-03-2009

I can now upload pdf files. But there is a new problem.

I am unable to upload large files (trying a pdf file 3.7 MB) - i get the error message that "the file was not attached". I am able to upload smaller files (tried less than 1 MB and worked). I will need to upload much larger file sizes - 20MB or more in some cases for ppt presentations.

thx a lot




Add pdf/word files to zenpage articles & pages - acrylian - 06-03-2009

Please take the time to read our user guide section..:-): http://www.zenphoto.org/2009/03/troubleshooting-zenpage/#20

I will change both the upload format support and the upload size for tonight's nightly.




Add pdf/word files to zenpage articles & pages - sbansal - 09-03-2009

Thank you for your help. Awesome work




Add pdf/word files to zenpage articles & pages - arvidtp - 24-05-2011

huh. The change for extra format support never made it into the actual releases it seems - still had to go in and change this by hand in 1.4.0.4

FYI the file is now located at zp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php

cheers,
Arvid




Add pdf/word files to zenpage articles & pages - acrylian - 24-05-2011

What is a mistake is that there are a lot of file formats not allowed that should. But my upload max size is 50 * 1024 & 1024 which was raised as the original value was just 2048 byte.

The next nightly ties the upload size now to the ' upload_max_filesize' value told by the server and also allows a wider array of file formats.

Note you can always use ftp directly as well.