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
3
votes
1 answer

Magento - Admin Grid page doubling main Fields

I'm working on a custom Magento(1.9.0.1version) extension. Let me describe you my problem in pictures: When i click the button to go to the next page: And then this problem appears: As you can see it is doubling by any reason the Magento fields…
Venelin
  • 2,905
  • 7
  • 53
  • 117
3
votes
1 answer

Magento Grid : Better way of using addColumn Actions?

This function sets up the Magento Grid to display a list of filenames with a corresponding 'Delete' action. The problem is the Delete action never passes the parameter, 'filename.' (See…
Nate H
  • 322
  • 1
  • 5
  • 20
3
votes
1 answer

Magento pull product attributes into Adminhtml order item grid

I'm creating a custom module for a specific function in the admin of Magento. Within the Adminhtml grid, I am pulling in line order items, but also need to pull in data specific to each product as it currently stands in the database. Attached is the…
Mark Shust at M.academy
  • 6,300
  • 4
  • 32
  • 50
2
votes
1 answer

Appropriate/best practice way to execute some PHP unrelated to database when a module is first installed?

I'm creating a module that requires a few things to be done (once only) when the module is installed. There may be a number of things that need to be done, but the most basic thing that I need to do is make an API call to a server to let the…
Kevin Mitchell
  • 325
  • 1
  • 5
  • 13
2
votes
1 answer

What is the proper way to add a custom dashboard "box" in the Magento backend without editing default templates?

I am working on creating what I hope one day will be a publicly available Magento extension (this part I mention because it's important to me that I do the "right thing" here). One of the things I would like to do is add a box in the default Magento…
Kevin Mitchell
  • 325
  • 1
  • 5
  • 13
2
votes
2 answers

Magento Email Templates: Blocks not rendering from adminhtml

I fear I've stumbled into unknown Magento territory. I have exhausted what's left of my Googling abilities and have come up short, so I thought I'd try my luck here. Our platform is Magento Enterprise 1.9.1.1. We use an archaic print solution that…
Mike
  • 21
  • 2
2
votes
1 answer

Custom module allows permission only for full admin in Magento 1.9

I have created a custom module in Magento 1.9 and I want to access that module only if I'm logged in on a full admin account, but I want this to be default. If I'm logged in with another role, I don't want to have access at this module at all. And…
Cipryst
  • 223
  • 1
  • 13
2
votes
0 answers

magento 2.0 and 2.1 massaction compatibility issue admin back-end

We have a custom written Magento 2 module that adds an action to the order overview dropdown. Now have we ran into an issue where it would work on 2.0.x but not 2.1.x and up. After a bit of research it is caused by Magento changing an xml node from…
AngelsDustz
  • 64
  • 1
  • 7
2
votes
1 answer

Admin grid columns change after mass action or page switch - Magento 1.9

Problem: My new columns to Coupon grid disappear after AJAX pagination or delete calls. My goal: I want to extend Coupons grid in Shopping Cart Rule edit page by adding some columns. How to: If you create a shopping cart rule and set "Autogenerate…
AzaFromKaza
  • 768
  • 1
  • 10
  • 24
2
votes
2 answers

Display Product Attributes color,size,package in Order Grid Magento

I have created a custom module using "Renderer" in the Order Grid of Magento. I made a file named app/code/local/Od/Ordergridproduct/Block/Adminhtml/Renderer/ProductDetail.php and here is my code:
okconfused
  • 3,567
  • 4
  • 25
  • 38
2
votes
1 answer

Grid column filter not working with two models in magento custom module

I'm working with custom module for the magento backend, in this filter not working when using filter calback! Can anyone suggest me? Thanks! I have tried some codes like this, Grid.php protected function _prepareCollection() { $collection =…
Sathish
  • 2,440
  • 1
  • 11
  • 27
2
votes
1 answer

Magento adminhtml layout update

I'm trying to get a layout in my admin page. If i do a var_dump in my controller (Highor_Plugin_StatisticsController), than i see the dump. This is what i have so far: app/code/local/Highor/Plugin/etc/config.xml
user3858520
  • 21
  • 1
  • 2
2
votes
1 answer

Who called the event / observer in magento?

Eg I have a block that is on the page to edit the purchase order, both the editing page of the order as the "block" passes through the event sales_order_load_after when obeserver the event can not know what they spent for the event, if it was page…
2
votes
2 answers

How to set default value in dropdown of admin grid form in magento?

I am working on Magento 1.7 version. My code is below:- $categoryArray = Mage::getSingleton('lookbook/category')->getOptionArray(); $catId = Mage::getSingleton('core/session')->getCatId(); //it has value 4 …
Neeraj Garg
  • 695
  • 3
  • 17
  • 38
2
votes
1 answer

Magento - Add node and save module config

I try to add a node to the module config like this: $model = Mage::getConfig()->getModuleConfig('lemike_devmode'); $model->setNode('foo/bar/baz', 'qux', true /* overwrite */); var_dump($model); // empty Mage_Core_Model_Config_Element But it does…
LeMike
  • 3,195
  • 5
  • 25
  • 35
1
2
3
11 12