All Questions
20 questions
14
votes
3
answers
2k
views
Magento 1: improving my module development workflow (Modman, composer, git)
This is something I've had in mind for quite some time but I can't find the right method to do it.
So basically, I'm working with 6 different websites, all running Magento CE 1.9.2+
On those ...
3
votes
3
answers
68
views
Understanding the "module" (or extension)
I've been able to study 5 Magento shops in the last weeks. And I've noticed a mess in module management.
I've seen 2 places where the modules/extensions appear:
MagentoConnect page: where you can ...
2
votes
0
answers
29
views
Magento 1: how to configure the first configuration which will be opened? [duplicate]
I noticed this behavior several times on several websites I've worked on.
When clicking System > Configuration the first configuration section that opens is not the first one of the list of tabs.
I'...
3
votes
1
answer
212
views
Magento 1: how to make an extension EE compatible?
So here's the thing I never had the chance to get my hands on a Magento EE.
That said I still would like to make my extensions EE compatible.
Let's say we're dealing here with a normal CRUD module.
...
1
vote
1
answer
57
views
Magento 1: guide to pixel tracking module development
I was wondering if someone could write a generic guide to develop a pixel tracking module.
7
votes
1
answer
221
views
Good practice regarding core tables relations with modules tables
This a question regarding Magento development, it can apply for both M1 and M2.
For the last weeks, I've been working on several modules that are directly related to native Magento entities/database ...
14
votes
4
answers
3k
views
When to dispatch events in a custom module?
This is a question regarding both Magento 1 and Magento 2.
I understand that, as a good practice, 3rd party modules developers are encouraged to dispatch events in their custom module to make it ...
2
votes
4
answers
744
views
ACL working but checkboxes not selected in role edit form
I have coded a module with 3 features (and 3 menupoints). Then i copied the menu-section and edited it so it is useable as ACL resource.
It looks like this (adminhtml.xml):
<config>
<...
1
vote
4
answers
486
views
Can't override Mage_Review_Block_Product_View class
I'm trying to extend Mage_Review_Block_Product_View but my new class is not called... I think it could be a typo, but I can't find it.
It is not a issue related to the code inside my class, but to ...
1
vote
2
answers
108
views
module still works and making troubles after disabling it
I have disabled the module Inchoo_Notes in the app/etc/modules:
<?xml version="1.0"?>
<config>
<modules>
<Inchoo_Notes>
<active>false</active&...
2
votes
1
answer
92
views
Extending another modules form fields using addfield but values will not saving
I am using the block rewrite below to add two fields to module Amasty_Shopby.
<?php
class Etre_Amshopby_Block_Rewrite_Shopby_Adminhtml_Filter_Edit_Tab_General extends ...
2
votes
3
answers
276
views
Unable to display "Hello World" from custom module
I am following the book: Getting Started with Magento Extension Development. And I'm unable to make my extension echoing "Hello World".
I believed there are 3 area I need to take care:
active the ...
1
vote
2
answers
6k
views
Create a custom category attribute and add it to the menu
I want to add a custom attribute to categories in menu.
If, in Mage_Catalog_Block_Navigation.php in function _renderCategoryMenuItemHtml I transform
$html[] = '<span>'.$this->escapeHtml($...
1
vote
2
answers
713
views
How to determine if custom extension has frontend page/controller
I'm working with a custom extension that was developed for our site by our previous developer some time ago. The extension was fully built out and met the company's needs at the time however there is ...
1
vote
1
answer
656
views
How to override Magento model in a subdirectory?
I'm trying to override a function in Mage_CatalogRule_Model_Rule but I can't get it to work.
config.xml
<config>
<global>
<models>
<rule>
...
148
votes
5
answers
12k
views
How to write a custom extension?
Because I had a lot of issues lately with free and commercial extension I've decided to ask this question and answer it with the steps I usually follow when writing an extension. Feel free to edit the ...
2
votes
3
answers
3k
views
Programmatically installing a module
I need to install modules so that the database changes happen. I can't just let it be an install on logging to admin type of approach as I have a bash script that I am using to provision my test ...
1
vote
1
answer
1k
views
totals sort of custom added row in my account order view
I have problem with sort custom added row in totals.
I successfully sort new row in cart and checkout page with this in my moduele config.xml
<default>
<sales>
&...
2
votes
1
answer
43
views
only absolute definition (instead of relative) of path to Models in custom module is working for me. Why?
I know that definition of path to Models and other stuff in Magento config.xml must be in absolute way. But in my case that didn't worked. Magento did not found my models. When I change definition in ...
16
votes
2
answers
9k
views
How should I licence my module?
I have a module which I have written for my company. It takes data from our back office solution and imports it into Magento. It also takes orders from Magento and imports them into the back office ...