Questions tagged [adminhtml]

adminhtml is a directory in Magento which contains a design file related to the admin interface of Magento.

adminhtml is a directory in Magento which contains a design file related to the admin interface of Magento. We have two such directories in Magento.

  1. Under /app/design directory in Magento. It contains a design file related to the admin interface of your Magento.

  2. skin/adminhtml: This directory contains CSS, js, and images of the admin theme of Magento.

172 questions
2
votes
1 answer

Magento add block to sales order create

I am trying to add a block to the admin create order screen. Im my layout xml I have skin_jsjs/fee/fee.js
Dylan Orr
  • 69
  • 1
  • 5
2
votes
1 answer

Magento: Trying to overwrite Mage_Adminhtml_Block_Widget_Form

I'm trying to overwrite Mage_Adminhtml_Block_Widget_Form in my extension but i can't seem to get it to work. my config looks like this
Koen
  • 51
  • 3
2
votes
0 answers

No Button Save to Create a Shipment of Order

I can't change state of my orders. See the problem on Image. The Button Save to Create a Shipment of Order there isn't in page. The order in question is already in the state processing. Version: 1.6.2.0 Problem…
Denis Spalenza
  • 755
  • 2
  • 11
  • 31
2
votes
1 answer

Magento select field disables row in related products

I have added a tab with functionality similar to related products, I have added a column with a dropdown like this: $this->addColumn('mycolumn', array( 'name' => 'mycolumn', 'header' => Mage::helper('catalog')->__('Display on current…
Toon Van Dooren
  • 613
  • 1
  • 12
  • 27
2
votes
1 answer

How to add a SaveandContinueEdit Button to my form?

I am working on a new Magento extension, in my Adminhtml form I want to add the button "saveAndContinueEdit" I've added this code to my Edit.php file. $this->_addButton('saveandcontinue', array( 'label' =>…
t.c
  • 1,255
  • 1
  • 16
  • 36
2
votes
4 answers

overwrite adminhtml sales_order_create model

I am unable to overwrite the adminhtml model, can anyone help me out where I did wrong... module XML true
Vikas Pal
  • 81
  • 7
2
votes
2 answers

Magento: Overload Adminhtml/Productcontroller’s saveAction method won’t work …?

I want to overload the saveAction method from the core/Mage/Adminhtml/controllers/Catalog/ProductController.php and it won’t work - I have now searched and tried for a complete day :( Background: I want to change the value of a custom attribute…
matttrakker
  • 204
  • 3
  • 15
2
votes
1 answer

Magento custom collection has duplicated data

This code will use a custom collection and print a listing of files, using a Grid, through Magento's backend(adminhtml) for either downloading or deletion. The problem is the collection gets duplicated multiple times with the same result after…
Nate H
  • 322
  • 1
  • 5
  • 20
2
votes
1 answer

Magento addField doesn't use 'value'

Setting up a custom form. Magento doesn't use the 'value' attribute of addField. Suggestions? Code: $form = new Varien_Data_Form(array( 'id' => 'edit_form', 'action' => $this->getUrl('*/*/save', array('id' =>…
Nate H
  • 322
  • 1
  • 5
  • 20
2
votes
2 answers

Add a dropdown attribute in Product report grid Magento 1

I'm trying to add new product attributes to Reports->Products Ordered grid. I copied the /app/code/core/Mage/Adminhtml/Block/Report/Product/Sold/Grid.php to /app/code/local/Mage/Adminhtml/Block/Report/Product/Sold/Grid.php and add attributes like…
Hum
  • 531
  • 2
  • 12
  • 30
1
vote
3 answers

Magento custom module adminhtml/base/default

My custom module is generating this error on the system log everytime I try to view the indexController. 2012-01-25T17:23:08+00:00 CRIT (2): Not valid template file:adminhtml/base/default/template/page/2columns-right.phtml I've been fishing through…
Frank Martin
  • 1,611
  • 1
  • 14
  • 18
1
vote
1 answer

Magento 2 set the value of a custom form element in the adminhtml > catalog > products > edit form

In Magento 2 i have created a custom fieldset with one field in Vendor\Module\view\adminhtml\ui_component\productform.xml
1
vote
1 answer

Admin route in custom modules

All stock magento modules have URL path in backend which has 'admin' (by default) part. However I was not able to achieve that for a custom module. Is this not possible or done on a purpose? Thanks
Zifius
  • 1,650
  • 1
  • 16
  • 27
1
vote
3 answers

how does the Image Gallery form get populated in Magento Admin

I can see that Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Gallery_Content::getImagesJson() and app\design\adminhtml\default\default\template\catalog\product\helper\gallery.phtml are responsible for putting the image data into the browser via…
Jonathan Day
  • 18,519
  • 10
  • 84
  • 137
1
vote
2 answers

whitespace problem magento admin html grid renderer

I have rewritten the app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php with app/code/local/Mage/Adminhtml/Block/Sales/Order/Grid.php & have created a renderer to display customer's email column in grid. Here is my renderer file: class…
SAM
  • 641
  • 2
  • 16
  • 30
1 2
3
11 12