I need to extend AdminPdfControllerCore in a PS module I'm developping, to generate a PDF file. I created a controller in MY_MODULE/controllers/admin/AdminPdfCustomController.php
class AdminPdfCustomController extends AdminPdfControllerCore{
public function postProcess(){
parent::postProcess();
}
public function initProcess() {
error_log('AdminPDFCustomAction / INIT PROCESS / => ' . Tools::getValue('submitAction'));
parent::initProcess();
}
public function processGenerateTechnicalsheetPdf(){
}
}
I want to access my controller in the Admin interface via an URL like index.php?controller=AdminPdfCustom&fc=module&module=jtechnicalsheet&submitAction=generateTechnicalsheetPdf&id_order=1&token=[...]
But I have a 404 error message. am I writing my controller the right way ? Can someone help me in the way to write the URL ? I'm using PS 1.7.4.1.
Thank you,
Gildas