Skip to main content
improved formatting
Source Link
Qaisar Satti
  • 32.5k
  • 18
  • 87
  • 137
.**
xmlxml**
var**var
cachecache**
.
xml
var
cache
**
xml**
**var
cache**
added 279 characters in body
Source Link
GigiSan
  • 143
  • 8
**EDIT 3**After changing the module declaration in./app/etc/modules/Atest_Module.xml to Capitalized, the module works immediately. So at the end, apart from the upper/lower case mishap, I think deleting var/cache made the module appear immediately.**END OF EDIT 3**
**EDIT 3**After changing the module declaration in./app/etc/modules/Atest_Module.xml to Capitalized, the module works immediately. So at the end, apart from the upper/lower case mishap, I think deleting var/cache made the module appear immediately.**END OF EDIT 3**
added new module
Source Link
GigiSan
  • 143
  • 8

Module tree [![Module tree][1]][1]

result no echo [![result no echo][2]][2]

enter image description here [![enter image description here][3]][3]

EDIT 2

I created a new module, Atest_Module:

[![enter image description here][4]][4]

./app/etc/modules/Atest_Module.xml

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <atest_module>
            <active>true</active>
            <codePool>local</codePool>
        </atest_module>
    </modules>
</config>

./app/code/local/Atest/Module/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- app/code/local/Atest/Module/etc/config.xml -->
<config>
    
    <global>
        <blocks>
            <atest_module>
                <class>Atest_Module_Block</class>
            </atest_module>
        </blocks>
        <helpers>
            <atest_module>
                <class>Atest_Module_Helper</class>
            </atest_module>
        </helpers>
        <models>
            <atest_module>
                <class>Atest_Module_Model</class>
            </atest_module>
        </models>
    </global>
    
    <frontend>
        <routers>
            <atest_module>
                <use>standard</use>
                <args>
                    <module>Atest_Module</module>
                    <frontName>atest</frontName>
                </args>
            </atest_module>
        </routers>
    </frontend>
    
</config>

./app/code/local/Atest/Module/controllers/IndexController.php

./app/code/local/Atest/Module/Model/Roba.phpNow the controller isn't even hit. I bet if I try in an hour it will work..?[![enter image description here][5]][5]**END OF EDIT 2**[1]: https://i.sstatic.net/sK3YN.png[2]: https://i.sstatic.net/OLPsW.png[3]: https://i.sstatic.net/uUlB6.png[4]: https://i.sstatic.net/Bd7ip.png[5]: https://i.sstatic.net/km9Gf.png

Module tree

result no echo

enter image description here

[![Module tree][1]][1]

[![result no echo][2]][2]

[![enter image description here][3]][3]

EDIT 2

I created a new module, Atest_Module:

[![enter image description here][4]][4]

./app/etc/modules/Atest_Module.xml

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <atest_module>
            <active>true</active>
            <codePool>local</codePool>
        </atest_module>
    </modules>
</config>

./app/code/local/Atest/Module/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- app/code/local/Atest/Module/etc/config.xml -->
<config>
    
    <global>
        <blocks>
            <atest_module>
                <class>Atest_Module_Block</class>
            </atest_module>
        </blocks>
        <helpers>
            <atest_module>
                <class>Atest_Module_Helper</class>
            </atest_module>
        </helpers>
        <models>
            <atest_module>
                <class>Atest_Module_Model</class>
            </atest_module>
        </models>
    </global>
    
    <frontend>
        <routers>
            <atest_module>
                <use>standard</use>
                <args>
                    <module>Atest_Module</module>
                    <frontName>atest</frontName>
                </args>
            </atest_module>
        </routers>
    </frontend>
    
</config>

./app/code/local/Atest/Module/controllers/IndexController.php

./app/code/local/Atest/Module/Model/Roba.phpNow the controller isn't even hit. I bet if I try in an hour it will work..?[![enter image description here][5]][5]**END OF EDIT 2**[1]: https://i.sstatic.net/sK3YN.png[2]: https://i.sstatic.net/OLPsW.png[3]: https://i.sstatic.net/uUlB6.png[4]: https://i.sstatic.net/Bd7ip.png[5]: https://i.sstatic.net/km9Gf.png
retagged to include cache
Link
GigiSan
  • 143
  • 8
Loading
Edited question after the result has changed
Source Link
GigiSan
  • 143
  • 8
Loading
Source Link
GigiSan
  • 143
  • 8
Loading