Jump to content

David_Presta

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    David
  • Last Name
    Lopez

David_Presta's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Just in case somebody find this usefull, I followed the same steps that Dave wrote and I got override the class AdminOrdersControllerCore, the only difference I see is I'm working on PS 1.6 Path of core class: controllers/admin/AdminOrdersController.php Path of override class: override/controllers/admin/AdminOrdersController.php Main definition override class class AdminOrdersController extends AdminOrdersControllerCore
  2. Hi there I'm developing a new backoffice module on PS 1.6. I have read the documentation but I'm stuck at this moment. Hope the community can help. My module adds new items on the main backoffice menu: Dashboard Catalog Orders .... .... MyCustomMenu ->MyChildCustomMenu I have already created the controller class for "MyChildCustomMenu" option in mymodule/controllers/admin/AdminNewItemController.php it has something like: <?php class AdminNewItemController extends ModuleAdminController { public function __construct() { // Enable bootstrap $this->bootstrap = true; // Call of the parent constructor method parent::__construct(); } } I failed to load a custom form (when the user click on "MyChildCustomMenu") from a tpl file (mymodule/views/templates/admin/customform.tpl) using fetch or diplay methods I don't know what is correct place to call the tpl (could be on the constructor? ) as well the correct form to load it. I really appreciatte if somebody could explain what is the process flow once the user click on one option of the menu just in order to get a better understood of PS. Thanks in advance
×
×
  • Create New...