User Rating: 2 / 5

Star ActiveStar ActiveStar InactiveStar InactiveStar Inactive

The minimum code for the xml file is the tag <extension> with the attributes type="module" version="3.0" cllient="site" method="upgrade"> and within the extension tag is the tags <name> <description> <files> and within the files tag the <filename> tags destined each file in the module. The main php file will have an attribute module = and then the name of the module. Is this case mod_foo.php


Code this in your mod_foo.xml file

<?xml version="1.0" encoding="utf-8"?>
<name>Foo Module</name>
<description>My first module</description>
<filename module="mod_foo">mod_foo.php</filename>





Chapter 4 - Install to Joomla Extension Manager Module Development