inspiredminds/contao-pdf-generation 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

inspiredminds/contao-pdf-generation

最新稳定版本:1.0.1

Composer 安装命令:

composer require inspiredminds/contao-pdf-generation

包简介

Allows you to create a PDF for a complete Contao page.

README 文档

README

Contao PDF Generation

This allows generating PDF files from regular Contao pages via the mPDF PDF generator.

Usage

First you need to create a PDF generation configuration. If you only need the default settings, the following would suffice for example:

contao_pdf_generation:
    configurations:
        my_pdf_config: ~

Otherwise check the output of config:dump-reference contao_pdf_generation for more options.

Next you will have to select a PDF generation configuration in your Contao page layout. You can find this in the Expert settings tab of your layout under PDF generation configuration. Only pages with a valid PDF generation configuration layout will be able to actually generate a PDF.

Next you will have to create a Generate PDF front end module in your theme. This module will output a form with a submit button that will trigger the PDF generation for the current page. Insert this module then either in your layout, or directly in your content somewhere.

统计信息

  • 总下载量: 116
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2024-12-04