3

I have some extensions installed and developed in my Magento store. I see their settings in /app/etc/modules files, but i would like to export one of them so i could implement it on other website. Is it possible to export module/extension from Magento?

1 Answer 1

2

To copy a module from on server to another all you need to do is copy over the files, see Magento - Wiki - Magento folder structure for location of the files

There are "no real" module custom setting in app/etc/modules/Example_Module.xml, this mainly enable, disable and set the code pool for your module. See Magento - Wiki - Customize Parts Of Magento Configuration

Your module custom config (if any) are normally define in system.xml in your module etc folder, which is accessible from magento admin -> system -> config -> your module tab. This data is store in core_config_data table in your database.

8
  • Thank you! It seems like the problem solved - i've successfully transfered module from one website to another. But, in my case i run into the problem: Parse error: syntax error, unexpected '[' in /app/code/local/Modules/ModuleName/sql/Setup/upgrade-0.2.11-0.2.12.php on line 32 Seems like it's PHP fault, will investigate further. If you have any ideas on that, would be glad to hear!
    – Damir
    Commented Feb 18, 2015 at 16:29
  • Without seeing the content of upgrade-0.2.11-0.2.12.php then it hard to say why your getting that error Commented Feb 18, 2015 at 16:38
  • Sure, could we discuss it in private? Wouldn't like to share the internals, not sure how secure it is
    – Damir
    Commented Feb 18, 2015 at 16:59
  • just add line 30-35 Commented Feb 18, 2015 at 17:00
  • $installer = $this; $installer->startSetup(); try { $installer->addAttribute(Mage_Catalog_Model_Product::ENTITY, 'pickup', [ 'group' => 'General', 'type' => 'int', 'label' => 'Pickup',
    – Damir
    Commented Feb 18, 2015 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.