Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
4k views

How can I get values from a database according to some fieldname?

I have a custom table in my database with three fields ie id a_id and cat_id I have an entry like this in the table. id a_id c_id 2 7 7 3 7 8 4 7 8 5 7 8 6 ...
Waseem's user avatar
  • 813
1 vote
1 answer
235 views

Magento 2.4.6: Getting error "Namespace not defined properly" when compile command running

When I am trying to compile, then I am getting Below error: Namespace not defined properly you can see proper command running here : www-data@robert-php-fpm:/var/www/html$ bin/magento setup:di:...
Amit Dwivedi's user avatar
  • 1,550
1 vote
1 answer
84 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:...
Altravista's user avatar
1 vote
2 answers
119 views

Issue in creating custom module

I have created a custom news module in Magento 2. News module includes admin listing and edit. But it is showing fatal error. Fatal error: Class Namespace\Module\Controller\Adminhtml\Enquiry ...
Deeban Babu's user avatar
1 vote
1 answer
2k views

Magento 2: Is it possible to add additional general/store_information configuration through my custom module?

Reading articles relating to calling store name and other admin fields, this post specifically. I'm creating a module (my first for Magento 2) for my client but want to add an additional field (...
Clive Walkden's user avatar
1 vote
2 answers
3k views

adding new admin page to backend(magento 2)

I can get into the execute() function if I do not run the construct function. but I cannot find the bug in my __construct function. The file is \app\code\Cleargo\Contactus\Controller\Adminhtml\Grid\...
Yau Thomas's user avatar
1 vote
2 answers
2k views

Magento Admin grid problem

I have a magento admin grid module and when I am inside the grid on the admin menu it shows me the header and the add item button but it throws this error Fatal error: Call to undefined method ...
lfelisiak's user avatar
1 vote
1 answer
865 views

Set condition for mass action checkbox visibility in magento

I have a magento module that I'm developing for importing products into magento. I Have a grid where the user can select his products, and import them all (Mass Action). If the user has products ...
Ricardo Fiorani's user avatar
1 vote
1 answer
182 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 ...
Robert's user avatar
  • 2,186
1 vote
1 answer
3k views

Save the multiselect options in database

We created some "Brands" [values] in backend. We have around 10 products in one category with category id = "40". if we open any brand, we are displaying all those category products as multi-...
Baby in Magento's user avatar
1 vote
1 answer
5k views

Load jQuery in admin panel programmatically

I want to load jQuery in admin panel. How can I do this programmatically without creating layout XML files in /app/design/adminhtml/default/default/layout/? Method with layout XML is described in this ...
d3tr5845's user avatar
  • 317
1 vote
1 answer
144 views

Creating Magento Extension For Admin Products

I need some experience-based advice please. Using Magento CE 1.7.0.2. I'm writing a custom extension to store featured products. I need to be able to create simple lists, store them in the database ...
Jongosi's user avatar
  • 11
1 vote
1 answer
3k views

Module Forms - Store Value of addField to a Variable

I have something like in my custom module: $fieldset->addField('orderinfo', 'link', array( 'label' => Mage::helper('web')->__('Order Info'), 'style' => "", 'href' =...
severinolorillajr's user avatar
1 vote
0 answers
898 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 ...
Utsav Gupta's user avatar
  • 1,243
1 vote
0 answers
26 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 ...
Mguru48's user avatar
1 vote
2 answers
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> ...
Sergioh Lonet's user avatar
1 vote
0 answers
104 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 ...
Aish's user avatar
  • 81
1 vote
0 answers
479 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. ...
Slimshadddyyy's user avatar
1 vote
3 answers
1k 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 ...
bestwebdevs's user avatar
1 vote
0 answers
549 views

Magento 2: Custom Module Listing MassDelete Not working [SOLVED] [closed]

When i'm trying to delete all records from Listing, By selecting all. Not able to delete. app\code\Custom\Module\Controller\Adminhtml\Messages\MassDelete.php namespace Custom\Module\Controller\...
Jackson's user avatar
  • 9,969
1 vote
0 answers
191 views

I want post the $url data from controller to modulename/block/adminhtml/sales/order in magento [closed]

config.xml file <?xml version="1.0"?><config> <modules> <Ible_DownloadOrder> <version>1.0.0</version> </Ible_DownloadOrder> </modules> &...
Allamsetti's user avatar
1 vote
1 answer
267 views

Module redirecting back to wrong site after submit button pressed

I am using Moogento's shipEasy module for order processing and after changing my base URL (admin.sconch.com) to be different to my main website's URL (www.sconch.com) there seems to be a small bug in ...
Hugh's user avatar
  • 155
1 vote
1 answer
554 views

layout section in adminhtml.xml not working

I have read the Magento Wiki about the <adminhtml> tag is deprecated and new modules should always use adminhtml.xml instead. But I found that some sections, <layout> in particular, is ...
Vicary's user avatar
  • 185
1 vote
1 answer
62 views

How do I create a module that utilizes a custom DB table? [closed]

I am interested in extending the functionality of a site with a few custom modules (e.g. custom registration form - not a newsletter). I know how I would create these tables in MySQL and then ...
sparecycle's user avatar
  • 1,479
1 vote
1 answer
1k 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 ...
Robert's user avatar
  • 2,186
0 votes
4 answers
2k 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 ...
twan's user avatar
  • 168
0 votes
1 answer
3k views

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

Today I'm using the textarea to fields in my custom module, but I want to improve with the WYSIWYG. How could I use WYSIWYG in a custom field in the admin configuration panel that my module creates? ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
218 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!
Rafael Padovani's user avatar
0 votes
3 answers
361 views

Extending admin order data

I would like to know the best method for adding additional data to the sales order screen. I would like to add an additional line below 'Purchased From' Not sure if I should be editing the templates,...
user1990366's user avatar
0 votes
1 answer
586 views

Show admin action with out login in

I need to show a page with out having the admin user log in. They need to move from http://local.mage.dev/index.php/admin/ http://local.mage.dev/index.php/admin/wsu/requestaccess/ With out loggin ...
Quantum's user avatar
  • 553
0 votes
3 answers
2k views

Extension for photo gallery and slider

I've looked at a few extensions out there but most are overkill or don't quite fit. Keen to create a simple extension instead if someone wants to point the way. Admin interface to easily add photos ...
Jacob Dorman's user avatar
0 votes
2 answers
6k views

completely remove admin module from Magento

Ok, so several times now I've had magento be a utter b**** when it comes to updating my custom modules and it would save me an awful amount of time if i could just remove them completely. Important to ...
Chris Morris's user avatar
  • 1,517
0 votes
2 answers
1k 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 ...
Robert's user avatar
  • 2,186
0 votes
2 answers
920 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'])...
Robert's user avatar
  • 2,186
0 votes
2 answers
129 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
Rafael Corrêa Gomes's user avatar
0 votes
2 answers
41 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.
Subhajyoti De's user avatar
0 votes
2 answers
1k views

Enabling a module for the first time via admin panel

I have created a very simple module. I can see it listed as disabled when I check via cli php bin/magento module:status, but when I go to admin panel Advanced -> Advanced I do not see it listed ...
Mostafa Talebi's user avatar
0 votes
1 answer
835 views

Create a new dropdown field in admin side custom module and its options should come from another custom module's table?

I am using Magento1.9.2.4 I want to add 4 field one of them id selectbox. And I want to load the options for that from another custom module's table, How can I achieve this. And yes I want to save the ...
Yogita's user avatar
  • 784
0 votes
1 answer
1k views

how to use tinymce to admin custom module in magento2?

I have custom module with custom-template.phtml. i custom-template.phtml i want use tinymce for tags texarea. i tried code. <input type="button" class="action-default scalable" onClick="...
xanka's user avatar
  • 2,114
0 votes
1 answer
98 views

Can i customize the backend to the following features?

I am a newbie. I am planning on opening a greeting card shop in which the users can customize it. So they will get fields depending on the type of card they choose. Some of them, they just need to ...
Suthan Bala's user avatar
0 votes
1 answer
3k views

Magento admin not displaying fully after module installation

Ok So I've had some issues with removing modules from Magento recently, so I decided to scrap what i had before and start again with a slight name change to the module. So i created the module, set ...
Chris Morris's user avatar
  • 1,517
0 votes
1 answer
53 views

Can't access Magento 2.2.1 admin,

Can't access Magento 2.2.1 admin, Stores > Configuration, anyone have this error before? How I can fix this. Thank you 1 exception(s): Exception #0 (Exception): Notice: Undefined offset: 2 in /home/...
Robert's user avatar
  • 2,186
0 votes
2 answers
2k 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 ...
Robert's user avatar
  • 2,186
0 votes
2 answers
72 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. ...
Robert's user avatar
  • 2,186
0 votes
1 answer
215 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=...
Robert's user avatar
  • 2,186
0 votes
2 answers
178 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-&...
Jon Carl Maramara's user avatar
0 votes
1 answer
1k views

Load phtml layout for custom module

As with many previous questions, I am unable to load my custom layout as a page. Sorry if I made some noob mistake, but as you may know, as the frustration grows, less accurate the code gets... So, ...
Maxinne's user avatar
  • 101
0 votes
1 answer
99 views

'Mage_News_Helper_Data' not found in magento [closed]

Fatal Error :Mage_News_Helper_Data' not found in magento directory/app/Mage.php on line 547 I created a new module for mage_news, eventhougth it shows the error. What do I have to do?
Ganesh's user avatar
  • 1
0 votes
1 answer
607 views

Layout of module for Admin is not loaded

my config.xml is <?xml version="1.0"?> <config> <modules> <Octane_SMTP> <version>1.0.0</version> </Octane_SMTP> </...
jaidatt poonia's user avatar
0 votes
2 answers
875 views

Apply Customer Group Filter To Banner Module

I am currently looking to build a banner module that will allow a Magento admin user to upload banners to appear on their home page and then select what store views they want these to appear on as ...
Ryan's user avatar
  • 33