Jump to content

Guide to add additional block


cikcak

Recommended Posts

Hey,

 

I would like to extend AdminOrdersController to see additional button near products (_product_line.tpl)

 

Example 3: Overloading an existing template

You might want to overload a template using a controller. In this case, you just have to put the overloaded file in the following folder: override/controllers/admin/template/

For instance, let's say you want to add a message in the General Preferences page. You must have add the following file in this location: override/controllers/admin/templates/preferences/helpers/options/options.tpl

{extends file="helpers/options/options.tpl"}
 
{block name="after"}
    <p style="color:red;text-align:center;">Block after : add a text after the form</p>
{/block}
 
I found this in documentation.
 
How should I do it If I would like to overload existing admin template using module? I really need to solve this..

 

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