<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.6" method="upgrade">
	<name>SP Page Builder</name>
	<author>JoomShaper</author>
	<creationDate>Sep 2014</creationDate>
	<authorEmail>support@joomshaper.com</authorEmail>
	<authorUrl>http://www.joomshaper.com</authorUrl>
	<copyright>Copyright @ 2010 - 2017 JoomShaper. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later</license>
	<version>3.1.3</version>
	<scriptfile>installer.script.php</scriptfile>

	<updateservers>
		<server type="extension" priority="1" name="SP Page Builder">https://www.joomshaper.com/updates/com-sp-page-builder-pro.xml</server>
	</updateservers>

	<install>
		<sql>
			<file driver="mysql" charset="utf8">sql/install/mysql/install.mysql.utf8.sql</file>
			<file driver="mysql">sql/install/mysql/install.mysql.utf8.sql</file>

			<file driver="mysqli" charset="utf8">sql/install/mysql/install.mysql.utf8.sql</file>
			<file driver="mysqli">sql/install/mysql/install.mysql.utf8.sql</file>
		</sql>
	</install>

	<update>
		<schemas>
			<schemapath type="mysql">sql/updates/mysql</schemapath>
			<schemapath type="mysqli">sql/updates/mysql</schemapath>
		</schemas>
	</update>

	<files folder="site">
		<filename>sppagebuilder.php</filename>
		<filename>router.php</filename>
		<filename>controller.php</filename>
		<folder>addons</folder>
		<folder>assets</folder>
		<folder>helpers</folder>
		<folder>models</folder>
		<folder>controllers</folder>
		<folder>parser</folder>
		<folder>views</folder>
		<folder>layouts</folder>
	</files>

	<languages folder="language/site">
		<language tag="en-GB">en-GB/en-GB.com_sppagebuilder.ini</language>
	</languages>

	<plugins>
        <plugin name="sppagebuilder" group="system" />
        <plugin name="sppagebuilderproupdater" group="system" />
        <plugin name="sppagebuilder" group="search" />
		<plugin name="sppagebuilder" group="finder" />
    </plugins>

    <modules>
		<module module="mod_sppagebuilder" client="site" />
	</modules>

	<administration>
		<menu>COM_SPPAGEBUILDER</menu>

		<files folder="admin">
			<filename>access.xml</filename>
			<filename>config.xml</filename>
			<filename>sppagebuilder.php</filename>
			<filename>controller.php</filename>
			<folder>assets</folder>
			<folder>builder</folder>
			<folder>controllers</folder>
			<folder>models</folder>
			<folder>helpers</folder>
			<folder>sql</folder>
			<folder>tables</folder>
			<folder>views</folder>
			<folder>layouts</folder>
		</files>

		<languages folder="language/admin">
			<language tag="en-GB">en-GB/en-GB.com_sppagebuilder.ini</language>
			<language tag="en-GB">en-GB/en-GB.com_sppagebuilder.sys.ini</language>
			<language tag="en-GB">en-GB/en-GB.mod_sppagebuilder_icons.sys.ini</language>
			<language tag="en-GB">en-GB/en-GB.mod_sppagebuilder_admin_menu.ini</language>
			<language tag="en-GB">en-GB/en-GB.mod_sppagebuilder_admin_menu.sys.ini</language>
			<language tag="en-GB">en-GB/en-GB.mod_sppagebuilder_icons.ini</language>
		</languages>

	</administration>

	<modules>
		<module module="mod_sppagebuilder_icons" client="administrator" position="cpanel" />
		<module module="mod_sppagebuilder_admin_menu" client="administrator" position="menu" ordering="1" />
	</modules>

</extension>
