This is an example on how to the configure the very basics of a Magento extension.
- version: 0.0.1
- extension key: Emzee_ExampleExtension
- extension on GitHub
This is an example on how to the configure the very basics of a Magento extension (extension initialisation, blocks, controllers, event observers, helpers, installation/upgrade scripts, models, translations).
Please understand that the goal of this extension is not to show advanced usages (rewrites of blocks/controllers/helpers/models, backend modifications, resource models, ...) or to demonstrate solutions for specific problems.
How to use
You can use this as a starting point or learning resource for your own extension.
Please replace these placeholders with your own information everywhere:
"Emzee": this is the vendor name. Use something like your personal, organisation or company name. This could be the namespace for all of your extensions.
"ExampleExtension": this is the extension name. Use a name that clearly states what your extension does.
Use only the parts of the configuration and the files that you really need. I.e. if you don't need a controller in your extension, then don't configure a controller and don't add a controller file.
- Magento >= 1.7 (should also work on older versions, not tested)
- If you want to include this extension in a Magento installation for testing, you
can either copy the
appdirectory to your Magento installation or you use the excellent tool modman by Colin Mollenhour.
- Remove all extension files from your Magento installation
If you have any issues with this extension, open an issue on GitHub.
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
(c) 2012 Matthias Zeis