Creating a manifest file
To install an extension, Joomla! follows the directions in the manifest file of the component. The manifest file is an xml
file with basic information about your extension. In this file, we must specify the final destination of each file. Also, it must have the same name as your component alias. So, in our case, as our component is com_spm
, the manifest file will be spm.xml
.
Locally, we need to place the manifest file inside the main folder of our component.
So, we will start to write our manifest file like this:
<?xml version="1.0" encoding="utf-8"?> <extension type="component" method="upgrade"> <name>COM_SPM</name> <author><![CDATA[Carlos Cámara]]></author> <authorEmail>[email protected]</authorEmail> <authorUrl>https://extensions.hepta.es</authorUrl...