Include sql installer magento module config

This tutorial show how to include sql installer magento module config file. This config file is the part of module that save contact form data to database on form submissions. Click here for the sql install script that creates custom tables as part magento extensions.

Please refer the tutorial which explains how to create magento module which save contact form data to database on form submissions.

<?xml version="1.0"?>
<config>
    <modules>
        <Save_Contactform>
            <version>0.1.0</version>
        </Save_Contactform>
    </modules>
    <global>
        <resources>
            <save_contactform_setup>
                <setup>
                    <module>Save_Contactform</module>
                </setup>
            </save_contactform_setup>
            <save_contactform_read>
                <connection>
                    <use>core_read</use>
                </connection>
            </save_contactform_read>
            <save_contactform_write>
                <connection>
                    <use>core_write</use>
                </connection>
            </save_contactform_write>
        </resources>
    </global>

</config>

Share this Tutorial