Jump to content

using smarty templates in module backend


Recommended Posts



I am currently investigating into developing a module for Prestashop and I have studied some examples, and did some small modulework.

Every module I saw uses inline html in the php code to display the form in the backend of the store.

Does anyone of you have examples of implementing the backend of the module with a template like smarty?




Link to comment
Share on other sites



I have used smarty template in admin by using some hook i had created in my module installation. Then in the display function i call the hook which return the content of the smarty template.


I don't know if it's the best way to do it but it works.

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