<?xml version="1.0" encoding="UTF-8"?>
<config>
	<modules>
		<Flagbit_Faq>
			<active>true</active>
			<codePool>community</codePool>
			<version>1.1.2</version>
		</Flagbit_Faq>
	</modules>
	
	<admin>
        <routers>
            <adminhtml>
                <args>
                    <modules>
                        <Flagbit_Faq before="Mage_Adminhtml">Flagbit_Faq_Adminhtml</Flagbit_Faq>
                    </modules>
                </args>
            </adminhtml>
        </routers>
	</admin>

	<frontend>
		<routers>
			<faq>
				<use>standard</use>
				<args>
					<module>Flagbit_Faq</module>
					<frontName>faq</frontName>
				</args>
			</faq>
		</routers>
		<translate>
			<modules>
				<Flagbit_Faq>
					<files>
						<default>Flagbit_Faq.csv</default>
					</files>
				</Flagbit_Faq>
			</modules>
		</translate>
		<layout>
			<updates>
				<faq>
					<file>faq.xml</file>
				</faq>
			</updates>
		</layout>
	</frontend>
	
	<global>
		<helpers>
			<flagbit_faq>
				<class>Flagbit_Faq_Helper</class>
			</flagbit_faq>
		</helpers>
		
		<blocks>
			<flagbit_faq>
				<class>Flagbit_Faq_Block</class>
			</flagbit_faq>
		</blocks>
		
		<models>
			<flagbit_faq>
				<class>Flagbit_Faq_Model</class>
				<resourceModel>flagbit_faq_mysql4</resourceModel>
			</flagbit_faq>
			<flagbit_faq_mysql4>
				<class>Flagbit_Faq_Model_Mysql4</class>
				<entities>
					<category>
						<table>faq_category</table>
					</category>
					<category_item>
						<table>faq_category_item</table>
					</category_item>
                    <category_store>
                        <table>faq_category_store</table>
                    </category_store>
					<faq>
						<table>faq</table>
					</faq>
					<faq_store>
						<table>faq_store</table>
					</faq_store>
				</entities>
			</flagbit_faq_mysql4>
		</models>
		
		<resources>
			<faq_setup>
				<setup>
					<module>Flagbit_Faq</module>
				</setup>
				<connection>
					<use>core_setup</use>
				</connection>
			</faq_setup>
			<faq_write>
				<connection>
					<use>core_write</use>
				</connection>
			</faq_write>
			<faq_read>
				<connection>
					<use>core_read</use>
				</connection>
			</faq_read>
		</resources>
	</global>

	<adminhtml>
		<translate>
			<modules>
				<Flagbit_Faq>
					<files>
						<default>Flagbit_Faq.csv</default>
					</files>
				</Flagbit_Faq>
			</modules>
		</translate>
	</adminhtml>
	<install>
		<translate>
			<modules>
				<Flagbit_Faq>
					<files>
						<default>Flagbit_Faq.csv</default>
					</files>
				</Flagbit_Faq>
			</modules>
		</translate>
	</install>
</config>
