Jump to content

Tpl for Back Office Module


PrestaCice

Recommended Posts

Hi Guys,

 

Why do we use smarty tpl for front office and not for back-office module configuration display ?

 

Like this

 


public function getContent()
{
 $tpl = new Smarty();
 $tpl->assign('notes','why I mean why');
 $this->_html .= $tpl->fetch(_PS_MODULE_DIR_.'mymodule/views/templates/back/config.tpl');

}

 

I know that HelperForm is aimed for this but it looks very tiring.

 

Cheers

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...