ezzYY Posted September 21, 2015 Share Posted September 21, 2015 Hello I have a controller called "AdminFieldController". For this Controller I want to extend the form.tpl. So I created a form.tpl in mymodule/views/templates/admin/field/helpers/form with the following content: {extends file="helpers/form/form.tpl"} {block name="after"} <p>testetstetstest</p> {/block} But my test string didnt't appear on the end of the form. What I am doing wrong? 1 Link to comment Share on other sites More sharing options...
ManuStrozor Posted March 24, 2018 Share Posted March 24, 2018 (edited) On 21/09/2015 at 1:05 PM, ezzYY said: Hello I have a controller called "AdminFieldController". For this Controller I want to extend the form.tpl. So I created a form.tpl in mymodule/views/templates/admin/field/helpers/form with the following content: {extends file="helpers/form/form.tpl"} {block name="after"} <p>testetstetstest</p> {/block} But my test string didnt't appear on the end of the form. What I am doing wrong? I have the exact same problem but with "list" instead of "form"...please some one could help me ! /modules/bundlemanager/controllers/admin/AdminBundleManagerKeys.php /modules/bundlemanager/views/templates/admin/bundle_manager_keys/helpers/list/list.tpl Edited March 24, 2018 by ManuStrozor forgot paths (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted March 31, 2018 Share Posted March 31, 2018 the path to the form.tpl should be "mymodule/views/templates/admin/my_name_field/helpers/form" where your controller is AdminMyNameController Link to comment Share on other sites More sharing options...
sunnydesigner Posted April 1, 2018 Share Posted April 1, 2018 The correct path is: mymodule/views/templates/admin/_configure/helpers/form/form.tpl Link to comment Share on other sites More sharing options...
ManuStrozor Posted April 1, 2018 Share Posted April 1, 2018 (edited) I tried: .../_configure/helpers/list/list.tpl .../bundle_manager_keys/helpers/list/list.tpl .../bundle_manager_keys_field/helpers/list/list.tpl (not sure _field is a good solution but i tried) .../bundle_manager_keys_configure/helpers/list/list.tpl none of these solutions worked with me, i did'nt see anything in my list page controlled by AdminBundleManagerKeysController (AdminBundleManagerKeys.php) Edited April 1, 2018 by ManuStrozor more precision (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now