skip to Main Content

Magento2 setValue() of a text field in System.xml

I've created a configuration screen for my Magento2 module, on this file (System.xml) I've an input text field like following: <field id="postback_url" type="text"...> <backend_model>VendornameModulenameModelConfigSourceConfigs<backend_model> </field> I need to insert a default value. This value will the BaseUrl + /some-endpoint How…

VIEW QUESTION

how to fixed admin url in magento

I am facing a error in magento admin url when i write this on my url bar: http://localhost/cogito/admin generate this error on url bar http://127.0.0.1/MGT/cogito/admin/admin/index/index/key/99b1b0dea97323ea1f6571637e3239cae3014dff843b90b335286daf9531dd45/?SID=3cgd7072j3nd8i5n0ur2s6toh0

VIEW QUESTION

Magento2 Settings

When I toggle Client Side Less Compilation and save it on a Magento 2.2.2 site, it throws the following error: 500 internal server error This is the log: [Fri Jul 27 13:13:36.324051 2018] [:error] [pid 20125] [client 5.255.250.135:46655] PHP Fatal…

VIEW QUESTION

Magento 2 InstallSchema method not executed

On my own Magento 2 custom module, I want to install a custom database table. This is the InstallSchema class code: <?php namespace MyVendorMyModuleSetup; use MagentoFrameworkSetupInstallSchemaInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupSchemaSetupInterface; class InstallSchema implements InstallSchemaInterface { /** * @inheritdoc */ public…

VIEW QUESTION
Back To Top
Search