CMS Download Page – How to Upload Files

cmsdownload

I am looking for a FTP avoiding solution to easily upload a file (like a PDF) to a CMS page.

I did find a module for this but $48 for such an easy task is quite a lot.

Isn't there a better way?

Basically you only need to add a uplodify button and past the link into the CMS editor. Maybe someone has extended the editor before and can give me a hint how to do that?

Best Answer

You can add the following XML to a module's config.xml allowing files with the pdf extension to be uploaded through the picture upload.

<adminhtml>
    <cms>
        <browser>
            <extensions>
                <allowed>
                    <pdf>1</pdf>
                </allowed>
                <image_allowed>
                    <pdf>1</pdf>
                </image_allowed>
            </extensions>
        </browser>
    </cms>
</adminhtml>
Related Topic