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

loading a module's block for a custom module in magento

I'm getting really frustated about Magento's naming convention. At present, I'm trying to show some "hello world" in the admin section of my module. The block code is located in …
ghostrifle
  • 1,029
  • 1
  • 14
  • 24
0
votes
1 answer

Magento 2 Multi select custom product attribute options not showing

In my custom module, used installData.php to create a custom multiselect attribute. Where i have set the option values from my source class (using Magento\Eav\Model\Entity\Attribute\Source\AbstractSource) which is working fine after installation. I…
Antony
  • 171
  • 2
  • 11
0
votes
2 answers

Hide a group in catalog product?

Please help me if anybody know how this work can be done. I want to hide the website tab in catalog Product, but its functionality should exist. That is, I have made all the check boxes automatically checked,so i dont want to show this tab…
Max
  • 117
  • 4
  • 18
0
votes
1 answer

Magento 2.2.5: Class Factory doesn't exists

I'm after this course https://www.mage-world.com/blog/grid-and-form-in-magento-2-admin-panel-part-1.html but my Magento version is 2.2.5, so it's a little bit different. I create NewsFactory auto by block instead of controller and it's throw this…
fudu
  • 617
  • 1
  • 10
  • 19
0
votes
1 answer

Disable filter in a custom column in sales order grid in Magento

I am using layout handles in adding custom column to my Orders grid. How can i disable the filtering input field? Here is my code: app/design/adminhtml/default/default/layout/company
Lester
  • 3
  • 4
0
votes
1 answer

What's wrong with my event observer?

I coded my event observer to add custom column to my sales order grid and still do not display the column to my website's admin panel? This code is for customizing magento sales order grid. Here is my…
Lester
  • 3
  • 4
0
votes
1 answer

Magento 2 Get Category list in admin tab/main.php

I have created a custom module.Now I want to get categories in drop down in admin. The file is on the following path, app/code/vendor/theme/block/adminhtml/catbanner/edit/tab/Main.php The html is for dropdown is, $fieldset->addField( …
muhammad maaz
  • 77
  • 1
  • 9
0
votes
1 answer

How to get existing value from form to another magento 1.9

I have two different forms , one including user information and the second one have a grid. What I need to do is to get the email from first form to use it in the controller of the 2nd, there is a way or I need to get the value again from database?
javaTodev
  • 59
  • 1
  • 2
  • 8
0
votes
1 answer

How to add foreach result to column grid?

I try to get the foreach result in a grid column (I have the result but I don't how to put it into the column for each category id). My grid.php public function _prepareCollection() { $subcategories = Mage::getModel('catalog/category') …
javaTodev
  • 59
  • 1
  • 2
  • 8
0
votes
1 answer

How to add save button in a form magento 1.9

How can I add save button for each form and not one for all forms (as we have in magento by default)? I want something like that or into the form. I've tried this code $fieldset->addField('yourfield', 'button', array( 'label' =>…
javaTodev
  • 59
  • 1
  • 2
  • 8
0
votes
1 answer

Getting current userlist in adminhtml select

I'm trying to get the current (complete) userlist in a adminhtml select form. I've got the select form and a custom source model. Everything works correctly if I set up a manual Array. However, I've got a hard time trying to figure out how to get it…
0
votes
1 answer

Magento 2 adminhtml - custom block gives blank page

I am creating a backend magento 2 module and when I specify in the layout file a custom block, it will show a blank page with this being added to the system.log [2016-10-19 07:35:35] main.INFO: Cache file with merged layout:…
Francois
  • 1
  • 1
  • 3
0
votes
2 answers

Implement massactions in grid using ui_component magento2

How to Implement massactions in grid using ui_component magento2. I have created my ui_component and need to implement massactions. I have also created controllers for the required paths. But, somehow it is just not…
Abhishek Dhanraj Shahdeo
  • 1,356
  • 2
  • 14
  • 35
0
votes
1 answer

Why is my function not working in phtml file?

I have created a collection.php model and added a addOrderFilter() function, but when I try to call addOrderFilter() in my phtml file, it gives me Fatal error: Call to a member function addOrderFilter() on boolean in…
may
  • 675
  • 1
  • 10
  • 26
0
votes
2 answers

Is there any way to modify this tracking.phtml on magento admin?

When we choose one of the option below, the field 'title' automatically filled with selected value from carrier options. I want to do the same for 'number' field, it would be filled with something when I choose my custom carrier. Is there any way to…
may
  • 675
  • 1
  • 10
  • 26