kowal.info

CMS Enable PDF

Composer kowal/enablepdf · Version 1.0.15

Product page

CMS Enable PDF — kowal.co

Description

Enables PDF uploads in the Magento WYSIWYG media browser.

For whom

For CMS editors publishing manuals, specification sheets and other downloadable documents.

Features

  • Upload a PDF through the WYSIWYG media browser.
  • Reuse its media URL in a CMS page or static block.
  • Keep the original document when Magento processes media previews.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/enablepdf
bin/magento module:enable Kowal_EnablePdf
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

While editing a CMS page or block, open the WYSIWYG media browser and upload the PDF. Add a descriptive link such as “Download the product manual (PDF)” to the page. The extension allows the application/pdf media type and skips image resizing for PDF files.

Requirements / notes

Choose a document intended for public download. Verify the link from the published page so you can see the same result as a customer.

FAQ

Does my PDF need an image thumbnail to work?

No. The module skips image resizing for PDFs. Link the document from descriptive text and check that the destination opens the PDF.

Verify the installation

Save a test page and open it as a customer. Follow the link and confirm it opens the uploaded document. If the editor rejects the PDF, check that you are using the Magento WYSIWYG media browser. Other upload fields can apply their own restrictions.