All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Magento 2 - 401 controller in magento admin

I currently have a module that adds a field to the admin cms page. I've written a controller and on input change I want to ajax this controller. This is the simple controller I added to start testing:...
0
votes
0answers
33 views

Magento 2 custom config form in admin panel is empty

I followed this tutorial https://www.magestore.com/magento-2-tutorial/how-to-create-an-admin-form-look-like-a-configuration-page-magento-2-configuration-p3/#3createa_layout_file_with_url_path. It ...
0
votes
1answer
24 views

Magento 2 Custom Admin module 404 Not Found

I have been struggling with this error all day, I have tried all the solutions on Internet, but it keeps showing 404 Error when I click the link on my custom menu. Here is my code /app/code/Vendor/...
1
vote
1answer
54 views

How to Create a excel file in custom module?

I want to create an excel format file for download in Magento 2 <item name="buttons" xsi:type="array"> <item name="add" xsi:type="array"> <item name="name" xsi:type=...
0
votes
0answers
21 views

Magento 1.9 add custom field to multiple templates

I have a custom field that I would like to add to all areas in the admin panel where you can change the quantity of a product. I currently am of the impression that I have to rewrite each template ...
0
votes
2answers
57 views

Integrate js with button on uiComponent xml

I have the following custom form in my admin html and I have tried to insert a javascript function on my custom button click but the page being in a infinity loading loop. view/adminhtml/...
1
vote
1answer
119 views

Magento 2 Custom extension admin grid returning blank

I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture. I already ...
0
votes
2answers
143 views

Magento 2 override admin product-gallery.js file in custom module

I have created one custom module named Hs_Mageenhancement and want to override below admin js file. magento2/vendor/magento/module-catalog/view/adminhtml/web/js/product-gallery.js I have created ...
0
votes
1answer
124 views

Adminhtml form custom renderer - blank page - Magento 1.9

Added custom element to my adminhtml form. It works perfectly fine on my developement site but it won't on production .... the only difference was on dev i made it as a module while on production I ...
0
votes
0answers
30 views

Magento 1.9 admin menu is going to 404!

I am using custom module to getting tax report. It is working fine on demo site. Below is the etc/config.xml: <?xml version="1.0" ?> <config> <modules> <DS_News> ...
0
votes
2answers
202 views

Have a option to enable/disable the module. I need to load admin page css when my module is enabled. No need to load css while module is disable

I write css in path app/code/my/module/view/adminhtml/layout/default.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/...
0
votes
1answer
44 views

Admin Module not Working

I'm trying to create a super simple Admin module that will add a button to the Cache Management page. So far I have created the following files. Gamma/ExtendedAdmin/registration.php: <?php \...
2
votes
1answer
1k views

Add custom textarea field to product form (admin)

I want to add a custom product attribute to the product form in the admin area. https://devdocs.magento.com/guides/v2.2/howdoi/customize-form-configuration.html and https://devdocs.magento.com/guides/...
2
votes
1answer
286 views

static files deleted after php bin/magento setup:upgrade

While setting up new module and after running php bin/magento setup:upgrade it started to clean cache and file and deleted all front end css and adminhtml css and all visual files. How Can I prevent ...
1
vote
0answers
59 views

How to get the selected Order(s) so i can use them for building a form in custom grid?

I am new to Magento and development in in general. I am working on a custom module. I did some tutorials and a lot of searching to help me get where i am. But now I have the feeling I am lost ...
-2
votes
2answers
53 views

Class Factory doesn't exists

I am 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 its a little bit different. i create NewsFactory auto by ...
2
votes
1answer
1k views

Magento 1.9 add layout and template to custom module in admin

I am new to Magento. When I try to create a custom module that shows two tabs on the main page with the option to change titles, backgrounds, and colors, I was successful in adding the module's tab ...
0
votes
1answer
48 views

How to Set Default Dropdown value in magento1 custome form at admin side

$fieldset->addField( 'attribute_magento', 'select', array( 'name' => 'attribute_magento0', 'container_id' => 'attribute-magento0', ...
0
votes
1answer
52 views

Extending Adminhtml blocks class _prepareCollection

I am trying to override a adminhtml block and I created all files accordingly. The problem is that it does not have any effect. My files are as follows: app/code/local/Grando/Groupfilter/etc/config....
0
votes
0answers
340 views

How to Upload image in magento 2 using UiComponent

I am trying to upload Images with a custom module in Magento admin <field name="recipes_image"> <argument name="data" xsi:type="array"> <item name=...
1
vote
3answers
90 views

Magento 1.9.2.1 module without package name is showing 404 after SUPEE-6788

I am using Magento 1.9.2.1 and after installing SUPEE-6788 I have fixed all of the affected modules as described here. All of my modules (That has a package directory eg: "app/code/local/{...
0
votes
2answers
797 views

Uncaught TypeError: $el.ColorPicker is not a function Magento 2

Magento ver. 2.0.18 I created a custom module in backend there is color picker options. for this i used this link color picker answer of @EmizenTech it works perfectly but some time it gives and if ...
0
votes
1answer
1k views

How to do work with custom module Admin Panel

I want to attach my template and block to custom module but how to manage it? I want to just print simple hello there with proper layout in admin panel these are my files. app\code\local\Matrid\...
2
votes
3answers
493 views

Magento2 - missing adminhtml custom block after upgrade to 2.2

We had a custom block injected in the adminhtml section. This block is managed in a module (let's call it Vendor/Module) & it was working fine in Magento 2.1.*, following this methodology magento ...
2
votes
0answers
246 views

Show custom Admin Messages In configuration section custom module Magento 1.x based on API response

I created a custom module which fetch data using third-party APIs. In admin Dashboard after module installation. I want to check few things form API( I am getting everything from API this is done , ...
1
vote
2answers
32 views

Admin Module not appears

I'm doing a admin module, but I do not get module tab appears in admin menu. Here is my config.xml inside Company/LeadPEC/etc/config.xml <?xml version="1.0"?> <config> <modules> ...
0
votes
2answers
152 views

Cannot save Customer attribute data to DB in adminhtml

I need to add custom attribute for each customer. So admin can apply Customer Type for each customer. I've created module for this. It adds a select dropdown at the backend/adminhtml. but I cant save ...
0
votes
1answer
37 views

what was the correct way to update file for admin html module-backend?

i want to change in file location : /var/www/html/vendor/magento/module-backend/view/adminhtml/templates/media/Uploader.php but its core file. I'm changing MAX_IMAGE_HEIGHT and MAX_IMAGE_WIDTH in ...
2
votes
0answers
17 views

Layout of magento admin module changes

i'm creating a module for magento admin and it has so many fields, but as seen in image attached, i want field of price 2 to be on next right to price 1 field. can you anyone please suggest the ...
0
votes
0answers
348 views

Magento 2 How to add DataTable script in custom module

I need a custom Grid in Magento2 admin panel, so i found data table code here. Please help me, how to add this data table code in my custom module. Downloaded plugin files: Retailers/Catalog/view/...
0
votes
1answer
334 views

Disable filter in a custom column in sales order grid

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 <?xml ...
1
vote
1answer
461 views

Can I add extra fields to the a Magento 2 static block?

I'd like to add something similar to a category drop down to Magento 2's static block. Is this possible, if so can somebody set me off in the right direction?
1
vote
1answer
74 views

Custom module redirected to home page

C:\xampp\htdocs\m1\app\etc\modules\Prasad_ImageSorter.xml <?xml version="1.0"?> <!-- /** * @category Prasad * @package Prasad_ImageSorter * @author MaddyBoy */ --> <...
0
votes
2answers
391 views

Magento 2 - HTML on the tag Comment in the custom module

How to add html on the tag comment in my module like this image?
0
votes
1answer
392 views

Template for custom admin panel tab

I've created a module which creates a custom tab in the admin panel but I've not been able to display the required data.` This is my config.xml file Path: app/code/community/Rohan/...
6
votes
1answer
959 views

How to add a color picker field in Admin form?

How to add color picker in my custom module of Magento 2 admin panel form? Not in System Configuration.
1
vote
1answer
5k views

Magento 2 Fatal error: Uncaught Error: Call to a member function setSortable() on boolean

I am getting below error while loading admin grid of my custom module. Fatal error: Uncaught Error: Call to a member function setSortable() on boolean in D:\xampp\htdocs\magento2\vendor\magento\...
0
votes
0answers
43 views

Custom Admin module: empty POST on create, not on edit

I created a custom admin module. On create, there is only the form_key in the post. So it saves an empty line in my database. On edit save, everything is fine... Anyone has a hint ?
7
votes
2answers
7k views

Magento 2: How to override Adminhtml “Shipping & Handling Information” Information

I'm following https://ranasohel.me/2015/10/02/how-to-overwrite-sales-view-order-phtml-file-in-magento2/ I would like to override magento\vendor\magento\module-shipping\view\adminhtml\templates\order\...
2
votes
1answer
116 views

IsSecureMode di.xml frontend / backend don't work

Magento 2.0.10 and PHP 5.6.27 i have declare a etc\frontend\di.xlm en frondend whitch <type name="Jbpevasion\Cartebleu\Block\Info"> <arguments> <argument name="data" xsi:...
1
vote
1answer
203 views

Overriding a core admin block not working - to add carriers

I am new to Magento and i'm trying to override Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Tracking in a module to add extra options for carriers in the shipping and tracking section and i cant ...
0
votes
1answer
119 views

Magento doesn't add values to input fields in custom module edit page

I am creating a custom magento module for the backend part, everything is working fine so far, except the fact that when I want to edit an item, on the edit page the form is not populated with values. ...
2
votes
2answers
996 views

Why ACL is not working for new Action

I have create a custom admin action for a custom admin controller and have allow to this action for acl. But till now, ACL is not working Controller: <?php class ...
0
votes
2answers
1k views

show .phtml file in admin custom module

Hi i see this question a few times here but i can't solve my error, i got well until the blank page in my admin custom module, I follow this tutorial. So can somebody tell me the right direction i got ...
5
votes
0answers
127 views

Magento 1.9x - Include Dataflow Profile Functionality for Import operation into my custom module

I have created custom module for import operation by uploading csv, xls and ods files. It is working good, but now i need to include Dataflow Profile Functionality into my module. That means I have ...
1
vote
3answers
5k views

Magento 2 how to make go back button on custom admin page?

I have a custom module with an preview of orders with custom functionality. But on that preview page i want a 'Go Back' button to go back to the main overview of orders. Is there a way to add such a ...
1
vote
1answer
1k views

Adding data to custom module grid using FK relationship

I've created a new module with a number of foreign keys to base magento db tables, i want to add data from the magento table (customer_entity) into my custom grid. I have a FK relationship connecting ...
0
votes
1answer
2k views

Magento 2 - Add custom block to admin order create form

I need to add new block to admin order create form (in totals section). First I tried to do it by adding sales_order_create_index.xml to my module and adding my block to <referenceBlock ...
0
votes
1answer
161 views

Magento rewrite Mage_Adminhtml_Block_Catalog_Product_Grid

I'm doing a rewrite of: Mage_Adminhtml_Block_Catalog_Product_Grid I already done most of the job on my custom module. The function getStoreRestrictions() returns an array of all available stores view ...
0
votes
1answer
416 views

How to remove default magento header from my custom tab - Adminhtml

I have created two tabs on my own module. when i try to add content it shows with header, i want to remove this header. hope anyone suggest some ideas here i have attached screenshot. in my Tabs....