All Questions

Tagged with
13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
4answers
4k views

Magento 2 - Backend custom module 404 error

I'm trying to create my custom module in the back-end, I followed a lot of tutorials, but I continue to get 404 error when I try to access to my controller. The only thing that work fine is the menu ...
2
votes
0answers
179 views

Syntax for overriding config.xml module configuration with config.php in magento2?

I have a module MyCompany_ExampleModule. Its etc/config.xml file: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/...
2
votes
1answer
63 views

module.xml active attribute

Sometimes in module.xml the attribute active="true" is used but I could not find out what difference it makes to use it or not. <module name="xxxx" schema_version="0.0.1" active="true"/>
1
vote
1answer
101 views

Magento 2.1.7 custom module UpgradeSchema not adding column

I'm not able to add new column to existing table UpgradeSchema.php: namespace Company\Module\Setup; use Magento\Framework\Setup\UpgradeSchemaInterface; use Magento\Framework\Setup\...
1
vote
0answers
46 views

custom XMl works well on dev machine but doesn't work properly on server

Having a strange issue on custom created modules layout xml in 2 different environments. On dev machine all created xmls are getting loaded and executed but when pushed code on server none of the ...
0
votes
1answer
54 views

How to override or extend etc/view.xml file in custom module in Magento2?

I would like to override or extend some of gallery setting(view.xml) and catalog image size changes with my custom module. I have tried to override in app/code/<vendor>/<module>/etc/view....
0
votes
1answer
114 views

magento 1.9 override core block template

I edited these files but I cannot override the default.phtml file, it doesn't work, what's wrong with that? Config.xml <?xml version="1.0" encoding="UTF-8"?> <config> <modules&...
0
votes
1answer
361 views

Completely Disable Module - Magento 1.9

I am trying to disable a Magento programatically.For just trying I added the following code to myadmin header.phtml. // Disable the module itself $moduleName="Thycart_Customcheckout" $...
0
votes
0answers
195 views

layout xml does not load

I have a module with below details, for some reason layout xml files does not load. I can make this out, because the js and css mentioned in the layout files are not getting loaded. /var/www/html/...
0
votes
1answer
102 views

What is Mgt_Base module?

I was hunting for the cause of some SimpleXMLElement errors in my log when I found out the culprit was some module in app/etc/modules called Mgt_Base. The errors showed up when I accessed the ...
0
votes
1answer
101 views

Loading Javascript file when module load

I am developing custom Module in Magento 1. Now I would like to load my module specific JS file when then module enabled. In this regard I used below xml code in a separate xml file named as module ...
0
votes
1answer
117 views

Serving a different product page for certain products with router

I've developed a module that sends some product pages to a product customization wizard. I've used getProductUrl() to change the links to point to the customization URL. http://mywebsite.com/designer/...
0
votes
1answer
523 views

How to add js file to admin category edit via xml?

I have created a module and I am trying to include a custom js file into the category edit page. In my config.xml file I have: <config> ... <adminhtml> <layout> ...