Jump to content

Recommended Posts

Bonjour, 

 

j'ai voulu créer un module , et j'ai créé un fichier 
 

class Admintest extends AdminTab {
        
    public function __construct() {
        parent::__construct();
    }

       public function display() {
           $context = Context::getContext();
         $context->smarty->assign('error', 0);
$context->smarty->assign('confirmation', 0);


return $this->_ddisplayForm();
        
        } 

private function _ddisplayForm()
{ 
 $context = Context::getContext();
$context->smarty->assign('slider', array(
'builder' => $builder, 
));  
return $context->smarty->display(__FILE__, 'views/templates/admin/admin.tpl');
}
}

Mais dans l'admin :  

j'ai ca : 

smarty->assign('error', 0); $context->smarty->assign('confirmation', 0); return $this->_ddisplayForm(); } 


Qui a une solution ou voir un problème ? 


 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...