public function modalTabToolTemplateAddAction()
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');

        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey('meliscms', 'meliscms_tool_templates');

        $view = new ViewModel();

        $view->setVariable('meliscms_tool_template_add', $melisTool->getForm('meliscms_tool_template_generic_form'));

        return $view;
    }
public function modalTabToolTemplateAddAction()
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');

        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey('meliscms', 'meliscms_tool_templates');

        $view = new ViewModel();

        $view->setVariable('meliscms_tool_template_add', $melisTool->getForm('meliscms_tool_template_generic_form'));

        return $view;
    }
public function modalTabToolTemplateAddAction ( ) { // declare the Tool service that we will be using to completely create our tool. $ melisTool = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreTool' ) ; // tell the Tool what configuration in the app.tool.php that will be used. $ melisTool -> setMelisToolKey ( 'meliscms' , 'meliscms_tool_templates' ) ; $ view = new ViewModel ( ) ; $ view -> setVariable ( 'meliscms_tool_template_add' , $ melisTool -> getForm ( 'meliscms_tool_template_generic_form' ) ) ; return $ view ; }
This will be used to render the add form in the modal tab
This will be used to render the add form in the modal tab