Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
IÂ´m building a couple of payment modules for Magento. Doing this IÂ´m running some test and alter the config values the user can set in the admin section for various reasons… Till now I have reinstalled Magento every time to test get my new configfields in the admin section…
How can I delete a module and install it again? It only works once for me :(
I have tried deleteing the values Magento saves in the sql-tables core_config_data and core_config_field, the module disappears correctly but it doesnÂ´t seem to install the module again… Is there some other information saved in the database for this I can erase or what can I do?
Try removing your_setup from the core_resource table.
You could also use upgrade files and add/remove/alter your configs whenever you change version of your module. Take a look at for example Mage/Core/sql/Setup/*. Notice how the mysql-upgrade-x.x.x-x.x.x.php matches the version tag i Mage/Core/etc/config.xml.