Jump to content

Submission automatic reject


Recommended Posts

Hello,

 

I try to upload our official module on prestashop, but when we try, we obtain this error :

 

 

The use of smarty templates is mandatory to display HTML. Your PHP code should not contain HTML.

 

I don't understand where we need to fix this issue on our code.

The module is  old but we recently update. It's a payment module.

 

Thanks

Link to comment
Share on other sites

Hi 

 

Well that means that  for example in mymodule.php main module file you can not 

add HTML code. For module configuration page or front office display.

In earlier versions for example you added HTML code for forms, but for some time

you have to use Helper Classes.

 

I am bit guessing but check for example simple generated module from 

https://validator.prestashop.com/generator

There is some module configuration custom text added to tpl file and called from main php file,

also Helper Class is used.

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