Skip to content

Instantly share code, notes, and snippets.

@pablocattaneo
Last active September 16, 2017 00:10
Show Gist options
  • Save pablocattaneo/9e8b1e94c29326d11492 to your computer and use it in GitHub Desktop.
Save pablocattaneo/9e8b1e94c29326d11492 to your computer and use it in GitHub Desktop.
support pdf for WYSIWYG Magento: In order to allow to upload and link pdf file, I modified your config.xml Spurce: http://magento.stackexchange.com/questions/55302/magento-1-9-1-0-upload-pdf-file-type-in-wysiwyg-editor-and-show-pdf-icon
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Pdf_WysiwygFiles>
<version>1.0.0</version>
</Pdf_WysiwygFiles>
</modules>
<adminhtml>
<cms>
<browser>
<extensions>
<allowed>
<pdf>1</pdf>
</allowed>
</extensions>
</browser>
</cms>
</adminhtml>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment