Creating the installation XML file
The first file we need to create is the installation XML file (also known as the XML Manifest) which tells Joomla! all about this plugin when you install it through an extension manager. This XML file describes all the files and folders used by this plugin, and what parameters the plugin has. The naming standard of the installation XML file is
extensionname.xml, in our case it will be
clicktocall.xml as we drop the
Create a folder called
In this folder, create a file called
clicktocall.xml and insert the following code:
<?xml version="1.0" encoding="UTF-8"?> <extension version="3.0" type="plugin" group="content" method="upgrade"> <name>Content - Click To Call</name> ...