All Questions
28 questions with no upvoted or accepted answers
4
votes
0
answers
675
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:
$...
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/...
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
0
answers
2k
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']);
...
3
votes
1
answer
86
views
Admin module with as many image slots as user needs?
Something I use a fair deal in wordpress is allowing users to duplicate a field, so i provide one image slot and they can click a [+] button and get another image slot.
I'm trying to make a quick ...
2
votes
3
answers
4k
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]=> ...
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 ...
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 ...
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. ...
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
29
views
my First Admin Page is not shown up
I try to write a own module. After 1 week of searching I hope u can help to go on.
Its a very simple admin page.
module_dir: app/code/famberg/module_afterbuysync/
... Controller/Adminhtml/Settings/...
0
votes
1
answer
87
views
Magento 2: How to display author's name outside the admin grid
I just have learned magento 2.
I have a table ecommage_blog in which there is an author_id attribute (which is the id of the customer that created that blog), so how can I display the author's name of ...
0
votes
1
answer
592
views
Magento 2 - Add custom attribute to custom section admin
I installed my "customsection_adminbackend" module which adds a new menu item in the Magento 2 backend.
For now in this new section there is only a text "Hello world", but I would ...
0
votes
1
answer
618
views
Magento 2 href to Add product link from template phtml
I Have made custom admin page view module, now i want add button there click on which should take user to add product URL .
i tried below but it is not working
<a href="<?PHP echo $...
0
votes
2
answers
2k
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
2
answers
3k
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
1
answer
49
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--...
0
votes
0
answers
2k
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) {
$...
0
votes
1
answer
1k
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
1
answer
933
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 ...
0
votes
1
answer
137
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), ...
0
votes
1
answer
2k
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/...
0
votes
0
answers
16
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
1
answer
139
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 ...
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.
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 ...
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 ...
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 $...