Jump to content

Tpl for Back Office Module


PrestaCice
 Share

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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More