All Questions
131 questions
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 ...
0
votes
1
answer
531
views
Magento 2: How to repurpose the admin product image uploader?
Using 2.1.3, I'd like to add an image uploader to a custom admin module I'm building.
I've gotten as far as copying vendor/magento/module-catalog/view/adminhtml/web/catalog/base-image-uploader.js to ...
1
vote
1
answer
890
views
Value is not save in backend in magento2
I am using Magento 2.1.0, and i created two customer attribute, it succefully created in backend, and i am that in database, customer grid and customer information page.
but when i enter any value ...
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 ...
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 ...
0
votes
2
answers
760
views
How to show bundle products on custom module admin grid in magento 2
How to show only bundle products on custom module admin grid (not in admin form tabs) in magento 2.Can you please anyone help me in this.
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
...
4
votes
1
answer
2k
views
Magento 2: Fatal error: Uncaught Error: Call to a member function getId()
After adding custom module on Server. It's giving below error
Fatal error: Uncaught Error: Call to a member function getId() on null
in
/var/www/html/magento/vendor/magento/module-backend/Block/...
0
votes
1
answer
603
views
Magento error when creating a product programmatically
I am creating an admin module where the user import's a .xls file in magento, then the .xls file can be executed and the data inside has to be imported into the products table.
This is the error I ...
0
votes
2
answers
243
views
Categories are not appearing when click on Manage Categories showing Error Source model in the Admin Panel
I'm into big trouble today and for the last 24 hours I'm trying to fix it up with one of my production site. I had uploaded a theme but theme didn't work as expected so I deleted the theme and all its ...
2
votes
2
answers
1k
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 ...
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\...
2
votes
1
answer
955
views
Magento 2 custom notifications
am trying to insert custom notifications into adminnotification_inbox table as per core module Magento-AdminNotifications approache but am't able to insert custom notifications.
Code is in below
...
3
votes
2
answers
389
views
How to add custom entity from admin in magento
I am working on a project where I need to add a custom user from the magento admin panel. This user cannot purchase the products. He can only login to his section and write reviews on products or ...
0
votes
1
answer
67
views
Custom Extension for Email Reminder
I have developed Magento website version 1.9.2.4. Now i want to create custom extension for email reminder which provide configure two field.
Hours before email is sent
Email address(es) to send ...
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-...
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 (...
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="...
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\...
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, ...
1
vote
1
answer
82
views
Google analytics restrictions for store owners
I'm doing freelancing for a client, he owns a Magento website. He has different stores, each store owned by a different owner. He wants to allow some stores to have access to gooogle analytics for ...
2
votes
3
answers
3k
views
Show customers last login in customer grid
Im trying to show the customers last login in the customer grid. (with data from the log_customer table)
To accomplish this, i created a Module with the neccesary Files.
With the help from these ...
3
votes
3
answers
4k
views
Custom module menus are not showing in another user account
My custom module is not showing its menus in another user role account.
Here is the adminhtml.xml--
<?xml version="1.0"?>
<config>
<menu>
<kartparadigm_storecredit ...
0
votes
1
answer
190
views
How do I access the store's information from within my custom module
class Index extends \Magento\Backend\App\Action{
/**
* @var PageFactory
*/
protected $resultPageFactory;
/**
* @param Context $context
* @param PageFactory $...
4
votes
1
answer
4k
views
Magento 2: How to add a browse button to upload file in admin section?
Working on Magento 2 custom module implementation and want to add a browse button to upload a file in admin form.
I have gone through the
Magento2 : Admin module Image upload code to display form
...
3
votes
3
answers
5k
views
Custom admin backend module page in Magento 1.x - blank page (layout not loading)
I am trying to follow http://alanstorm.com/magento_admin_hello_world_revisited tutorial and setup a custom admin module in magento 1.9.x.
The downloadable boilter plate http://alanstorm.com/2013/...
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?
2
votes
0
answers
475
views
How to build a custom image gallery in an admin form in magento2? [closed]
I'm in the process of building a custom module to best implement the image management portion.What I want is this:
2
votes
2
answers
4k
views
Magento2 - Custom Admin Module - UI Form Component showing blank page
I created the Grid of my custom module successfully with Grid UI Component. Now what I want is, when edit action is selected for any row in the grid, it should open a form. I am trying to develop this ...
3
votes
1
answer
1k
views
How to redirect my custom module url after admin login
What I want:
Admin should redirect my custom module url('adminhtml_module1/testimonial/index') instead of dashboard page after successfully admin login.
Any idea ?
How can I do this ?
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>
&...
3
votes
1
answer
5k
views
Add new field in configuration Magento2
I try create custom module config in magento2. This code add field productzoom
Source file: Xyaddons\Productzoom\etc\adminhtml\system.xml.
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
4
votes
1
answer
2k
views
Module disabled in app/etc/modules is still showing in admin in Disable Modules Output
I have changed the active parameter from true to false in a module's app/etc/modules/Namespace_Module.xml file, and flushed the cache. I've also logged out and then in again.
However, the module is ...
27
votes
11
answers
37k
views
How to disable Magento 2 reviews
I'm trying to disable the Magento 2 product reviews feature.
I tried Disabling the Module at the Magento 2 admin Stores\Advanced\Advanced\Magento_Review but the reviews tab on each product is still ...
0
votes
0
answers
61
views
Custom user can't access custom modules [duplicate]
I created a custom module in magento 1.9 which is working fine from the admin part and when I give permission to another admin user to access my module it is visible on top menu but it is showing "...
4
votes
1
answer
358
views
Magento ACL recursive permissions?
I have a module that adds a new menu in the backend.
I have the acls defined and they work:
<acl>
<resources>
<admin>
<children>
<...
2
votes
1
answer
2k
views
Add Layout To Custom Module's Admin Area
I have created a custom module in Magento.
The idea of the module is to provide the ability to report a product.
I have configured the front end and that is all working fine.
The basic idea is that ...
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>
</...
2
votes
1
answer
521
views
Custom Report extending another Report
I used the following project and created a custom report: https://github.com/technodelight/magento_custom_reports_example
I changed stuff in the report. mainly there is another table joined to the ...
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 ...
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 ...
0
votes
1
answer
665
views
Adding a grid/table inside grid in Magento Admin
I'm developing a custom extension for my client. There are two tables which hold the complete data.
primary_table
id_primary | name | age | image
===========|======|=====|===================
1 ...
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 ...
1
vote
1
answer
2k
views
How to set the path in form.php for admin configuration to view the image
I am uploading images in my module using the folowing code at:
\Block\Adminhtml\Visualcolor\Edit\Tab\Form.php
$fieldset->addField('image', 'image', array(
label' => Mage::helper('visualcolor'...
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 ...
3
votes
1
answer
2k
views
How to add a saveAndContinueEdit type button in admin view order?
I have created a module to implement a new product option type.
This product option can be configured from the admin view order page :
and for each product that has this option, I have a radio button ...
1
vote
1
answer
350
views
what should be the module name while adding menu in adminhtml
I've created a module which I named it in CamelCase like MyCustomModule. I've just started it as a little application and wanted to add a menu in admin for that the adminhtml.xml code is
<menu>
...
0
votes
1
answer
2k
views
Getting 404 errors in admin from a module
Im using this module. In admin i have in the top menu two items:
Add new testimonials and Manage testimonials.
When I clicked on this two im getting a 404 page.
this is indexController code :
class ...
3
votes
4
answers
11k
views
Invalid login credentails - Magento Connect Manager / downloader
I have some problem! Invalid login credentails. See https://i.sstatic.net/LsIIQ.png
History:
I transferred a complete archive folder magento of my site (htdocs - magento.tar). Moved from one stack ...
36
votes
6
answers
7k
views
How to create an EAV entity?
How to create an EAV entity?
This is a question that pops up a lot on the web. There are some good blog articles that explain how to do that, but none of them are satisfying for me.
So I decided to ...