Skip to content

magento man

in admin form field

I have an admin form with a few select fields declared in my _prepareForm method like the example below: protected function _prepareForm() { $form = new Varien_Data_Form(array( ‘id’ => ‘datacenter_action_form’, ‘action’ => $this->getUrl(‘*/*/saveConfig’), ‘method’ => ‘post’, ‘enctype’ => ‘multipart/form-data’ ));… Read More »in admin form field

how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors

im been trying to upgrade magento to 2.4.3 because i like the featured of page builder. i tried cp composer.json composer.json.backup mysqldump -u username -p databasename > mysqlbackup.sql bin/magento maintenance:enable composer require magento/product-community-edition=2.4.3 –no-update or composer require-commerce magento/product-community-edition=2.4.3 –no-update composer… Read More »how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors

Why are various minified JavaScript files missing in backend?

On the backend login page and within the backend itself the following files from https://store.example/static/adminhtml/Magento/backend/en_US/ are not being found (404): jquery.min.js, js/theme.min.js, mage/backend/bootstrap.min.js, mage/adminhtml/globals.min.js, Magento_Catalog/catalog/product.min.js, Magento_Translation/js/mage-translation-dictionary.min.js, underscore.min.js, mage/backend/tabs.min.js, and mage/adminhtml/grid.min.js. The .min.js files do indeed not exist within pub/static/adminhtml, but… Read More »Why are various minified JavaScript files missing in backend?

No response for Form validation

I tried to do form validation for a custom form through class and data-validation but no response from both methods. May I know what is the correct way to do it? app/code/MyModule/Knockout/view/frontend/web/js/custom-component.js define([‘jquery’, ‘uiComponent’, ‘ko’, ‘mage/validation’], function ($, Component, ko)… Read More »No response for Form validation