How to export PDF from back-end edit/update view using DynamicPDF plugin in OctoberCMS

I am going to use DynamicPDF plugin to export to pdf some fields from backend on update/edit view of my plugin in OctoberCMS, can someone help me? on plugin controller i have this call: <?php namespace Vimagem\Pacientes\Controllers; use Backend\Classes\Controller; use BackendMenu; use Renatio\DynamicPDF\Classes\PDF; use Renatio\DynamicPDF\Classes\PDFWrapper; class Pacientes extends Controller { public $implement = [ ‘Backend\Behaviors\ListController’,…

How to export PDF from back-end edit/update view using DynamicPDF plugin in OctoberCMS

I am going to use DynamicPDF plugin to export to pdf some fields from backend on update/edit view of my plugin in OctoberCMS, can someone help me? on plugin controller i have this call: use Renatio\DynamicPDF\Classes\PDF; public function pdf($id) { return PDF::loadTemplate(‘export-data-pdf’)->stream(‘download.pdf’); } On the PDF Template (export-data-pdf) i need to call some form fields…

How can I fix an import error in kali Linux?

While Installing Man in the Middle Framework (MITMf) i get an ImportError:No Module named capstone.. Although Capstone is already installed in my Kali Machine I downloaded MITMf from https://github.com/byt3bl33d3r/MITMf Heres what i get root@kali:~/Desktop/MITMf# python mitmf.py –help Traceback (most recent call last): File “mitmf.py”, line 36, in <module> from plugins import * File “/root/Desktop/MITMf/plugins/filepwn.py”, line…