All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
94 views

Magento 2.3.2 Invalid security or form key. Please refresh the page error while accessing custom back end module?

I have created custom admin module in magento 2.3.2. when I try access the module it is showing "Invalid security or form key. Please refresh the page" Can you please help me on this ? as per ...
1
vote
0answers
32 views

Magento 2 How to get category tree with checkbox to select only one category?

I want to call the categories into my custom admin form for admin. How can I call that? I want to show all categories into my custom form in admin and it will allow selecting only one category. I ...
0
votes
0answers
29 views

Magento 2 show pagination in admin custom module

I have created a module in which admin form I have shown product collection I want to paginate it. I have used a block and in which I have created Product collection. <?xml version="1.0"?> &...
0
votes
0answers
109 views

Magento 2 How to add grid/phtml file on Slide out panel [ popup modal ] in custom grid action?

Here is the link of what I expected to do in my custom module http://admin-actions-log-m2.demo2.amasty.com/_router/redirect/admin-actions-log-m2/index.php/admin/amaudit/actionslog/index/ just open ...
0
votes
1answer
75 views

Magento 2 Get data to admin UI Form without key and collection

Is there a way to get data from a DataProvider to my UI Form component, without having a collection or a key? My DataProvider currently only has a "getData" function and the form is rendered, but I ...
0
votes
0answers
28 views

Admin tab refresh Issue

I have created a custom tab in magento2 Admin in my custom module. On click of this tab (It is the 4th tab) in the section area I have added a grid & a form. My issue is when I search any result ...
0
votes
2answers
504 views

Magento 2.3 - Product stock alert not display

I use Magento 2.3 and I create a custom theme based on Luma theme. I enable the Magento_ProductAlert module from backend but the message "notify me when this product is in stock" is not display in ...
0
votes
0answers
83 views

display button toolbar on custom admin page

I'm working with Magento 2.3. I have a custom admin page which I made following this tutorial - https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage....
0
votes
2answers
410 views

Magento 2 - Disable some modules per store view

I have setup two stores in Magento 2.2.6, each store have their own theme and url address. In one store I have Porto theme installed in the second store I have other theme. How I can disable for ...
1
vote
0answers
19 views

Magento2 : I want to use admin theme from magento custom module controller

How can I use this url as examplhttp//localhost/m2/seller/account/dashboard (which is from my custom module route/controller/action ) to access admin like dashboard. i.e : I want to use admin theme ...
2
votes
1answer
162 views

Error appearing when I try to access products

When I try to access any of the products or add a new product in the admin panel I get an error usually along the lines of: There has been an error processing your request Exception printing is ...
0
votes
2answers
620 views

How to add phtml file at edit tab of Magento 2 custom module in admin?

I have created a custom module. When we click on the admin grid to edit, it opens edit page. In that I am showing tabs. When I click on that tab I need to show template file. If you see the below ...
0
votes
1answer
38 views

Can't add custom configuration options for module in backend - 404 page not found

I was following different tutorials from the internet and from books, but none of them works. Let's follow this tutorial (https://code.tutsplus.com/tutorials/custom-back-end-configuration-in-magento--...
1
vote
1answer
82 views

Magento 2 - How I can remove default extensions

I want to remove some Magento 2 components like: Magento_Analytics, Magento_Braintree ... I just want to have just a product management system. How I can remove this modules completely, files and ...
0
votes
0answers
592 views

Magento 2:- how to show selected value in ui components?

how to show selected value in edit form in Magento admin using UI component many-to-many relation public function toOptionArray() { if (!$this->_options) { $...
1
vote
2answers
2k views

Magento:2 How to Image upload in custom module

Image upload working fine in tmp folder, then store in DB. I want to after saving data image stored in the base folder pub/media/events var_dump($data); " ["events_url"]=> array(1) { [0]=> ...
7
votes
1answer
231 views

Best way to replace the die function?

I have the following Magento code : protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream') { $response = $this->getResponse(); $response->...
1
vote
1answer
53 views

Magento 2 - Creating admin page error 404

I have create an admin page but i get 404 error. What i'm wrong? etc/adminhtml/routes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
2answers
486 views

Magento 1.9 - Resize images

I create a custom module in Magento 1.9 to upload some images. But I want to have this big images as a thumbnails too, how I can made a resize of the big images? if(isset($_FILES['image']['name'])...
0
votes
2answers
57 views

Magento 2.2 - I need little help with install one module

I try to add this new module in Magento 2.2.2, but after php bin/magento setup:upgrade nothing happens. I try to enable this module in the app/etc/config.php too but is the same. I can't install it. ...
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> ...
2
votes
1answer
238 views

Magento 1.9 Adminhtml Form Block not visible

This question is asked for many times, but none of the solution worked for me. I tried referring core modules to correct the errors in my config files, but it helped me little. Following are the code ...
0
votes
1answer
484 views

Magento 2 custom module - get media base url

I use this module and I create a image upload field in my custom module. Everything is okay but I want to get the full url of image in the frontend. How I can do this? if I use this in the Data.php ...
0
votes
1answer
82 views

Magento 2 custom module admin field output must be true

I want to add a filed in the Magento 2 admin panel, this field must return in the frontend True if in admin is selected Yes. I try to add this in the system.xml: <field id="do_something" translate=...
1
vote
0answers
68 views

Magento 2 Resource Model not working [closed]

Di.xml <?xml version="1.0"?> <!-- /** * Mageplaza_HelloWorld extension * NOTICE OF LICENSE * * This source file is subject to the Mageplaza ...
0
votes
1answer
45 views

MultiStore with Independent Admin

I would like to know if there is a way, maybe some module, that allows me to have Magento 2 installation with several stores where each store has an independent Admin Login. Thanks!
4
votes
0answers
1k views

How to create a custom Report in Magento2 [closed]

How to create a custom Report in Magento2. Please provide any sample code / link.
0
votes
1answer
20 views

How to append module url to an area?

So I have a module (Menu) that I built following a tutorial and I want to treat it as an area. I then want to build other modules (I have Magento's Hello World module currently integrated for testing) ...
6
votes
3answers
4k views

How to solve admin grid error?

I am getting this error in admin custom module of Magento 2. Something went wrong with processing the default view and we have restored the filter to its original state. admin grid error.
1
vote
0answers
252 views

Magento 2 - Create Admin Grid and show Custom Module list with Enable/Disable option

I have been working on custom module in Magento 2 which will perform some kind of calculations on frontend. Now I need to port those modules into Admin, where user can see menu and module list. ...
2
votes
3answers
83 views

Make custom theme in magento [duplicate]

I am designing a store and finding it hard to customize a theme. I have worked on html only but not on xml so please ignore my mistakes. Is it good to make your own-theme or should i stick with the ...
0
votes
2answers
125 views

“Save and Continue Edit” button is not working if it is creating quote

Why Cant I click if im creating a new Quote, but if the will edit the save quote, it will be functional. Here is my file code. public function __construct() { parent::__construct(); $this-&...
0
votes
1answer
364 views

Magento 2 hide section in admin panel

How do you hide a default magento 2 config section in the backend (Admin Panel)? For example I want to hide the "Mail Sending Settings" section located in Stores->Configuration->Advanced->...
0
votes
1answer
717 views

Custom Module Displays Blank Page

I am trying to add my own module to the admin in version 1.x but I'm getting the blank page when I try to open the module This is what I have managed to achieve so far; My module appears as a ...
3
votes
0answers
978 views

How to upload multiple images/files in magento2 custom module backend?

I have uploaded single image successfully by below code. $uploader = $this->_objectManager->create('\Magento\MediaStorage\Model\File\Uploader',['fileId'=>'image_photo']); ...
0
votes
1answer
110 views

Binding Click to select widget in Admin Panel

Has any of you successfully binded click to admin panel select widget? Or have idea how to? So far I've successfully binded click on admin panel button widget (I've added code in its action method), ...
2
votes
1answer
834 views

Magento2:How to add a custom button that sends few edit form fields via ajax to call to an API to populate its response in another field?

How to implement a custom button in edit form page that takes few edit form values,sends to ajaxURL and populates some API response in another field on same page in magento2?
0
votes
3answers
1k views

Magento module access denied for user with custom role

I have a module 'BlogMate' which is only accesible for users that have access to everything. Even when I change the role so the user can't access a completely unrelated part, the module gives an ...
0
votes
2answers
466 views

How to extend the grid in the form?

I've got the grid in a form but it's in the middle and doesn't take all space forem. How can I do it? <?php class Ns_Thorleif_Block_Adminhtml_Commerciaux_Edit_Form_Renderer_Fieldset_Grid extends ...
6
votes
2answers
8k views

Magento 2 : How to solve the message “Character content other than whitespace”?

I've received that message below when I try to reset my admin password using the Admin panel, I've my custom module installed. I see this same message on a white screen when I try to access using the ...
0
votes
2answers
110 views

How to set many extensions in the same tab in Magento 2 admin panel?

I'd like to create many extensions using the same tab like this sample on the image below, what I need to do in each extension to keep at the same tab? Stores > Settings > Configuration
0
votes
1answer
445 views

How to add an icon in my extension tab on the admin panel in Magento 2?

I'd like to add an icon like this image below, my custom module creates a new tab on this same route Stores > Settings > Configuration. So how can I add an icon like that red? Thanks
0
votes
1answer
2k views

How to add WYSIWYG functionality on my custom Magento 2 module?

Today I'm using the textarea, but I want to improve with the WYSIWYG. Thanks
0
votes
1answer
505 views

Magento 2 : Invalid block type while creating custom grid in backend

I've been trying to create custom gird in magento 2.0.11 but it keep returning Invalid block type: This error occurs while executing the file Tomrain/Appcustomizer/Block/Adminhtml/...
4
votes
0answers
436 views

Magento 1.9 : Add form field to Admin Credit Memos

I need to add custom dropdowns to the Credit Memo create form. I read that you should be able to add a simple field without having to rewrite core code. The following line fails in the Observer: $...
0
votes
2answers
35 views

How to get module name used to show option on admin menu

Hi I currently have a very peculiar problem. Please check the image below. I dont know from where the customer group is coming . I want to find a way to remove this block. Please help me.
1
vote
3answers
3k views

Magento 2 - How to create a custom module with admin config?

How could I create a simple module to Magento 2 with admin configuration, like Porto theme or Amasty modules? Store > Configuration
0
votes
0answers
15 views

Magento Extension for vendor verification

I'm developing an extension for vendor verification. What i want to develop is to get input from vendor i-e token and validate that input through curl response if the response matches the token then ...
0
votes
1answer
123 views

Adding Custom Attribute to Admin Users - Magento 1.7

Currently in creating Admin Users we collect: Username, First Name, Last Name, Email, Password, Password Confirmation I would also be interested in adding Address as a field but am not sure how to ...
1
vote
3answers
784 views

Resolved - Admin Grid Redirects to Front End Page Instead of Backend

I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end. http://alanstorm.com/magento_admin_controllers/ Can anyone help me ...