Wednesday, May 15, 2013

Prestashop form field type

Adminisration notes:

the template for default form helper is located @
[path-to-project]/[admin-path]/themes/default/template/helper/form/form.tpl

the template for default listing helper is located @
[path-to-project]/[admin-path]/themes/default/template/helper/list/list.tpl

if you want to override the form template,
create the file or copy a pre-made template to:
[path-to-project]/[admin-path]/themes/default/template/controllers/[yourcontrollername]/helpers/form/form.tpl

eg:
AdminMyAdminController form helper in

[path-to-project]/[admin-path]/themes/default/template/controllers/my_admin/helpers/form/form.tpl


If you want to know all other supported form type, locate the smarty form functions @
[path-to-project]/tools/smarty/plugins/function.[name].php

No comments: