D
D
Dark_Scorpion2015-09-22 10:23:42
1C-Bitrix
Dark_Scorpion, 2015-09-22 10:23:42

How to create pdf using mPDF library on Bitrix?

The problem is that mPDF shoves the result of executing the entire script up to the component into the finished file! Those. connection of styles, header and other things. How to remove this and is there a ready-made template for the component that creates pdf for Bitrix?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2015-09-22
@Dark_Scorpion

CMain::RestartBuffer

N
Nikita, 2015-09-22
@Rema1ns

or just connect the prologue on the generator page.
In general, we encountered the fact that an attacker can click on the buttons for generating a pdf file, thereby planting the system.
We decided to generate all the pfds once, and then regenerate them to change the elements of the infoblock.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question